The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 2.001001 - 2010-02-06

  • THIS RELEASE GUARANTEES TO BREAK BACKWARDS COMPATIBILITY **
  • Merge create and update into update_or_create
  • object is much advanced now:
    • Identifier can be omitted, and data_root in the request is interpreted
  • Because of the above one object or several is now possible for update or create
  • Create and Update object validation now happens iteratively
  • Creates and Updates can be mixed inside a single bulk request
  • All modifying actions on the database occur within an all-or-nothing transaction
  • Much of the DBIC search parameter munging is properly moved to the RequestArguments Role in the form of a trigger on 'search' to populate 'search_parameters' and 'search_attributes' which correspond directly to ->search($parameters, $attributes);
  • Error handling is now much more consistent, using Try::Tiny everywhere possible
  • Tests are now modernized and use JSON::Any
  • Extending is now explicitly done via Moose method modifiers
  • The only portion of the stash in use is to allow runtime definition of create/update_allows
  • list is now broken down into several steps:
    • list_munge_parameters
    • list_perform_search
    • list_format_output
    • row_format_output (which is just a passthrough per row)
  • Search can now take an array of hashrefs to give the ability to use the default 'OR'
  • By default search_parameters is an ArrayRef[HashRef] which is pertinent to list_munge_parameters
  • More thorough documentation of the various bits and pieces.
    • Documentation now uses Pod::Weaver and Plugin::PodWeaver (weaver.ini added)
  • The distribution is now managed by Dist::Zilla
  • And some more likely forgotten.

Modules

Provides a DBIx::Class web service automagically
Provides a helper class to automatically keep track of joins in complex searches
Provides a REST interface to DBIx::Class
Provides an RPC interface to DBIx::Class
Provides a role to be applied to the Request object
Provides additional context to the Request
Provides Request argument validation
Provides controller level configuration arguments
Provides acessors for static resources
Provides shortcut types and coercions for DBIC::API
Provides validation services for inbound requests against whitelisted parameters

Provides

in lib/Catalyst/Controller/DBIC/API/Validator.pm