858637d378a8db389f0268a9d61e62600d5be0e0
[catagits/Catalyst-Controller-DBIC-API.git] / Changes
1 Revision history for Catalyst-Controller-DBIC-API: {{ $dist->version }}
2
3 {{ $NEXT }}
4
5 - Fixed missing requirement for MooseX::Types::Structured
6
7 2.001001
8 **************************************************************
9 ** THIS RELEASE GUARANTEES TO BREAK BACKWARDS COMPATIBILITY **
10 **************************************************************
11
12 - Merge create and update into update_or_create
13 - object is much advanced now:
14       + Identifier can be omitted, and data_root in the request is interpreted
15 - Because of the above one object or several is now possible for update or create
16 - Create and Update object validation now happens iteratively
17 - Creates and Updates can be mixed inside a single bulk request
18 - All modifying actions on the database occur within an all-or-nothing transaction
19 - Much of the DBIC search parameter munging is properly moved to the RequestArguments 
20     Role in the form of a trigger on 'search' to populate 'search_parameters' and 
21     'search_attributes' which correspond directly to ->search($parameters, $attributes);
22 - Error handling is now much more consistent, using Try::Tiny everywhere possible
23 - Tests are now modernized and use JSON::Any
24 - Extending is now explicitly done via Moose method modifiers
25 - The only portion of the stash in use is to allow runtime definition of create/update_allows
26 - list is now broken down into several steps:
27     + list_munge_parameters
28     + list_perform_search
29     + list_format_output
30     + row_format_output (which is just a passthrough per row)
31 - Search can now take an array of hashrefs to give the ability to use the default 'OR' 
32 - By default search_parameters is an ArrayRef[HashRef] which is pertinent to list_munge_parameters
33 - More thorough documentation of the various bits and pieces.
34     + Documentation now uses Pod::Weaver and Plugin::PodWeaver (weaver.ini added)
35 - The distribution is now managed by Dist::Zilla
36 - And some more likely forgotten.
37
38 1.004002
39 - Implement 'as' as a complement to 'select'
40 - CGI::Expand'ed search parameters are now also JSON decoded + test
41 - Fixed pod for parameters using a json string which shouldn't be surrounded
42   by single quotes
43 - Use next instead of NEXT in RPC
44 - Moved sub object from RPC/REST to Base to DRY
45   This will break your code if you subclass from REST
46   and had relied on the action name 'object'
47 - Check for defined objects before returning them for create/update
48
49 1.004001
50 - Allow for more complex prefetch_allows (multiple keys in hash)
51 - Skip non-existant parameters in deserialization
52 - Fixed whitespace to use spaces instead of tabs
53 - Fixed pod to not use the config attributes from before 1.004
54 - Fixed prefetch_allows check to properly handle nested attrs + test
55
56 1.004000
57 - Moosify
58 - Move validation for *_exposes/*_allows to Data::DPath::Validator
59 - Reorganize internals to use Moose and roles
60 - Allow maximum configuration for what request parameters are named
61 - Properly handle JSON boolean values
62 - Earlier and more consistent validation of configuration and request parameters
63
64 1.003004
65 - Database errors are also handled for searches + tests
66 - Totalcount isn't included in the response if a db error occurs while fetching data
67 - Converted no_plan tests to done_testing (required Test::More 0.88)
68
69 1.003003
70 - Database errors are properly handled + test
71 - Fixed isa redefined warnings
72 - Fixed bug preventing compat with future Catalyst::Action::Deserialize versions
73
74 1.003002
75 - Added totalcount to paged list responses
76 - Fixed some tests weren't run in t/rpc/list.t
77 - Fixed wrong setup_dbic_args_method error message
78
79 1.003001
80 - Minor fix to prevent failing test
81
82 1.003000
83 - Added prefetch support
84 - Refactored to ensure all request params accept JSON, CGI::Expand or standard params
85 - Doc improvements
86
87 1.002000
88 - Better error handing when unable to parse search arg
89 - Added setup_dbic_args_method config option
90 - Added list_search_exposes config option
91 - Removed duplicate tests in t/rpc/list.t and t/rest/list.t
92 - Fixed searches on columns which have a rel with the same name
93   and vice versa
94 - Added search by json
95 - Added pagination support
96
97 1.001000
98 - Added setup_list_method configuration flag (jshirley)
99 - Added support for setting config params in stash
100 - Added list_grouped_by, list_count and list_ordered_by config attributes
101 - Fixed bug with behaviour of list_returns
102
103 1.000002
104 - Fixed lack of deserialization under RPC
105
106 1.000001
107 - Improved docs
108
109 1.000000
110 - Released
111