v3.4.0
Alchemy 3.4
New Features
MessagesMailer
(formerly known asMessages
) now inherits fromApplicationMailer
when it is defined.- Adds time based published pages: The public status of a page is now made of two time stamps:
public_on
andpublic_until
- Send page expiration cache headers
- Adds an +EssencePictureView+ class responsible for rendering the
essence_picture_view
partial - Adds a file type filter to file archive
- Allow setting the type of EssenceText input fields in the elements.yml via
settings[:input_type]
- Adds support for defining custom searchable attributes in resources
- Automatically add tag management to admin module views, when the resource model
has been set toacts_as_taggable
. - Automatically add scope filters to admin module views, when the resource model
has the class methodalchemy_resource_filters
defined.
Notable Changes
Messages
mailer class has been renamed toMessagesMailer
- Removed the auto-magically merge of Ability classes (#1022)
- Replace jQueryUI datepicker with $.datetimepicker
- Thumbnails now render in original file format, but GIFs will always be flattened
- Pictures will be rendered in original file format by default
- Allow SVG files to be rendered as EssencePicture
- When using Alchemy content outside of Alchemy,
current_ability
is no longer
included withAlchemy::ControllerActions
to prevent method clashes. If you
need access tocurrent_ability
you also need to includeAlchemy::AbilityHelper
- Asset manifests are now installed into
vendor/assets
folder in order to provide easy customization
Please don't use alchemy/custom files any more. Instead require your customizations in the manifests. - Removes the default_scope from Language on_site current while ensuring to load languages by code
from current site only. - Removes the
Language.get_default
method alias forLanguage.default
- Move site select into pages and languages module to avoid confusion about curent site (#1067)
- List pages from all sites in currently locked pages tabs and Dashboard widget (#1067)
- The locked value on page is now a timestamp (
locked_at
), so we can order locked pages by (#1070) - Persist user in dummy app
Fixed Bugs
- Generators don't delete directories any more (#850)
- Some elements crashed the backend's JS when being saved (#1091)
A complete list of changes can be seen at v3.3.0...v3.4.0
Upgrading
As always, upgrading Alchemy is as easy as:
bundle update alchemy_cms
bin/rake alchemy:upgrade
- Follow the instructions