Skip to content

Latest commit

 

History

History
1104 lines (895 loc) · 95.5 KB

CHANGELOG.md

File metadata and controls

1104 lines (895 loc) · 95.5 KB

6.0.0-rc6 (2022-03-05)

6.0.0-rc5 (2022-02-24)

Changes

6.0.0-rc4 (2022-01-16)

Changes

6.0.0-rc3 (2021-11-24)

Changes

Fixes

  • fix(ImageCropper): Add dom ids to picture crop fields #2219 (tvdeyen)
  • Adjust tinymce skin assets urls again #2218 (tvdeyen)
  • Use relative path for tinymce font-face #2214 (tvdeyen)

Misc

6.0.0-rc2 (2021-10-13)

6.0.0-rc1 (2021-09-12)

6.0.0-b6 (2021-09-02)

  • Fix element with ingredients preview text #2187 (tvdeyen)
  • Do not validate element during toggle fold and create #2186 (tvdeyen)

6.0.0-b5 (2021-08-27)

  • Remove spec that tests default data store value #2184 (tvdeyen)
  • Remove data store accessor from ingredient base class #2183 (tvdeyen)

6.0.0-b4 (2021-08-27)

6.0.0.b3 (2021-08-12)

Fixes

6.0.0.b2 (2021-08-05)

Features

Changes

  • Require alchemy/version #2159 (tvdeyen)
  • Make ingredient examples usable without elements.yml #2158 (tvdeyen)
  • Fix ingredient migrator (again) #2155 (tvdeyen)
  • Respect additional essence attributes during ingredients migration #2154 (tvdeyen)
  • Improve cache key defaults for menus #2153 (oneiros)
  • Make element preview text work with ingredients #2152 (tvdeyen)
  • Do not leak all records for guest users in API controllers #2145 (tvdeyen)

Misc

  • [ruby - main] Upgrade shoulda-matchers to version 5.0.0 #2161 (depfu)

6.0.0.b1 (2021-07-05)

Features

Changes

Misc

5.2.7 (2022-03-01)

  • Fix copying page with descendants to a different language (dbwinger)
  • Handle copying/pasting global pages (dbwinger)

5.2.6 (2022-02-28)

  • Add crop_resize Dragonfly processor (tvdeyen)

5.2.5 (2021-11-24)

  • Adjust tinymce skin assets urls again (tvdeyen)

5.2.4 (2021-11-17)

  • Set stampable user_class_name without root identifier (tvdeyen)
  • Use relative path for tinymce font-face (tvdeyen)

5.2.3 (2021-10-26)

  • Make sure to install correct npm package (tvdeyen)

5.2.2 (2021-09-15)

5.2.1 (2021-05-13)

5.2.0 (2021-05-06)

5.2.0.rc1 (2021-02-17)

Changes

  • Change Factory loading mechanism to FactoryBots supported mechanism #2030 (mamhoff)

5.2.0.b1 (2021-02-11)

Features

  • Allow Element and Content deprecation notices #1988 (tvdeyen)
  • Add element definition api (based on PageLayout definitions) #1986 (stockime)

Changes

Misc

  • Use Ubuntu 18.04 on GH actions #2018 (tvdeyen)
  • [ruby - main] Upgrade rubocop to version 1.9.0 #2011 (depfu)
  • [ruby - main] Upgrade rubocop to version 1.8.1 #1999 (depfu)
  • Update brakeman ignores #1992 (tvdeyen)
  • [ruby - main] Upgrade rubocop to version 1.6.1 #1978 (depfu)
  • [ruby - main] Upgrade simplecov to version 0.20.0 #1971 (depfu)

5.1.2 (2021-01-26)

5.1.1 (2021-01-12)

5.1.0 (2020-12-18)

Features

Changes

Misc

5.0.3 (2021-01-12)

5.0.2 (2020-12-18)

5.0.1 (2020-09-29)

5.0.0 (2020-07-17)

4.6.1 (2020-06-04)

  • Fix 4.6 upgrader

4.6.0 (2020-06-04)

4.5.0 (2020-03-30)

4.4.4 (2020-02-28)

4.4.3 (2020-02-26)

4.4.2 (2020-02-25)

