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