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