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