| 1 |
libcatalyst-action-rest-perl (1.12-1) unstable; urgency=low |
| 2 |
|
| 3 |
From upstream Changes: |
| 4 |
|
| 5 |
WARNING BACK COMPAT BREAKAGE FOLLOWS |
| 6 |
|
| 7 |
Removed The YAML and HTML parser from the distro. You |
| 8 |
should install these if you actually use them. They are listed as |
| 9 |
optional dependencies going forward. [0] |
| 10 |
|
| 11 |
This is possibly a breaking change, but necessary for security and |
| 12 |
considered acceptable since those formats have not generally |
| 13 |
become preferred for web services. |
| 14 |
|
| 15 |
In addition, the default de/serialization mappings for HTML and YAML |
| 16 |
have been removed. You can add that back by adding the following to |
| 17 |
you Configuration for the subclass of Catalyst::Controller::REST - |
| 18 |
|
| 19 |
package Foo::Controller::Bar; |
| 20 |
|
| 21 |
use Moose; |
| 22 |
use namespace::autoclean; |
| 23 |
|
| 24 |
BEGIN { extends 'Catalyst::Controller::REST' } |
| 25 |
__PACKAGE__->config( |
| 26 |
'map' => { |
| 27 |
'text/html' => 'YAML::HTML', |
| 28 |
'text/x-yaml' => 'YAML', |
| 29 |
}, |
| 30 |
); |
| 31 |
|
| 32 |
You should do this if you are using these de/serialization formats. |
| 33 |
|
| 34 |
--- |
| 35 |
|
| 36 |
[0] Translated into Debian terms: |
| 37 |
libhtml-parser-perl and libyaml-syck-perl are now in Recommends. |
| 38 |
|
| 39 |
-- gregor herrmann <[email protected]> Tue, 17 Sep 2013 19:49:03 +0200 |
| 40 |
|
| 41 |
libcatalyst-action-rest-perl (1.11-1) unstable; urgency=low |
| 42 |
|
| 43 |
From upstream Changes: |
| 44 |
|
| 45 |
Factor Data::Serializable into it's own dist to stop breakages. |
| 46 |
|
| 47 |
If you use any of: |
| 48 |
|
| 49 |
* Data::Dumper |
| 50 |
* Data::Denter |
| 51 |
* Data::Taxi |
| 52 |
* Config::General |
| 53 |
* PHP::Serialization |
| 54 |
|
| 55 |
You'll need to install Catalyst-Action-Serialize-Data-Serializer and add the |
| 56 |
appropriate lines to your controller config. Said lines may be: |
| 57 |
|
| 58 |
'text/x-data-dumper' => [ 'Data::Serializer', 'Data::Dumper' ], |
| 59 |
'text/x-data-denter' => [ 'Data::Serializer', 'Data::Denter' ], |
| 60 |
'text/x-data-taxi' => [ 'Data::Serializer', 'Data::Taxi' ], |
| 61 |
'text/x-config-general' => [ 'Data::Serializer', 'Config::General' ], |
| 62 |
'text/x-php-serialization' => [ 'Data::Serializer', 'PHP::Serialization' ], |
| 63 |
|
| 64 |
Catalyst::Action::Serialize::Data::Serializer is packaged as |
| 65 |
libcatalyst-action-serialize-data-serializer-perl. |
| 66 |
|
| 67 |
-- gregor herrmann <[email protected]> Sun, 16 Jun 2013 19:28:32 +0200 |