packagist craftcms/cms 5.12.2

one hour ago
  • Updated the built-in composer.phar to 2.11.2. Composer no longer falls back to cloning a package’s source when its zip download fails. (#20742)
  • MCP upload URLs now respond with JSON errors. (#20578)
  • Added craft\helpers\UrlHelper::absoluteUrl().
  • Added craft\services\Dashboard::isWidgetTypeAvailable().
  • craft\elements\db\NestedElementQueryTrait::owner() now accepts an array of owner elements.
  • Fixed a bug where garbage collection could block other requests’ database writes. (#20885)
  • Fixed a bug where uploading an indexed PNG with Imagick merged similar colors in its palette. (#20916)
  • Fixed a bug where uploading a 16-bit greyscale PNG with Imagick reduced its quality. (#20923)
  • Fixed a bug where uploaded PNGs could be saved uncompressed when GD was used.
  • Fixed a bug where the entrify/categories and entrify/tags commands deleted custom entry sources restricted to user groups. (#20875)
  • Fixed a bug where tests extending craft\test\console\ConsoleTest were run with a web application.
  • Fixed an “Unknown function” error that could occur after an email was sent to a user affiliated with a different site. (#20855)
  • Fixed an n+1 query bug when working with Content Block fields. (#20776)
  • Fixed a bug where mcp/serve didn’t see project config changes made by other processes. (#20597)
  • Fixed a bug where Assets fields restricted to a single location without subfolders could select files in the location’s subfolders.
  • Fixed a bug where stroke-based icons were shown as filled shapes. (#20613)
  • Fixed an error that could occur when saving an image cropped against its left or top edge in the Image Editor. (#20601)
  • Fixed a bug where element indexes’ Link columns showed links for disabled, archived, pending, and expired elements. (#20604)
  • Fixed a bug where saving the Team user group’s permissions programmatically could break project-config/apply. (#20595)
  • Fixed a bug where MCP uploads didn’t work on load-balanced sites. (#20578)
  • Fixed a bug where the default temporary asset upload filesystem couldn’t be replaced via craft\fs\Temp’s container definition.
  • Fixed a bug where Preview never loaded for users who could view an entry but not save it. (#20572)
  • Fixed a bug where the “Save and send activation email” button didn’t send activation emails for users without the “Administrate users” permission. (#20566)
  • Fixed a bug where project config handlers weren’t called for a path when a nested value was set before the path existed. (#20717)
  • Fixed a bug where craft\helpers\ImageTransforms::storeLocalSource() didn’t do anything when no destination was passed. (#20775)
  • Fixed a bug where renaming an asset folder didn’t update the paths of subfolders whose paths differed in case. (#20773)
  • Fixed a bug where MCP tools returned root-relative asset URLs.
  • Fixed a bug where applying an outdated draft could delete other sites’ nested entries in required Matrix fields. (#20838)
  • Fixed a low-severity authorization bypass vulnerability. (GHSA-24vg-rp56-rf5c)
  • Fixed a moderate-severity SSRF vulnerability. (GHSA-53c3-ggrg-m3hg)
  • Fixed a moderate-severity authorization bypass vulnerability. (GHSA-r4pw-6wr6-6rm8)
  • Fixed a moderate-severity RCE vulnerability. (GHSA-2xwp-6jjc-hfmm)

Don't miss a new cms release

NewReleases is sending notifications on new releases.