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