4.4.1 (2020-01-08)

  • Fix updating page preview after element create/save #1710 (tvdeyen)
  • Element editor layout changes #1709 (tvdeyen)
  • Add Alchemy.user_class_primary_key setting #1708 (tvdeyen)
  • Add Element views upgrade tasks #1707 (tvdeyen)
  • Use postMessage to send messages between preview and element windows #1704 (tvdeyen)

4.4.0 (2020-01-06)

4.3.2 (2019-11-08)

4.3.1 (2019-09-27)

  • Fix Cell Migration to maintain positions #1625 (mamhoff)
  • Cell Upgrader: Match quotation marks in cell name string #1624 (mamhoff)
  • Cell Migrator: Maintain element order in fixed elements #1623 (mamhoff)
  • Enhance cells upgrader to deal with render_elements from_page: x #1622 (mamhoff)

4.3.0 (2019-08-23)

4.2.3 (2019-09-27)

  • Fix Cell Migration to maintain positions #1625 (mamhoff)
  • Cell Upgrader: Match quotation marks in cell name string #1624 (mamhoff)
  • Cell Migrator: Maintain element order in fixed elements #1623 (mamhoff)
  • Enhance cells upgrader to deal with render_elements from_page: x #1622 (mamhoff)

4.2.2 (2019-08-13)

  • Fallback to default locale if unavailable locale requested #1610 (mamhoff)

4.2.1 (2019-08-08)

  • Use strings as JSON root keys in API controllers #1602 (tvdeyen)

4.2.0 (2019-05-30)

4.1.0 (2018-09-22)

4.0.5 (2018-09-17)

4.0.4 (2018-09-05)

4.0.3 (2018-05-14)

  • Add must_revalidate to cache-control header #1340 (afdev82)

4.0.2 (2018-05-08)

4.0.1 (2018-04-23)

4.0.0 (2017-11-06)

  • Fixes image cropping issues #1320 and #1321 by tvdeyen This includes the change that images will not be cropped anymore unless crop: true is explicitly given in either the contents settings or passed via options to render_essence. The former behavior of implicitly cropping only because crop values (crop_from or crop_size) were present on the EssencePicture database record was erroneous and confusing.
  • Allow Dragonfly 1.1 and above #1314 by tvdeyen
  • Added Rails 5.1 support #1310 by tvdeyen
  • Always use border-box box model for all CSS components in the admin #1309 by tvdeyen

4.0.0.rc2 (2017-08-18)

  • Removed deprecated :image_size option from EssencePicture Use :size instead.
  • Remove deprecated take_me_for_preview content definition option Use as_element_title instead.
  • Removed deprecated picture url helpers show_alchemy_picture_path and show_alchemy_picture_url Use picture.url instead.
  • Removed deprecated pages helper module.
  • Removed deprecated translation methods _t and Alchemy::I18n.t. Use Alchemy.t instead.
  • Removed deprecated redirect_index configuration Use redirect_to_public_child configuration instead.

4.0.0.rc1 (2017-08-17)

  • Removed merge_params from Alchemy::Admin::BaseHelper Use ActionController::Parameters#merge instead
  • Removed merge_params_only from Alchemy::Admin::BaseHelper Use methods from ActionController::Parameters instead
  • Removed merge_params_without from Alchemy::Admin::BaseHelper Use ActionController::Parameters#delete_if instead
  • Removed tag_list_tag_active? from Alchemy::Admin::TagsHelper Use filtered_by_tag? instead
  • Removed add_to_tag_filter and remove_from_tag_filter from Alchemy::Admin::TagsHelper Use tags_for_filter and pass the current tag instead
  • Removes the possibility to pass options param as JSON string. #1291 by tvdeyen Pass normal params instead.
  • Removed redirect_back_or_to_default from Alchemy::Admin::BaseController Use Rails' redirect_back with a fallback_location instead
  • Deprecated controller requests test helpers #1284 by tvdeyen

4.0.0.beta (2017-06-20)

  • Rails 5

3.6.5 (2018-05-08)

3.6.4 (2018-04-23)

3.6.3 (2017-10-24)

3.6.2 (2017-09-01)

3.6.1 (2017-08-16)

  • Do not ask systempage? everytime we load the page definition #1239 by tvdeyen This speeds up rendering large sitemaps by about 6 times.

3.6.0 (2017-06-20)

