Skip to content

Releases: craftcms/cms

4.13.0

12 Nov 17:02
4.13.0
a69fb94
Compare
Choose a tag to compare

Administration

  • Added the “Language” element condition rule. (#15952)
  • Added pc/* commands as an alias of project-config/*.
  • Added the --except, --minor-only, and --patch-only options to the update command. (#15829)

Development

  • Added the encodeUrl() Twig function. (#15838)
  • Added support for passing aliased field handles into element queries’ select()/addSelect() methods. (#15827)
  • Added support for appending subpaths to environment variable names in environmental settings (e.g. $PRIMARY_SITE_URL/uploads).

Extensibility

  • Added craft\base\RequestTrait::getIsWebRequest(). (#15690)
  • Added craft\events\ApplyFieldSaveEvent. (#15872)
  • Added craft\events\DefineAddressCountriesEvent. (#15711)
  • Added craft\filters\BasicHttpAuthLogin. (#15720)
  • Added craft\filters\BasicHttpAuthStatic. (#15720)
  • Added craft\filters\ConditionalFilterTrait. (#15948)
  • Added craft\filters\UtilityAccess.
  • Added craft\helpers\Session::addFlash().
  • Added craft\helpers\Session::getAllFlashes().
  • Added craft\helpers\Session::getFlash().
  • Added craft\helpers\Session::hasFlash().
  • Added craft\helpers\Session::removeAllFlashes().
  • Added craft\helpers\Session::removeFlash().
  • Added craft\helpers\UrlHelper::encodeUrl(). (#15838)
  • Added craft\log\MonologTarget::getAllowLineBreaks().
  • Added craft\log\MonologTarget::getFormatter().
  • Added craft\log\MonologTarget::getLevel().
  • Added craft\log\MonologTarget::getMaxFiles().
  • Added craft\log\MonologTarget::getName().
  • Added craft\log\MonologTarget::getProcessor().
  • Added craft\log\MonologTarget::getUseMicrosecondTimestamps().
  • Added craft\services\Addresses::EVENT_DEFINE_ADDRESS_COUNTRIES. (#15711)
  • Added craft\services\Addresses::getCountryList(). (#15711)
  • Added craft\services\Fields::EVENT_BEFORE_APPLY_FIELD_SAVE. (#15872)
  • Added craft\services\Gc::deleteOrphanedFieldLayouts().
  • Added craft\web\View::registerCpTwigExtension().
  • Added craft\web\View::registerSiteTwigExtension().
  • Improved support for creating log targets for third party logging services. (#14974)
  • Deprecated the enableBasicHttpAuth config setting. craft\filters\BasicHttpAuthLogin should be used instead. (#15720)
  • Added the serializeForm event to Craft.ElementEditor. (#15794)

System

  • Location headers added via craft\web\Response::redirect() are now set to encoded URLs. (#15838)
  • Fixed a bug where orphaned field layouts weren’t getting garbage collected. (#16032)
  • Fixed a bug where the utils/fix-field-layout-uids command was misidentifying missing/duplicate UUID issues.

5.4.10.1

08 Nov 06:06
5.4.10.1
a6e788c
Compare
Choose a tag to compare
  • Fixed a bug where it wasn’t possible to create new nested Matrix entries for global sets. (#16041)

5.4.10

07 Nov 02:31
b1b69a3
Compare
Choose a tag to compare
  • Fixed a bug where entry/category drafts weren’t retaining new parent selections.
  • Fixed a bug where the “Related To” condition rule would lose track of the selected element if it belonged to a different site. (#16005)
  • Fixed a bug where the GraphQL tokens index was saying tokens never expired. (#16029)
  • Fixed a bug craft\services\Categories::saveGroup() and craft\services\Tags::saveTagGroup() weren’t respecting predefined UUID values on new models.
  • Fixed an error that could occur when editing a nested Matrix entry in a slideout or full-page editor, if it was initially edited while the Matrix field was in inline-editable blocks mode.
  • Fixed an error that could occur when editing an address that had provisional changes.
  • Fixed a bug where address cards weren’t showing provisional changes.
  • Fixed a bug where it was possible to edit nested addresses when viewing a revision. (#15961)
  • Fixed a bug where nested elements could have checkboxes and drag handles when viewing a revision. (#15961)
  • Fixed an error that could occur when bulk-editing elements from an element index, if any of them had provisional drafts. (#15962)
  • Fixed a bug where element exporting was only working as intended on the first page of results. (#15996, #16003)
  • Fixed a bug where Number fields weren’t getting sorted properly in PostgreSQL. (#15973)
  • Fixed a bug where field conditions weren’t taking effect within Matrix fields set to inline-editable blocks mode, if autosaveDrafts was disabled. (#15985)
  • Fixed an error that occurred when attempting to delete a nested Matrix entry, if it had an entry type that was no longer allowed for the Matrix field. (#15990)
  • Fixed a bug where structure data wasn’t getting deleted for drafts when moving an entry out of a Structure section. (#15949, #16014)
  • Fixed a bug where loading spinners weren’t always centered. (#16013)
  • Fixed a race condition that could break default entry creation for Matrix fields. (#15999)
  • Fixed a JavaScript error that occurred when sorting nested elements in an embedded element index, if the index was paginated. (#16026)
  • Fixed a styling bug.
  • Updated Axios to 1.7.7. (#15958)

4.12.9

07 Nov 02:27
4.12.9
1e3cd0a
Compare
Choose a tag to compare
  • Fixed a bug where entry/category drafts weren’t retaining new parent selections.
  • Fixed a bug where the “Related To” condition rule would lose track of the selected element if it belonged to a different site. (#16005)
  • Fixed a bug where the GraphQL tokens index was saying tokens never expired. (#16029)
  • Fixed styling issues. (#15965)

5.4.9

22 Oct 19:16
5.4.9
8c354fc
Compare
Choose a tag to compare
  • The install command now runs through database connection setup, if Craft can’t yet connect to the database. (#15943)
  • authorId, authorIds, authors, and sectionId are now reserved field handles for entry types. (#15923)
  • Added craft\elements\db\NestedElementQueryInterface.
  • Added craft\services\Gc::$silent.
  • Fixed a bug where admin table header cells weren’t indicating when they were sorted. (#15897)
  • Fixed an error that occurred when creating a database backup, if the System Name contained any quote-like characters. (#15933)
  • Fixed a bug where buttons could bleed out of their containers. (#15931, #15946)
  • Fixed a PHP error. (#15915)
  • Fixed a bug where uninstalled/missing plugins weren’t getting status indicators on the Plugins index page.
  • Fixed errors that occurred when working with nested entries for a newly-added site. (#15898)
  • Fixed a bug where it wasn’t possible to scroll the section select modal when moving entries to a different section. (#15900)
  • Fixed a bug where query params in the format of '<operator> <values>' weren’t being parsed correctly.
  • Fixed a bug craft\services\Entries::saveSection() and craft\services\Volumes::saveVolume() weren’t respecting predefined UUID values on new models.
  • Fixed a bug where Addresses fields in element index view weren’t showing newly-created addresses. (#15911)
  • Fixed a bug where disabled Money fields were showing the clear button.
  • Fixed a bug where element slideouts had a “Save” button when viewing a revision. (#15930)
  • Fixed a bug where element edit pages had a “Revert content from this revision” button for elements that didn’t support revisions. (#15930)
  • Fixed an error that occurred when loading a soft-deleted nested entry from a revision. (#15930)
  • Fixed a bug where the entrify/tags and entrify/global-set commands would prompt for the target section after one had just been created.
  • Fixed a bug where entrify commands weren’t copying the original field instance UUIDs into newly-created entry types, causing content to appear missing. (#15935)
  • Fixed a bug where element editor slideouts could create unnecessary provisional drafts. (#15938)
  • Fixed an information disclosure vulnerability.

4.12.8

22 Oct 19:14
4.12.8
4477bfd
Compare
Choose a tag to compare
  • The install command now runs through database connection setup, if Craft can’t yet connect to the database. (#15943)
  • Fixed a bug where admin table header cells weren’t indicating when they were sorted. (#15897)
  • Fixed an error that occurred when creating a database backup, if the System Name contained any quote-like characters. (#15933)
  • Fixed a bug where buttons could bleed out of their containers. (#15931, #15946)
  • Fixed a PHP error. (#15915)
  • Fixed an information disclosure vulnerability.

5.4.8

15 Oct 22:39
5.4.8
be2ded2
Compare
Choose a tag to compare
  • Added craft\helpers\App::isTty().
  • Fixed a styling issue with Color field inputs. (#15868)
  • Fixed a deprecation error. (#15873)
  • Fixed a bug where element sources weren’t keyboard-selectable. (#15876)
  • Fixed a bug where Craft wasn’t auto-detecting interactive terminals on Windows.
  • Fixed a bug where element actions were allowed on nested entries when viewing a revision. (#15879)
  • Fixed a bug where element error summaries weren’t linking to recursively-nested Matrix fields properly. (#15797)
  • Fixed a bug where eager-loaded relation fields were loading all related elements across all instances of the field. (#15890)
  • Fixed a bug where expanding the site statuses UI for an entry within a slideout would remove the expand button from the main entry’s form. (#15893)
  • Fixed a privilege escalation vulnerability.

4.12.7

15 Oct 22:35
4.12.7
91eb1f4
Compare
Choose a tag to compare
  • Fixed a privilege escalation vulnerability.

5.4.7.1

09 Oct 08:32
5.4.7.1
7f26db4
Compare
Choose a tag to compare
  • Custom field condition rules are now ignored if they reference a field with an incompatible type. (#15850)
  • Fixed an error that could occur if Hyper was installed. (#15867)
  • Fixed an error occurred when running migrate commands with an invalid --plugin option value.

4.12.6.1

09 Oct 08:26
4.12.6.1
516e2a1
Compare
Choose a tag to compare
  • Custom field condition rules are now ignored if they reference a field with an incompatible type. (#15850)