Skip to content

1.2.0 (2017-09-12)

Compare
Choose a tag to compare
@colintucker colintucker released this 12 Sep 02:22
· 138 commits to master since this release

Full Changelog

Added

  • new ListItemExtension (replaces ListItem trait)
  • new TagField used to add tags to objects (such as blog posts)
  • new ToggleGroup field which will show or hide a group of fields based on the status of a checkbox
  • new ListAlert trait to add alert messages at the top of list components
  • new ListPage class which renders it's child pages as a list
  • new ListSourceSlide class to add slides to a component from a list source
  • new .handleMessages() JavaScript functionality for Ajax-powered forms
  • themed editor CSS production/styles/editor.css added to HTML editor
  • additional editor CSS can be defined using themed_editor_css config on LeftAndMain
  • style variable for icon size multiplier
  • image overlay feature for list items with custom icon
  • options for edge-to-edge and position (fixed, sticky etc.) added to Section
  • option to hide the image in a Slide
  • dependency for silverware/select2 module

Updated

  • Component now records the parent instance via setParent() in a property; useful when rendering
  • ComponentController will now throw a 404 by default when being accessed via it's URL in the browser
  • tag() method in Component renamed to renderTag() to avoid problems in templates
  • a Slide is now a Component rather than a subclass of Link
  • parent components of Slide can now define a custom template to use for the slide using getSlideTemplate()
  • getCustomCSSTemplate() now accepts a $class parameter in Renderable
  • list items will now only show a particular detail item if it has a text value
  • Slide objects can now use a custom tag (default is div)

Fixed

  • namespace for BreadcrumbsExtension was incorrect
  • initial resize upon window load for TagCloudComponent was not working correctly
  • bug with BaseComponent rendering two content divs
  • bug with MetaDataExtension throwing an error on getMetaDateFormatted() when a meta date does not exist
  • bug with the Link class not specifying page mode when being created using fromPage()
  • bug in the Tag class when finding the parent class from the many-many component

Removed

  • AutoCompleteField as it was buggy and unnecessary
  • ListItem trait, it made more sense to change it to an Extension so it could be applied to all Page classes