Skip to content

v3.4.0

Compare
Choose a tag to compare
@tvdeyen tvdeyen released this 04 Aug 15:02

Alchemy 3.4

New Features

  • MessagesMailer (formerly known as Messages) now inherits from ApplicationMailer
    when it is defined.
  • Adds time based published pages: The public status of a page is now made of two time stamps:
    public_on and public_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 to acts_as_taggable.
  • Automatically add scope filters to admin module views, when the resource model
    has the class method alchemy_resource_filters defined.

Notable Changes

  • Messages mailer class has been renamed to MessagesMailer
  • 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 with Alchemy::ControllerActions to prevent method clashes. If you
    need access to current_ability you also need to include Alchemy::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 for Language.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:

  1. bundle update alchemy_cms
  2. bin/rake alchemy:upgrade
  3. Follow the instructions