v1.0.447 Released on January 27, 2019

View on GitHub CMS Changes Framework Changes

UX/UI Improvements:

  • Added Backend 404 page, throw 404 instead of an exception on missing backend controller actions when debug mode is disabled.
  • Added "Go to previous page" link to the Backend Access Denied page

API Changes:

  • Renamed the Lists widget's prepareModel() method to prepareQuery() instead.
  • Provided the containing Form widget to FormWidgetBases instances as $widget->getParentForm() to enable complex FormWidgets to correctly obtain their containing Form widget instance.
  • Implemented automatic backend URL generation for protected file's getPath() and getThumb() methods
  • Added returnResponse parameter to output() and outputThumb() methods on the Winter\Rain\Database\Attach\File class to return Response objects instead of outputting the response headers and content directly.
  • Added validateUserModel() method to the AuthManager class to provide an opportunity to reject a user's login
  • Added step, min, & max options to the number field type.
  • Added support for the recordfinder FormWidget to be used without a relationship definition through the useRelation: false and modelClass config properties
  • Added support for the brand.faviconPath config option (and backend customization option) to load a custom favicon for the backend to use
  • Added support for the data-request-url attribute to change the URL that the AJAX API fires an AJAX request to
  • Added getClassMethods() method to the ExtendableTrait as a replacement for get_class_methods() to include the dynamic methods that are available within the class as well
  • File models will now attempt to get the backend files controller path instead of the public path for private files. This may be a breaking change if you had previously misconfigured your server so that the private upload directory was publicly accessible and you were relying on private files being visible to public visitors.

Bug Fixes:

  • Fixed issue when the user's current page number for the list widget no longer existed (for any number of reasons) causing them to become stuck on a non-existent page. Fixed by using the last available page number in that case.
  • Fixed Filter options being escaped twice (once by Mustache, once by the internal options retrieval logic)
  • Fixed being unable to detect the Enter and Backspace / Delete keys in the keydown.oc.richeditor event by attaching the event before internal Froala capturing events are run.
  • Fix the input trigger API where a form element doesn't exist
  • Fixed returning false from model.beforeValidate not halting the validation process.
  • Fixed FormWidgets not picking up the correct previewMode setting from their parent Form on AJAX requests that do not call the parent Form's render() method.
  • Reduced reliance on the CMS module from the Backend module to improve stability of instances that just use the Backend and System modules (i.e. web applications)
  • Only translate default values when they are strings (not arrays as in the case of default values for Repeaters).
  • Fixed display of the "Clear search" button in various contexts
  • Improved error messages in the YAML parser
  • Fixed issue from Build 1.0.444 where tabs and tables were no longer horizontally scrollable on touch devices
  • Fixed issue with simplePaginate using Laravel's translation system for Next & Previous which doesn't work in Winter
  • Fixed insidious bug where HasOne relationship's getSimpleValue would return the key of the parent record, not of the actual related record.
  • Fixed issue introduced in Build 1.0.446 where some media URLs would contain the base folder twice in a row
  • Fixed issue with expanding / collapsing the side menu items within the backend settings section
  • Fixed the Repeater's "Add item" (grouped mode) popover in a popup context
  • Fixed dropdown's support for the placeholder attribute.

Security Improvements

  • Added escaping to more variables to prevent potential XSS attacks

Community Improvements:

  • Now running automatic CI tests with PHP 7.3

Documentation Improvements:

  • Added better documentation on how to register custom validation rules within plugins, credit to Ben Thomson

Keep informed

Sign up to our newsletter to receive updates on Winter CMS releases, new features in the works, and much more.
We'll never spam or give this address away.

Latest blog post

Winter v1.2.2 is now available!

Published June 3, 2023
The Winter CMS maintainers are pleased to announce that Winter CMS v1.2.2 is now available, including child themes support, a new Icon Finder widget, various improvements to the Media Manager and much more.

View this post Read all posts

Latest Winter CMS release


Released May 31, 2023
13 UX/UI Improvements, 22 API Changes, 19 Bug Fixes, 0 Security Improvements -, 6 Translation Improvements, 1 Performance Improvement, 3 Community Improvements, 3 Dependencies, 0 New Contributors * @Teranode made their first contribution in https://github.com/wintercms/winter/pull/806 * @wpjscc made their first contribution in https://github.com/wintercms/winter/pull/841 * @xitara made their first contribution in https://github.com/wintercms/winter/pull/858 * @webbati made their first contribution in https://github.com/wintercms/winter/pull/869 * @zaxbux made their first contribution in https://github.com/wintercms/winter/pull/890 * @djpa3k made their first contribution in https://github.com/wintercms/winter/pull/911

View details View all releases