Notable Changes

  • The seeder does not generate default site and root page anymore (#1239) by tvdeyen Alchemy handles this auto-magically now. No need to run Alchemy::Seeder.seed! any more |o/
  • Security: Sanitize ActiveRecord queries in Alchemy::Element, Alchemy::Page and Alchemy::PagesHelper (#1257) by jessedoyle
  • Remove post install message reference to the alchemy standalone installer (#1256) by jessedoyle
  • Fixes tag filtering for pictures and attachments in overlay (#1266) by robinboening
  • Fix js error on page#update with single quote in page name (#1263) by robinboening
  • Change meta charset from 'utf8' to 'utf-8' (#1253) by rbjoern84
  • Render "text" as type for datepicker input fields (#1246) by robinboening
  • Remove unused Page attr_accessors (#1240) by tvdeyen
  • Permit search params while redirecting in library (#1236) by tvdeyen
  • Only allow floats and ints as fixed ratio for crop (#1234) by tvdeyen
  • Use at least dragonfly 1.0.7 (#1225) by tvdeyen
  • Add handlebars-assets gem (#1203) by tvdeyen
  • Add a new spinner animation (#1202) by tvdeyen
  • Re-color the Turbolinks progressbar (#1199) by tvdeyen
  • Use normal view for pages sort action (#1197) by tvdeyen
  • Add srcset and sizes support for EssencePicture (#1193) by tvdeyen

3.5.0 (2016-12-22)

New Features

  • New API endpoint for retrieving a nested page tree (#1155) api/pages/nested returns a nested JSON tree of all pages.
  • Add page and user seeding support (#1160)
  • Files of attachments are replaceable now (#1167)
  • Add fixed page attributes (#1168) Page attributes can be defined as fixed_attributes to prevent changes by the user.
  • Allow to declare which user role can edit page content on the page layout level.

Notable Changes

  • Removed the standalone installer (#1206)
  • The essence date input field is now 100% width (#1191)
  • The essence view partials don't get cached anymore (#1099)
  • The essence editor partials don't get cached anymore (#1171)
  • Removes update_essence_select_elements (#1103)
  • The admin resource form now uses the datetime-picker instead of the date-picker for datetime fields.
  • The preview_mode_code helper is moved to a partial in alchemy/preview_mode_code. (#1110)
  • The render_meta_data helper is moved to a partial in alchemy/pages/meta_data and can be rendered with the same options as before but now passed in as locals. (#1110)
  • The view helpers preview_mode_code, render_meta_data, render_meta_tag, render_page_title, render_title_tag are now deprecated. (#1110)
  • An easy way to include several edit mode related partials is now available (#1120): render 'alchemy/edit_mode' loads menubar and preview_mode_code at once
  • Add support for Turbolinks 5.0 (#1095)
  • Use Dragonfly middleware to render pictures and remove our custom solution (#1084)
  • image_size option is now deprecated. Please use just size (#1084)
  • show_alchemy_picture_path helper is now deprecated. Please use picture.url instead (#1084)
  • Display download information on the Attachment Modal Dialog (#1137)
  • Added foreign keys to important associations (#1149)
  • Also destroy trashed elements when page gets destroyed (#1149)
  • Upgrade tasks can now be run separately (#1152)
  • Update to Tinymce 4.4.3
  • New sitemap UI (#1172)
  • Removed picture cache flushing (#1185)
  • Removed Mountpoint class (#1186)

Fixed Bugs

  • Fix setting of locale when current_alchemy_user.language doesn't return a Symbol (#1097)
  • Presence validation of EssenceFile is not working (#1096)
  • Allow to define unique nestable elements (#852)

3.4.2 (2016-12-22)

Notable Changes

  • Allow users to manually publish changes on global pages

Fixed Bugs

  • The language_links helper now only renders languages from the current site

3.4.1 (2016-08-31)

Fixed Bugs

  • Remove trailing new lines in the AddImageFileFormatToAlchemyPictures migration. (#1107) If you migrated already, use the alchemy:upgrade:fix_picture_format rake task.
  • Don't overwrite the fallback options when rendering a picture (#1113)
  • Fixes the messages mailer views generator (#1118)

3.4.0 (2016-08-02)

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
  • When publishing a page with the publish button, Page#public_on does not get reset to the current time when it is already set and in the past, and Page#public_until does not get nilled when it is in the future.

Fixed Bugs

  • Fix table width for attachments and resources on small window sizes.
  • Generators don't delete directories any more (#850)
  • Some elements crashed the backend's JS when being saved (#1091)

3.3.3 (2016-09-11)

  • Fix bug that rendered duplicate nested elements within a cell after copying a parent element.

3.3.2 (2016-08-02)

  • Use relative url for page preview frame in order to prevent cross origin errors (#1076)

3.3.1 (2016-06-20)

  • Fix use of Alchemy::Resource with namespaced models (#729)
  • Allow setting the type of EssenceText input fields in the elements.yml via settings[:input_type]
  • Admin locale switching does not switch language tree any more (#1065)
  • Fixes bug where old site session causes not found errors (#1047)
  • Fix inability to add nested elements on pages with cells (#1039)
  • Skip upgrader if no element definitions are found (#1060)
  • Fix selecting the active cell for elements with nested elements (#1041)

3.3.0 (2016-05-18)

New Features

  • Add support for Sprockets 3
  • Add support for jquery-rails 4.1
  • Show a welcome page, if no users or pages are present yet
  • Namespace spec files
  • Image library slideshow
  • Global "current locked pages" tabs
  • New option linkable: false for EssencePicture
  • Allow custom routing for admin backend
  • Resource forms can now have Tinymce enabled by adding .tinymce class
  • Alchemy::EssenceFile now has a link_text attribute, so the editor is able to change the linked text of the download link.
  • Enable to pass multiple page layout names to on_page_layout callbacks
  • Client side rendering of the pages admin
  • Deprecate redirect_index configuration
  • Add Nestable elements feature
  • Default site in seeder is now configurable
  • Frontpage name and page layout are now editable when creating new language trees

Notable Changes

  • Essence generator does not namespace the model into Alchemy namespace anymore
  • New simplified uploader that allows to drag and drop images onto the archive everywhere in your app
    • Model names in uploader allowed_filetypes setting are now namespaced. Please be sure to run rake alchemy:upgrade to update your settings.
  • Allow uppercase country codes
  • Uses Time.current instead of Time.now for proper timezone support
  • Adds year to created_at column of attachments table
  • Removes "available contents" feature.
  • Use Ransack for Admin Resources filtering, sorting and searching
  • Renames Alchemy translation helpers from _t to Alchemy.t
  • Do not append geometry string to preprocess option
  • Skip the default locale in urls
  • Add a proper index route and do not redirect to page anymore
  • Updates Tinymce to 4.2.3
  • Moves page status info into reusable partial
  • Refactors factories into individual requirable files
  • Do not raise error if element_ids params is missing while ordering elements
  • Removes old middleware for rescueing legacy sessions
  • Use rails tag helpers instead of plain HTML for meta tags
  • Remove the duplication of #decription vs. #definition
  • Resource CSV export now includes ID column and does not truncate large text columns anymore
  • Alchemy::Attachment#urlname now returns always an escaped urlname w/o format suffix and does not convert the file_name once on create anymore
  • Speed up the admin interface significantly when handling a large amount of pages

Fixed Bugs

  • Add locale to Alchemy::Language to avoid errors for languages with missing locale files #831
  • Fixes Alchemy::PageLayout.get_all_by_attributes
  • Fix tag list display in picture library
  • Animated GIFs display correctly
  • EssenceSelect grouped options tags
  • Add missing element partials for dummy app
  • Eliminate an SQL lookup on frontend cached element partials
  • Add missing german and spanish translation for element toolbar
  • Use the site_id parameter and the session only in the Admin area
  • Render 404 if accessing an unpublished index page that has "on page layout" callbacks

Full Change Log

3.2.1 (2016-03-31)

Fixed Bugs

  • Fix constant lookup issues with registered abilites
  • Fix: EssenceSelect grouped select_values
  • Respect :reverse option when sorting elements
  • Directly updates position in database while sorting contents
  • Don't show trashed elements when using a fallback
  • Fixes wrong week number in datepicker

Full Change Log

3.2.0 (2015-07-31)

Release Notes

3.1.3 (2016-01-21)

Full Change Log

3.1.2 (yanked)

No changes

3.1.1 (2015-03-17)

Full Change Log

3.1.0 (2015-02-24)

Release Notes

3.0.4 (2015-03-17)

Full Change Log

3.0.3 (2014-12-24)

Full Change Log

3.0.2 (2014-09-30)

Full Change Log

3.0.1 (2014-09-11)

Full Change Log

3.0.0 (2014-07-03)

Release Notes