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