pkgsrc changes:
- adjusting dependencies
Upstream changes:
0.49 11 April 2010
* uri_for_view_on_single_result() will return uri for 'view' action,
regardless of value of can_write().
0.50 13 May 2010
* fix make_primary_key_string() to get rid of bad sprintf() call
0.51 19 May 2010
* added use_request_uri_for_path to test MyApp to fix
test failures with Catalyst::Runtime 5.80024
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
pkgsrc changes:
- Adjust dependencies
Upstream changes:
0.48 29 Jan 2009
* fix bug with create() introduced in 0.47.
* remove explicit dep on Class::C3 per RT54097
0.47 15 Jan 2009
* fix tutorial per RT#53396
* fix bug in base Controller->fetch() where multiple PKs where one value is null were slipping
through. Reported by Adam Mackler.
0.46 20 Nov 2009
* tweek Model::File _find to avoid multiple loops over the same list of root dirs.
* tweek Model::File->search to read() each object like fetch() does.
* add dep on Sort::SQL 0.07 to avoid sql injection (RT#51777)
- Updating package of p5 module CatalystX::CRUD from 0.43 to 0.45 as
dependency of scheduled update of CatalystX::CRUD::Model::RDBO
- Adjusting license to ${PERL5_LICENSE} according to module documentation
- Adjusting dependencies according to META.yaml
Upstream changes:
0.45 13 June 2009
* fix multi-column sort via cxc-order param (requires Sort::SQL 0.04)
0.44 23 May 2009
* check for symlink() support in Model::File at compile time and return from rm_related()
if not supported. Fixes spurious test breakage on Win32.
See https://rt.cpan.org/Ticket/Display.html?id=46314
- Updating package for p5 module CatalystX::CRUD from 0.39 to 0.43
- Setting license to gnu-gpl-v2
- Adjusting dependencies
Upstream changes:
0.40 16 April 2009
* change base Controller to call can_read() rather than can_write() in edit().
This is because the call to edit() does not actually write anything; it's just a GET
for a form.
0.41 21 April 2009
* remove Catalyst::Component::ACCEPT_CONTEXT as a dependency since it has not been
updated for Catalyst 5.8.
0.42 27 April 2009
* revert ACCEPT_CONTEXT changes; fixes pushed to new C::C::A_C on CPAN, and added no warnings
using Class::C3::Adopt::NEXT (thanks to t0m)
* change from 'use Class::C3' to 'use mro "c3"' with new dep on MRO::Compat
* added some debugging in tests
0.43 29 April 2009
* rid of ourselves of Class::Data::Inheritable because it clashes with Catalyst::Runtime 5.8.
Notably, it caused a strange bug in Rose::DBx::Garden::Catalyst where the MyApp->config
class hashref would get nuked after a call to Class::C3::initialize(). Yes. That fsked up.
Upstream changes:
0.39 14 Jan 2009
* add missing file to MANIFEST that causes tests to fail in 0.38
0.38 12 Jan 2009
* use maybe::next::method
* fix view_on_single_result bug in Test::Controller
Pkgsrc changes:
- register all dependencies
- add new dependency on devel/p5-Class-Data-Inheritable
Upstream changes:
0.32 21 Oct 2008
* use Class::Data::Inheritable to define delegate_class()
class accessor in base Model
0.33 22 Nov 2008
* fix Tutorial wrt RT#40846
0.34 24 Nov 2008
* fix make_primary_key_string to return undef if multi-col
PK has no values
0.35 24 Nov 2008
* call edit() after initializing object and form with passed
in params, so that the init_form() method can have all data
already set.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Pkgsrc changes:
o Add dependency on newly added p5-Search-QueryParser-SQL
Upstream changes:
0.31 16 Sept 2008
* add missing req to Makefile.PL
* force field_names to be an ARRAY ref in Utils make_sql_query()
0.30 11 Sept 2008
* fix uninit value warning in Controller
* change REST create() : Local to _rest_create() :
Path('create') to make it easier for create_form() to
call create() in superclass.
* clean up old style $self->config->{value} to instead use
$self->value in Controller
* add app_class() and model_meta() accessors to ModelAdapter
* in base Controller, rename view_on_single_result() method
to uri_for_view_on_single_result and make accessor for
the config value 'view_on_single_result'
* change all reserved param names in Model::Utils to use
'cxc-' prefix instead of '_'. Backwards compat is preserved
where possible.
* Model::Utils make_query() will uc() sort direction
* change behaviour of get_primary_key() in base Controller
to not look in req->params for pk values.
This allows for changing the PK as part of an update.
* add new() in REST to call next::method. Works around
(some) multiple inheritance issues.
* check for $c->res->location before redirecting in postcommit()
* Model::Utils was refactored to use Search::QueryParser::SQL.
The following methods were affected:
* sql_query_as_string() -- removed
* params_to_sql_query() -- now returns hashref with 3 items:
- query isa Search::QueryParser::SQL::Query object
- query_hash (formerly query) is a simple param-name =>
[values] hashref
- sql is the output of S::QP::S::Query->rdbo
* make_sql_query() -- returned hash ref now has query_hash
as plain_query value and the stringify'd Query object
as plain_query_str
Pkgsrc changes:
o Sort dependencies according to list in upstream package
o Add overlooked dependency on p5-Class-Accessor
Upstream changes:
0.29 23 Aug 2008
* fix typos in the Tutorial
* add relationship methods to Controller, ModelAdapter and
Model core API.
* added sugary alias methods for read(), update() and
delete() to match CRUD.
* refactored REST controller to support related methods
and provide better HTTP status checks and responses.
0.28 11 Aug 2008
* API for ModelAdapter changed to pass controller instance in do_model()
* add get_primary_key() and make_primary_key_string()
methods to base Controller.
This allows for PKs composed of multiple columns.
CatalystX::CRUD provides a simple and generic API for Catalyst CRUD
applications. CatalystX::CRUD is agnostic with regard to data model
and data input, instead providing a common API that different
projects can implement for greater compatability with one another.
The project was born out of a desire to make Rose::HTML::Objects
easy to use with Rose::DB::Object and DBIx::Class ORMs, using the
Catalyst::Controller::Rose project. However, any ORM could implement
the CatalystX::CRUD::Model API, and any form management project
could use the resulting CatalystX::CRUD::Model subclass.