Skip to content

1.3.0 (2017-09-22)

Compare
Choose a tag to compare
@colintucker colintucker released this 22 Sep 01:05
· 137 commits to master since this release

Full Changelog

Added

  • new Button class and styles
  • new DetailFieldsExtension for rendering a list of detail fields within the template, defined from configuration
  • new ButtonStyle extension to add button styles to extended objects
  • method renderCSS() added to ViewTools, which renders a passed object with the specified CSS template

Updated

  • BaseListComponent changed default option to 'None' for showable items
  • BaseListComponent now has getListStyleFields() and getListOptionFields() for easier subclassing
  • FeatureComponent now has corner styles and can be linked in it's entirety (i.e. the whole box, rather than just the title or footer button)
  • Installer asks for database name and vendor, works in conjunction with updated silverware/app
  • AreaExtension now also handles subclasses of Panel
  • PageExtension now uses a getContentClassNames() method for content area style classes
  • setParent() on Component is now setParentInstance() - use when linking together components in memory
  • Component classes can now be added as children of pages if the Component class name is permitted by the page's allowed_children

Fixed

  • ViewportsField is now a subclass of CompositeField; SilverStripe now treats it appropriately in other methods
  • processAttribute() in ViewTools now checks if the given $parent parameter is an object

Removed

  • load_component_requirements removed from controller settings
  • getParentInstance() on Component has been replaced with an overridden getParent() method
  • trait RequireFiles has been removed; the functionality has been merged into the Renderable trait