github craftcms/cms 6.0.0-beta.2

pre-releaseone hour ago
  • Added Croatian translations, and completed the Indonesian, Kyrgyz, and Welsh translations.
  • Improved the performance of control panel requests. (#20704)
  • Improved the performance of element editors. (#20403)
  • Improved the performance of saved element conditions on sites with many custom fields.
  • Requests now read only the parts of the project config they need from the cache. (#20809)
  • HTML Purifier definitions are now cached. (#20847)
  • Improved the performance of address queries filtered by owner on PostgreSQL. (#20834)
  • Improved the performance of element queries that use unique() on PostgreSQL. (#20675)
  • Added the “About Craft CMS” dashboard widget, command palette action, and global header menu, which replace the Updates widget. (#20802)
  • Ask AI is now available in element editor slideouts, Live Preview, and release previews. (#20718)
  • Pressing Command/Ctrl + I again right after opening Ask AI now closes it. (#20718)
  • Editable tables with a heading column now name each row’s controls after the row’s heading for screen readers. (#20631)
  • Admin tables’ delete buttons and deletion confirmations now name the row being deleted. (#20633)
  • Dashboard widgets’ column counts and field layout elements’ widths are now set from a slider in a popover. (#20681)
  • Improved the contrast of slide pickers. (#20681)
  • Slideouts are now named after their titles for screen readers. (#20642)
  • Dialogs and slideouts now move focus to their heading when opened. (#20642)
  • Addresses’ inputs are now labeled by their visible labels. (#20642)
  • Password inputs’ Show/Hide buttons, the “Add a comment” help button, and breadcrumbs’ menu buttons now meet the minimum target size. (#20642)
  • The control panel’s grays and accent blue now match Craft 5’s. (#20612)
  • Uncolored and white element cards and Matrix blocks now have a filled header bar. (#20646)
  • Element index table rows now have a hover state. (#20645)
  • Restyled the notification center. (#20897)
  • Notification dots no longer have a ring around them. (#20897)
  • Global nav items without a submenu now show their badge count as a number. (#20911)
  • The global header now blends into the page. (#20612)
  • Header bars and footers throughout the control panel are now the same height as the global header. (#20699)
  • The command palette no longer changes the selected result as more results come in.
  • The Customize Sources modal now indicates which sources are disabled.
  • Element action menus now list “Validate {type}” after “Copy {type}”.
  • The “Addresses” settings nav item is now listed under “Content”.
  • Dashboard widgets now show a drop indicator when being reordered in Widget Settings.
  • Reordered dashboard widgets now move as soon as they’re dropped.
  • Copy value toasts are more compact.
  • Control panel error pages are now standalone pages, and are used for front-end errors when the site has no error template. (#19931)
  • The plugin installer, licensing issues screen, and email verification conflict page are now rendered with Inertia. (#19931)
  • The main content’s padding now scales with its width. (#20599, #20699)
  • Adjusted the spacing of element editor fields, field layout headings, Matrix blocks, and Markdown fields. (#20634)
  • Fields are now 16px apart outside of full-page forms.
  • Icons in the global sidebar, global header, breadcrumbs, details rail, and content tabs are now consistently sized and colored. (#20612)
  • Icons throughout the control panel are now a fixed size.
  • Chips’ action buttons now have more space around them.
  • Entry type icons that stand in for thumbnails are now drawn smaller, within a gray box.
  • Global nav items and menu buttons now stay highlighted while their menus are open. (#20612)
  • The details pane now has an inset shadow, and Ask AI’s input is transparent. (#20612)
  • Fields’ action menus now sit right after their labels. (#20612)
  • Breadcrumb separators are now lighter. (#20612)
  • Global nav labels and parent breadcrumbs are now lighter until hovered. (#20663)
  • The global header’s Dev Mode and Maintenance Mode badges are now icons. (#20848)
  • Breadcrumbs now line up with secondary navs’ icons. (#20848)
  • The Upgrade Craft CMS page now shows edition badges.
  • Plain buttons are now tinted rather than filled with gray when hovered, pressed, or open. (#20848)
  • Info icons now show a help cursor. (#20848)
  • The warning color’s loud fill is now more saturated. (#20848)
  • Popovers, menus, and dropdowns now have larger shadows. (#20663)
  • Global nav flyout menus now have more padding. (#20663)
  • Scrollbars in the global sidebar, details pane, and global nav flyout menus are now hidden until hovered or focused. (#20663)
  • Pages no longer show breadcrumbs when the only one would be the current page. (#20612)
  • Fields’ translation indicators now show their descriptions when pressed rather than hovered. (#20612)
  • Added heading and checklist keyboard shortcuts to Markdown fields, and fixed several Markdown editing bugs. (#20686)
  • The workflow stage type picker now shows each type’s icon. (#20660)
  • Pages shown to logged-out users now use the theme preference of the last user who signed in on the browser.
  • Condition builders now stack each rule’s controls when they’re narrow.
  • Multi-select comboboxes now keep their text box on the same line as the selected values when there’s room.
  • Redesigned dashboard widgets’ headers, and widget settings now have a footer with Save and Cancel buttons.
  • Recent Entries widgets now have an “Entry Criteria” setting, in place of their “Site” and “Section” settings.
  • Recent Entries widgets now have a “Widget Title” setting.
  • Recent Entries widgets now show entries’ thumbnails, sections, and authors.
  • My Drafts widgets now show drafts’ thumbnails and sections, and leave out drafts the user can no longer view.
  • Double-clicking an entry’s thumbnail in a Recent Entries or My Drafts widget now opens it in a slideout.
  • Feed widgets now show each item’s summary and image.
  • New Users widgets now show the total number of new users, with a sparkline.
  • Craft Support widgets are now a list of support links. Support requests are now sent from craftcms.com/contact.
  • Quick Post widgets now show a large button in their entry type’s icon and color.
  • Dashboard widgets’ settings are now loaded when opened.
  • Element index tables now right-align numeric columns. (#20782)
  • Tabs now have a hover fill, and tabs, nav items, and plain, outline, and dashed buttons now share the same hover fill. (#20836)
  • Added support for Laravel Octane. (#20641)
  • Removed the bundled Composer executable. Package management now requires Composer 2.2.0 or later in the server’s PATH.
  • Entry type and volume settings pages now have “Settings”, “Content”, and “Appearance” tabs. (#20214, #20658)
  • Table fields now have “Entries”, “Assets”, and “Users” column types. (#20728)
  • Individual settings within object config settings, such as mcp and anchors, can now be set with CRAFT_{SETTING}_{NESTED_SETTING} environment variables. (#20783)
  • Added the cpIconPath and cpLogoPath config settings. (#20647)
  • Deprecated the cpIconUrl and cpLogoUrl config settings. (#20647)
  • OAuth providers’ activatesUsers setting has been renamed to controlsAccess. (#20899)
  • The web installer now has a “Time Zone” field.
  • The Yii2 Loose Ends utility now lists cache components configured in config/craft/app.php.
  • craft:setup:publish and vendor:publish --tag={plugin-handle} now publish plugin assets when Craft isn’t installed or can’t connect to its database. (#20912)
  • The craft:mcp:serve MCP server now picks up project config changes made by other processes. (#20641)
  • MCP upload routes now always respond with JSON errors. (#20578)
  • Console messages now show commands as they should be run for the current environment. (#20702)
  • Nested entries’ and addresses’ action menus now have a “Field settings” item for admins. (#20688, #20696)
  • relatedTo and notRelatedTo element query params can now match references from Link, Markdown, Table, and other reference-tracking fields. (#20764)
  • GraphQL API requests can now pass a GraphQL token via an X-Craft-Gql-Token header, alongside a user’s access token in the Authorization header. (#20587)
  • GraphQL result caches now vary by the logged-in user and their permissions. (#20587)
  • GraphQL transform arguments now accept immediately again. (#20588, #20594)
  • Front-end form submissions without a CSRF token are now accepted from browsers that don’t send a Sec-Fetch-Site header, if their Origin header matches the site. (#20429)
  • csrfInput() now outputs nothing when origin-only request forgery checks are enabled. (#20429)
  • csrfInput() no longer accepts an async option or tag attributes. (#20429)
  • Removed the asyncCsrfInputs config setting. (#20429)
  • The craftCommand() Twig function is now only available to control panel templates.
  • Plugins can now build control panel pages from the components, composables, and helpers in the @craftcms/cp import-map module. (#20608)
  • The control panel’s import map now includes @inertiajs/vue3. (#20608)
  • Added dashboard widget components to the @craftcms/cp import-map module.
  • Added ReadOnlyElementIndex to the @craftcms/cp import-map module. (#20516)
  • Added CraftCms\Cms\Cp\Html\ElementHtml::presentation(). (#20608)
  • Added CraftCms\Cms\Ui\Nodes\Outlet and CraftCms\Cms\Ui\Controls\FieldLayoutDesigner::cardViewDesignerOutlet(). (#20658)
  • Added CraftCms\Cms\Element\Queries\Events\ElementQueryPreparing and ElementQueryPrepared. (#20705, #20722)
  • craft\elements\db\ElementQuery::EVENT_BEFORE_PREPARE and EVENT_AFTER_PREPARE handlers are called again when the Yii adapter is installed. (#20705, #20722)
  • CraftCms\Cms\Support\Str::random() now returns mixed-case letters and digits by default. (#20865)
  • Added CraftCms\Cms\Asset\Events\FolderActionsResolving. (#20689, #20692)
  • Added the --c-nav-item-color CSS custom property to craft-nav-item. (#20663)
  • plain craft-buttons are now tinted rather than filled when hovered, pressed, or open. (#20848)
  • craft-button’s link variant now uses the link color in every state. (#20897)
  • craft-badge-indicator now defaults to the accent color. (#20897)
  • Added the craft-media-item component. (#20897)
  • Added the craft-slide-picker-button component. (#20681)
  • Added the --c-field-group-gap CSS custom property to craft-field-group.
  • Added the --c-textarea-spacing-block CSS custom property to craft-textarea. (#20403)
  • craft-action-items within a closed craft-action-menu are now rendered when the browser is idle or the menu opens. (#20403)
  • Added whenIdle() and cancelIdle() to @craftcms/ui/utilities/idle. (#20403)
  • Added CraftCms\Cms\Http\Middleware\PreventRequestForgery. (#20429)
  • craft-icon now defaults to the --c-size-icon-sm size.
  • Added CraftCms\Cms\Dashboard\Widgets\RecentEntries::getCondition() and setCondition(), replacing $siteId and $section.
  • Added CraftCms\Cms\Dashboard\Widgets\RecentEntries::$customTitle.
  • Removed the error, errors/*, _special/emailtaken, _special/licensing-issues, _special/login, and _special/updater control panel templates. (#19931)
  • Standalone control panel pages that extend _layouts/base now give their <body> the cp-legacy-screen class. (#19931)
  • Element type indexes can now open their “New” button’s route in a new tab. (#20735)
  • CraftCms\Cms\Dashboard\Data\WidgetData and WidgetTypeData now have a $hasSettings property in place of $settingsUi.
  • Removed CraftCms\Cms\Http\Controllers\Dashboard\Widgets\CraftSupportController and the dashboard/send-support-request action.
  • The updates/check action’s response now includes dateFetched.
  • Added craft\helpers\HtmlPurifier::enableDefinitionCache() and craft\services\Path::getHtmlPurifierCachePath(). (#20861)
  • Added the DB::commitSchemaChanges() connection macro. (#20784)
  • Added CraftCms\Cms\Database\Claim. (#20792)
  • Added CraftCms\Cms\Asset\Models\AssetIndexData::processingClaim() and claim(), CraftCms\Cms\Image\ImageTransformer::inProgressClaim(), and CraftCms\Cms\Image\Data\ImageTransformIndex::markGenerating(), markGenerated(), and markFailed(). (#20792)
  • Added CraftCms\Cms\Queue\Enums\JobStatus::canTransitionTo() and CraftCms\Cms\Release\Enums\ReleaseStatus::canTransitionTo(). (#20792, #20793)
  • Added CraftCms\Cms\Release\Models\Release::transitionTo(). (#20793)
  • Added CraftCms\Cms\User\Enums\UserAccountTransition. (#20794)
  • Added CraftCms\Cms\User\Elements\User::isLocked() and CraftCms\Cms\User\Validation\UserRules::unique(). (#20794)
  • Added CraftCms\Cms\Update\Maintenance::startUpdate() and finishUpdate(). (#20797)
  • Added CraftCms\Cms\Twig\Twig::with() and CraftCms\Cms\View\TemplateCaches::abortTemplateCache(). (#20798)
  • Added CraftCms\Cms\Field\Field::tableAttributeAlignment(). (#20782)
  • CraftCms\Cms\Element\Queries\Concerns\QueriesNestedElements::owner() now accepts an array of owner elements. (#20806)
  • Renamed craft-tab’s --c-tab-spacing-inline, --c-tab-spacing-block, and --c-tab-border-active custom properties to --c-tab-padding-inline, --c-tab-padding-block, and --c-tab-indicator-fill-active. (#20836)
  • Added CraftCms\Cms\Cp\Cp::iconHtml() and logoHtml(), and craft.cp.iconHtml(). (#20647)
  • Removed cpLogoUrl from the control panel’s JavaScript config. (#20647)
  • Craft.publishableSections is now only available when the Yii adapter is installed. Craft.creatableSections should be used instead. (#20704)
  • CraftCms\Cms\Cp\Events\CpDataResolving listeners that set publishableSections should set creatableSections instead. (#20704)
  • CraftCms\Cms\t() now only falls back to Laravel’s translator for group.key messages, JSON translation keys, and messages with :placeholder parameters. (#20704)
  • Removed CraftCms\Cms\Http\ViewModels\EntryIndexViewModel::publishableSections(). (#20704)
  • Removed craft\web\Controller::registerCsrfValidationExclusion(). (#20864)
  • CraftCms\Cms\Element\Elements::__construct() no longer has a $placeholders argument. (#20641)
  • Added CraftCms\Cms\Asset\Data\AssetTransformRequest::$immediately and $namedTransform. (#20588, #20594)
  • Added CraftCms\Cms\Asset\AssetTransformers::withImmediateTransforms(), immediateTransforms(), and IMMEDIATE_TRANSFORMS_CONTEXT. (#20588, #20594)
  • Asset transform drivers now receive $request->immediately. (#20588, #20594)
  • Element details panels can now pass iconSvg. (#20615)
  • Element editors’ custom action menu items and footer buttons can now have an event behavior. (#20688, #20696)
  • Deprecated CraftCms\Cms\Image\CraftAssetTransformDriver::withImmediateTransforms() and IMMEDIATE_TRANSFORMS_CONTEXT. (#20588, #20594)
  • Deprecated CraftCms\Cms\Entry\Elements\Entry::metaFieldsHtml(). metaFieldsNodes() should be used instead. (#20846)
  • Added CraftCms\Cms\Dashboard\Dashboard::isWidgetTypeAvailable().
  • Added CraftCms\Cms\Http\RequestBodyLogProcessor.
  • Fixed a bug where OAuth providers’ clientId and clientSecret settings weren’t parsed for environment variables. (#20882, #20890)
  • Fixed a bug where signing in with an OAuth provider returned a 404 error on sites whose base URL has a path. (#20884, #20889)
  • Fixed a bug where OAuth providers’ “Sign in with …” buttons on the control panel login page didn’t work. (#20913, #20914)
  • Fixed a bug where users could disconnect their last sign-in provider when they had no password or passkey. (#20883, #20891)
  • Fixed a bug where element editors with legacy relation fields autosaved a provisional draft as soon as they loaded. (#20869, #20871)
  • Fixed a bug where Live Preview kept showing discarded changes. (#20839, #20858)
  • Fixed a bug where the web installer’s Port field was too narrow.
  • Fixed a bug where installing failed if the web installer’s database step was skipped. (#20819, #20824)
  • Fixed a bug where the web installer showed “[object Object]” when installing failed. (#20819, #20824)
  • Fixed a bug where the web installer’s success screen didn’t show its icon. (#20943)
  • Fixed a bug where front-end login, logout, set password, and verify email paths returned a 404 error on sites whose base URL has a path. (#20892)
  • Fixed a bug where the web installer’s “Language” options didn’t include the languages’ names. (#20818, #20824)
  • Fixed layout bugs in the web installer. (#20817, #20824)
  • Fixed an error that occurred when installing Craft from the web installer with a blank Base URL. (#20824)
  • Fixed a bug where the web installer’s primary buttons were gray. (#20824)
  • Fixed an error that occurred when batched queue jobs queued their next batch on non-sync queues. (#20791, #20812)
  • Fixed a bug where clicking a draggable item didn’t close open menus and popovers. (#20681)
  • Fixed bugs with slide pickers’ hover previews. (#20681)
  • Fixed a bug where Matrix fields’ “New entry” button did nothing in Blocks view mode when there were multiple entry types. (#20750)
  • Fixed a bug where Matrix fields’ “Create Button Label” setting wasn’t applied in Blocks view mode. (#20750)
  • Fixed a bug where sibling element query params and methods didn’t work for elements that have a parent. (#20748, #20761)
  • Fixed a bug where some control panel screens failed to load when served over plain HTTP from a hostname other than localhost. (#20680, #20695)
  • Fixed a bug where Assets fields restricted to a single location without subfolders could find and select files in its subfolders.
  • Fixed a bug where stroke-based icons were shown as filled shapes on legacy control panel screens. (#20613)
  • Fixed a bug where “New entry” menus showed section and entry type names untranslated. (#20704)
  • Fixed a bug where images cropped against the left or top edge in the Image Editor could be saved with a sliver of padding. (#20601)
  • Fixed a bug where entry selection modals didn’t have a “New entry” button. (#20598, #20652)
  • Fixed a bug where relation fields’ “Show the search input” setting had no effect. (#20598, #20654)
  • Fixed a bug where relation fields’ selection modals allowed selecting the element being edited, even when self relations weren’t allowed. (#20654)
  • Fixed a bug where new nested entries in Matrix fields turned into spinners when their owner was saved with Command/Ctrl + S. (#20616, #20657)
  • Fixed a bug where focus was lost after closing a relation field’s selection modal. (#20653)
  • Fixed a bug where focus was lost after choosing elements in an element select input that became full. (#20659)
  • Fixed a bug where pressing Esc while a toggletip was open closed its slideout or modal. (#20642)
  • Fixed a bug where linked chips didn’t show their full focus ring. (#20642)
  • Fixed a bug where typing lagged on entries with many fields. (#20637)
  • Fixed a bug where element chips in the Compare screen’s heading overflowed on narrow screens. (#20668)
  • Fixed a bug where open control panel tabs kept running a plugin’s old JavaScript after it was updated. (#20683, #20687)
  • Fixed a bug where truncated element chips cut off the wrong end of bidirectional text. (#20668)
  • Fixed a bug where the New Users widget’s chart was unstyled. (#20608)
  • Fixed a bug where invalid Icon inputs showed an extra “error” message. (#20608)
  • Fixed a bug where card view designers’ settings were capped at 500px tall. (#20596, #20658)
  • Fixed bugs with admin tables’ View menus. (#20711, #20720)
  • Fixed a bug where web components in dragged items’ previews were drawn incorrectly.
  • Fixed a bug where keys in info icons’ tooltips were hard to read in the light theme.
  • Fixed a bug where rounded element chips didn’t have circular thumbnails for non-square images.
  • Fixed a bug where text expander menus always opened below the cursor, even when there was more room above.
  • Fixed a bug where long linked element chip labels were cut off without an ellipsis.
  • Fixed a bug where context chips in Ask AI prompts could overflow the prompt’s bubble.
  • Fixed a bug where the user menu showed a “Permissions” item on Craft Solo. (#20621, #20635)
  • Fixed a bug where control panel forms could show the wrong fields after a failed save. (#20632, #20636)
  • Fixed a bug where provisional drafts were saved twice on each autosave. (#20639, #20649)
  • Fixed styling issues on legacy plugin control panel screens. (#20591)
  • Fixed a bug where plugin stylesheets and scripts shared between control panel screens could go missing after navigating between them. (#20665)
  • Fixed a bug where saving a plugin’s settings stored values from its config file in the project config. (#20624)
  • Fixed a bug where Yii HTTP exceptions thrown by legacy site controller actions resulted in 500 errors. (#20614, #20617)
  • Fixed a bug where edit/{id} control panel URLs returned a 500 error rather than a 404 for elements without edit pages. (#20698)
  • Fixed a bug where fields could be saved with the same handle as another field. (#20600, #20607)
  • Fixed an error that occurred when loading relation fields’ settings if a custom element source had a blank label. (#20723, #20734)
  • Fixed an error that occurred when saving an entry via the entries/save-entry action with an entryId param submitted as form data. (#20643)
  • Fixed an error that occurred when changing a password from My Account → Password. (#20585)
  • Fixed an error that occurred when running php artisan passport:purge. (#20676)
  • Fixed an infinite recursion when calling craft\console\User::setIdentity() with null. (#20602, #20606)
  • Fixed a bug where asset indexing included the default asset transformer’s volume directories. (#20589)
  • Fixed a bug where subclasses of core element types were authorized by the generic element policy. (#20603, #20605)
  • Fixed a bug where named image transforms were stored and indexed by their parameters rather than their handle. (#20588, #20594)
  • Fixed an error that occurred when transforming an asset that its asset transformer can’t transform. (#20588, #20594)
  • Fixed a bug where asset.getUrl() returned null for assets that their asset transformer can’t transform, when a transform was set. (#20588, #20594)
  • Fixed a bug where saving plugin settings with “Save and continue editing” could redirect to the front-end homepage. (#20619)
  • Fixed a bug where validation errors for environment-variable-aware settings ignored custom attribute labels and messages. (#20620)
  • Fixed a bug where element indexes’ Link columns showed links for non-live elements. (#20604)
  • Fixed a bug where uploaded PNGs could be saved uncompressed when GD was used. (#20618)
  • Fixed an error that occurred when uploading a sanitized image to a volume whose filesystem closes the file stream after writing it. (#20710)
  • Fixed a bug where saving the Team user group’s permissions programmatically could cause project-config/apply to fail. (#20595)
  • Fixed a bug where global nav icons shifted when the sidebar was expanded or collapsed. (#20612)
  • Fixed a bug where folder breadcrumbs had extra space after each separator. (#20612)
  • Fixed a bug where the “Saved” status in element editors’ footers wasn’t vertically centered.
  • Fixed a bug where element editors with relation fields kept running code on every animation frame while idle. (#20650)
  • Fixed a bug where CSS selectors within SVGs output by svg() didn’t always match their elements.
  • Fixed a bug where the System Messages utility suggested user variables for every message. (#20623)
  • Fixed a bug where Preview never loaded in legacy element editors for users who could view the element but not save it. (#20572)
  • Fixed a bug where element selector modals didn’t show structure levels in the “Display in a structured table” view mode. (#20664)
  • Fixed a bug where revalidating a model or element could skip attributes or check stale values. (#20690, #20693)
  • Fixed a bug where cloned models and elements were validated with the original’s values. (#20691, #20693)
  • Fixed an error that could occur when creating a revision of an element with invalid custom field values. (#20693)
  • Fixed an error that occurred when an EVENT_DEFINE_ACTION_MENU_ITEMS handler added an item with an action array. (#20688, #20696)
  • Fixed a bug where page titles set with craft\web\View::$title weren’t output. (#20706)
  • Fixed an error that occurred when validating an element with eager-loaded Assets field values. (#20707, #20712)
  • Fixed a bug where POST requests to legacy controllers with CSRF validation disabled were rejected when routed via site URL rules. (#20709, #20715)
  • Fixed a bug where legacy controllers’ beforeAction() methods were called twice on POST requests. (#20854, #20864)
  • Fixed a bug where legacy controllers’ per-action CSRF exclusions could leak into later requests on long-running processes. (#20864)
  • Fixed a bug where POST requests to legacy controllers with CSRF validation disabled were rejected when routed via control panel URL rules. (#20864)
  • Fixed an error that occurred when calling column() on an element query. (#20708, #20716)
  • Fixed a bug where project config handlers for a path weren’t called when a nested value was set before the path existed. (#20714)
  • Fixed errors that occurred when writing to volumes via legacy APIs. (#20725, #20729)
  • Fixed a bug where popovers whose content rendered after they opened could open toward the side with less room.
  • Fixed a bug where the dropdown arrows in multi-select comboboxes and rich selects didn’t line up with other selects’.
  • Fixed a bug where clicking empty space in an expanded global sidebar subnav went to the parent item’s page. (#20713, #20721)
  • Fixed an error that occurred when calling craft\helpers\Markdown::process() or processParagraph() with flavors other than original. (#20726, #20730)
  • Fixed a bug where some craft\services\Assets event handlers weren’t called. (#20746, #20759)
  • Fixed a bug where cloned entries could lose their authors. (#20724, #20732)
  • Fixed a bug where cloned elements could lose their Content Block field values. (#20732)
  • Fixed a bug where relatedTo element query params only matched relations for the first site, when querying multiple sites. (#20747, #20758)
  • Fixed a bug where input placeholder text in colored cards wasn’t tinted to match the card.
  • Fixed a bug where live-updating settings sometimes didn’t update after a change.
  • Fixed a bug where screen readers announced the “Confirm your identity” modal as a nested dialog. (#20590)
  • Fixed a bug where typing over a selected negative amount in a money input dropped the minus sign. (#20064)
  • Fixed a bug where queue workers couldn’t find control panel templates after their first loop. (#20741, #20757)
  • Fixed a bug where Link fields’ element references weren’t tracked after upgrading from Craft 5. (#20749, #20760)
  • Fixed a bug where user emails sent from the front end always linked to the primary site. (#20743, #20763)
  • Fixed an error that occurred when calling craft\web\User::setIdentity() with a user element. (#20762, #20768)
  • Fixed bugs with craft\services\Sites::saveSite() and saveGroup(). (#20787, #20811)
  • Fixed a bug where element index status menus showed custom statuses defined with a label and color as JSON. (#20736)
  • Fixed a bug where craft\services\Fields layout methods didn’t find field layouts by Craft 5 element class names. (#20788, #20815)
  • Fixed a bug where dashboard widgets could shrink when their settings were opened. (#20771)
  • Fixed a bug where running pending migrations from the control panel on MySQL restored the database backup even when the migrations succeeded. (#20784)
  • Fixed a bug where afterCommit callbacks could stop running on MySQL after installing or uninstalling a plugin, or running migrations. (#20784)
  • Fixed a bug where Craft didn’t recheck its requirements after an install was moved.
  • Fixed a bug where Craft checked its requirements on every control panel request when cacheDuration was 0.
  • Fixed a bug where storeLocalSource() did nothing when no destination was passed. (#20775)
  • Fixed a bug where queue jobs whose worker died stayed reserved. (#20792)
  • Fixed a bug where one failed queue job stopped control panel requests from running the queue. (#20792)
  • Fixed a bug where image transforms, search index updates, and asset indexing entries were never finished if their worker died. (#20792)
  • Fixed a bug where two requests could generate the same image transform at once. (#20792)
  • Fixed a bug where image transforms that failed once kept their error after they were generated. (#20792)
  • Fixed a bug where a late progress update could mark a finished queue job as running again. (#20792)
  • Fixed a bug where queue jobs pushed with a delay of 0 seconds didn’t show in the queue status. (#20792)
  • Fixed a bug where records of cancelled queue jobs were never pruned. (#20792)
  • Fixed a bug where craft\queue\Queue::status() and isFailed() read a nonexistent queue table. (#20792)
  • Fixed a bug where releases could get stuck in the “Publishing” status. (#20793)
  • Fixed a bug where deactivated, suspended, and pending users stayed signed in. (#20794)
  • Fixed a bug where concurrent failed login attempts could be miscounted. (#20794)
  • Fixed a bug where loading a user whose lockout had expired unlocked them in the database. (#20794)
  • Fixed a bug where verifying a new email address could save an address that another account already had. (#20794)
  • Fixed bugs where CraftCms\Cms\Plugin\Plugins::getPlugin() and getPluginInfo() didn’t reflect plugins enabled earlier in the request. (#20795)
  • Fixed a bug where forcing a project config sync from the control panel kept forcing changes for the rest of the request. (#20796)
  • Fixed a bug where project config events could stay muted, or changes stay forced, after a failure. (#20796)
  • Fixed a bug where finishing an update from the control panel turned off maintenance mode that an admin had turned on. (#20797)
  • Fixed a bug where the Laravel app’s own views could resolve to Craft’s control panel views. (#20798)
  • Fixed a bug where control panel templates could render with a front-end Twig environment after a system message was sent. (#20798)
  • Fixed a bug where CSS and JavaScript registered after an exception within a {% cache %} tag weren’t output. (#20798)
  • Fixed a bug where applying a draft in a queue job or MCP stdio call recorded changed fields too late, or when applying failed. (#20799)
  • Fixed a bug where bulk operations spread over several queue jobs could skip deferred work. (#20799)
  • Fixed a bug where queue workers and the MCP stdio server didn’t store deprecation warnings correctly. (#20799)
  • Fixed a bug where concurrent autosaves could create duplicate provisional drafts. (#20800)
  • Fixed an error that occurred when the Craft API returned an update with a missing or unknown status. (#20801)
  • Fixed a bug where icon sets deferred after icon sets were first read were never registered. (#20801)
  • Fixed an n+1 query bug when working with Content Block fields. (#20776)
  • Fixed a bug where renaming an asset folder didn’t update subfolders’ paths if their case differed. (#20773)
  • Fixed a bug where unitless editable table column widths weren’t treated as pixels. (#20781, #20808)
  • Fixed a bug where element chips were hard to see in highlighted options. (#20778, #20807)
  • Fixed a bug where EntryMetaFieldsResolving listeners and EVENT_DEFINE_META_FIELDS handlers didn’t affect the entry edit screen. (#20846)
  • Fixed a bug where PHP scripts that booted Craft with the Yii2 adapter exited with status 0 on uncaught exceptions. (#20822, #20830)
  • Fixed a bug where applying an outdated draft could delete other sites’ nested entries. (#20838)
  • Fixed a bug where changing a Link field’s label in a draft could cause autosave to run repeatedly. (#20870)
  • Fixed a bug where craft-tooltip text didn’t always wrap. (#20891)
  • Fixed a bug where nested element fields on initially hidden tabs didn’t collapse their “Add {type}” buttons into a menu. (#20893)
  • Fixed an error that occurred when saving an element from a front-end form with a file uploaded to an Assets field. (#20881)
  • Fixed a bug where menus, popovers, and tooltips opened toward the wrong side in right-to-left languages. (#20900)
  • Fixed a bug where some icons weren’t mirrored in right-to-left languages. (#20900)
  • Fixed a bug where Markdown fields didn’t track ref tags that look like emoji shortcodes. (#20901)
  • Fixed bugs with the global sidebar when closed on smaller screens. (#20897)
  • 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 palette colors. (#20916)
  • Fixed a bug where uploading a 16-bit greyscale PNG with Imagick merged its grey levels and saved it as a color image. (#20926)
  • Fixed a bug where the entrify/categories and entrify/tags commands deleted custom entry sources restricted to user groups. (#20875)
  • Fixed a bug where element indexes didn’t show the “Edit inline” button in Structure view. (#20867, #20909)
  • Fixed a bug where deleting a global set deleted every field layout. (#20915)
  • Fixed a bug where the updater’s page title was “updater/Index”. (#20925)
  • Fixed a bug where asset indexes didn’t preload thumbnails when a thumbnail URL listener was registered. (#20831, #20927)
  • Fixed a bug where the “globe” icon was blank in some places. (#20931, #20939)
  • Fixed a bug where element cards’ titles, chip attributes, and status badges had no space between them, and chip attributes were cut off on cover cards. (#20947)
  • Fixed a moderate-severity SSRF vulnerability. (GHSA-53c3-ggrg-m3hg)
  • Fixed a moderate-severity RCE vulnerability. (GHSA-2xwp-6jjc-hfmm)
  • Fixed a moderate-severity authorization bypass vulnerability. (GHSA-r4pw-6wr6-6rm8)
  • Fixed a low-severity information disclosure vulnerability.

Don't miss a new cms release

NewReleases is sending notifications on new releases.