diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-11 02:13:09 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-11 02:52:07 -0800 |
commit | 0b86a6e950ed78822470793deddbec41c6d105f5 (patch) | |
tree | 6a2d629fae7e10e8f4dccb72807460a46156c8f5 /actionpack | |
parent | ecf04f19b0754de8a2937acd9b03e42e94a570aa (diff) | |
download | rails-0b86a6e950ed78822470793deddbec41c6d105f5.tar.gz rails-0b86a6e950ed78822470793deddbec41c6d105f5.tar.bz2 rails-0b86a6e950ed78822470793deddbec41c6d105f5.zip |
Updated CHANGELOG, docs, guides and release notes.
Also added a `cookies_serializer.rb` initializer to the app template.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index d3177df1c3..342f670e78 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,17 @@ +* Add new config option `config.action_dispatch.cookies_serializer` for + specifying a serializer for the signed and encrypted cookie jars. + + The possible values are: + + * `:json` - serialize cookie values with `JSON` + * `:marshal` - serialize cookie values with `Marshal` + * `:hybrid` - transparently migrate existing `Marshal` cookie values to `JSON` + + For new apps `:json` option is added by default and `:marshal` is used + when no option is specified to maintain backwards compatibility. + + *Łukasz Sarnacki*, *Matt Aimonetti*, *Guillermo Iguaran*, *Godfrey Chan*, *Rafael Mendonça França* + * `FlashHash` now behaves like a `HashWithIndifferentAccess`. *Guillermo Iguaran* @@ -20,21 +34,6 @@ *Josh Jordan* -* Add `:serializer` option for `config.session_store :cookie_store`. This - changes default serializer when using `:cookie_store`. - - It is possible to pass: - - * `:json` which is a secure wrapper on JSON using `JSON.parse` and - `JSON.generate` methods with quirks mode; - * `:marshal` which is a wrapper on Marshal; - * serializer class with `load` and `dump` methods defined. - - For new apps `:json` option is added by default and :marshal is used - when no option is specified. - - *Łukasz Sarnacki*, *Matt Aimonetti* - * Ensure that `request.filtered_parameters` is reset between calls to `process` in `ActionController::TestCase`. |