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