diff options
Diffstat (limited to 'doc/CHANGES.md')
-rw-r--r-- | doc/CHANGES.md | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 237355c1d..7a93f9cb0 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -1,3 +1,18 @@ +# rails-3-develop + +## Highlighted Features + +## Upgrade Notes + +* `CensorRule` now validates the presence of all attributes at the model layer, + rather than only as a database constraint. If you have added a `CensorRule` in + your theme, you will now have to satisfy the additional validations on the + `:replacement`, `:last_edit_comment` and `:last_edit_editor` attributes. +* Public body categories will now be stored in the database rather than being read directly from the `lib/public_body_categories_LOCALE` files. Once you have upgraded, run `script/migrate-public-body-categories`to import the contents of the files into the database. All further changes will then need to be made via the administrative interface. You can then remove any `pubic_body_categories_[locale].rb` files from your theme. If your theme has any calls to `PublicBodyCategories` methods outside these files, you should update them to call the corresponding method on `PublicBodyCategory` instead. +* `CensorRule#require_user_request_or_public_body`, `CensorRule#make_regexp` and + `CensorRule#require_valid_regexp` have become private methods. If you override + them in your theme, ensure they are preceded by the `private` keyword. + # Version 0.19 ## Highlighted Features @@ -58,11 +73,11 @@ candidate: * Install `lockfile-progs` so that the `run-with-lockfile` shell script can be used instead of the C program -* Use responsive stylesheets in `config/general.yml`: +* Use responsive stylesheets in `config/general.yml`: `RESPONSIVE_STYLING: true`. If you don't currently use responsive styling, and you don't want to get switched over just set `RESPONSIVE_STYLING: false` and the fixed-width stylesheets will be used as before. -* Allow access to public body stats page if desired in `config/general/yml`: +* Allow access to public body stats page if desired in `config/general/yml`: `PUBLIC_BODY_STATISTICS_PAGE: true` * Run migrations to define track_things constraint correctly (Robin Houston) and add additional index for `event_type` on `info_request_events` (Steven Day) |