- Rails 7 compatibility fixes
- BREAKING CHANGE: Cadmus no longer mixes anything into
ActiveRecord::Base
when required; instead, models must explicitly include the mixins they need - Layouts
- Partials
- Major internal refactors
- Expose a
{% page_url %}
tag, which outputs the URL to a page (for easier inter-page linking) - Expose a Liquid register called
parent
from controllers that mix inCadmus::ControllerExtensions
, which contains the page parent (if present) - Extract a mixin module called
Cadmus::Concerns::LiquidTemplateField
, which makes it easier to add Liquid templates to models
- Make it possible to make
liquid_assigns
,liquid_filters
andliquid_registers
private or protected methods in controllers and other Renderables.
- Rails 5 compatibility fixes
- Support the sanitizer changes in Rails 4.2
- First release that requires Rails 4.0
- Strong parameters compatibility by default
- Add license info to gemspec
- Bugfix: don't try to use the parameters in the new action. This prevents us from raising errors unnecessarily for required params in Rails 4.
- Changes for Rails 4 compatibility: ** Allow PUT or PATCH for the update action ** Implement a page_params protected method in page controllers, which you can override to get strong_parameters support
- Change all the other uses of ^ and $ in regexes to \A and \z
- Change scope to use a lambda for Rails 4 compatibility
- Change some uses of ^ and $ in regexes to \A and \z
- Add a cadmus:views generator to make view customization easier
- Make
cadmus_pages
route function work with no arguments