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