github craftcms/cms 5.1.0

latest releases: 5.1.4, 4.9.4, 5.1.3...
21 days ago

Content Management

  • Sort options are now sorted alphabetically within element indexes, and custom fields’ options are now listed in a “Fields” group. (#14725)
  • Unselected table column options are now sorted alphabetically within element indexes.
  • Table views within element index pages are now scrolled directly, so that their horizontal scrollbars are always visible without scrolling to the bottom of the page. (#14765)
  • Element tooltips now appear after a half-second delay. (#14836)
  • Thumbnails within element cards are slightly larger.
  • Improved element editor page styling on mobile. (#14898, #14885)

User Management

  • Team edition users are no longer required to be admins.
  • Added the “User Permissions” settings page for managing the permissions of non-admin Team edition users. (#14768)

Administration

  • Element conditions within field layout designers’ component settings now only list custom fields present in the current field layout. (#14787)
  • Improved the behavior of the URI input within Edit Route modals. (#14884)
  • The “Upgrade Craft CMS” page in the Plugin Store no longer lists unsupported editions.
  • Added the asyncCsrfInputs config setting. (#14625)
  • Added the backupCommandFormat config setting. (#14897)
  • The backupCommand config setting can now be set to a closure, which will be passed a mikehaertl\shellcommand\Command object. (#14897)
  • Added the safeMode config setting. (#14734)
  • resave commands now support an --if-invalid option. (#14731)
  • Improved the styling of conditional tabs and UI elements within field layout designers.

Extensibility

  • Added craft\conditions\ConditionInterface::getBuilderConfig().
  • Added craft\controllers\EditUserTrait. (#14789)
  • Added craft\controllers\UsersController::EVENT_DEFINE_EDIT_SCREENS. (#14789)
  • Added craft\elements\conditions\ElementConditionInterface::setFieldLayouts().
  • Added craft\events\DefineEditUserScreensEvent. (#14789)
  • Added craft\helpers\Cp::parseTimestampParam().
  • Added craft\models\FieldLayoutTab::labelHtml().
  • Added craft\services\ProjectConfig::getAppliedChanges(). (#14851)
  • Added craft\web\Request::getBearerToken(). (#14784)
  • Added craft\db\CoalesceColumnsExpression.
  • Added craft\db\ExpressionBuilder.
  • Added craft\db\ExpressionInterface.
  • craft\base\NameTrait::prepareNamesForSave() no longer updates the name properties if fullName, firstName, and lastName are already set. (#14665)
  • craft\helpers\Typecast::properties() now typecasts numeric strings to integers, for int|string properties. (#14618)
  • Added Craft.MatrixInput.Entry. (#14730)

System

  • Batched queue jobs now set their progress based on the total progress across all batches, rather than just the current batch. (#14817)
  • Fixed a bug where ordering by a custom field would only partially work, if the custom field was included in multiple field layouts for the resulting elements. (#14821)
  • Fixed a bug where element conditions within field layout designers’ component settings weren’t listing custom fields which were just added to the layout. (#14787)
  • Fixed a bug where asset thumbnails within element cards were blurry. (#14866)
  • Fixed a styling issue with Categories and Entries fields when “Maintain Hierarchy” was enabled.
  • Fixed a bug where Delete actions weren’t working in admin tables. (craftcms/commerce#3444)

Don't miss a new cms release

NewReleases is sending notifications on new releases.