Skip to content

6.0.0-alpha.17

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Aug 21:13
· 3 commits to 5.x since this release
6.0.0-alpha.17
d2cc1d7
  • Improved template resource cache collection by replaying structured HTML stack entries without parsing rendered tags.
  • Changed CraftCms\Cms\Auth\Passkeys\Passkeys::verifyPasskey() to return the updated credential record on success.
  • Changed GraphQL AST value decoding to use webonyx/graphql-php while preserving Craft-specific query condition validation.
  • Improved element queries to retain only explicitly supplied custom-field criteria.
  • Improved CraftCms\Cms\Form\FormResolver performance by indexing control paths and node UIDs for membership checks.
  • Added CraftCms\Cms\Http\ResponseHeaders and CraftCms\Cms\Support\Facades\ResponseHeaders for accumulating response headers within the current request scope.
  • Improved job progress persistence by using an atomic upsert.
  • Changed CraftCms\Cms\Support\Json::decode() to use exception-based JSON decoding.
  • Changed craft:db:drop-all-tables to use Laravel’s schema API.
  • Replaced the asset index lifecycle flags with CraftCms\Cms\Asset\Enums\AssetIndexStatus and explicit status transitions.
  • Added CraftCms\Cms\Plugin\Plugin::settingsForm() for defining standard plugin settings pages with the Control Panel Form system. (#19439)
  • Removed CraftCms\Cms\Plugin\Plugin::settingsHtml(). settingsForm() should be used instead; Yii-era plugin settings HTML remains supported by craftcms/yii2-adapter. (#19439)
  • Safe HTML elements are now allowed within Markdown field layout elements. (#19426)
  • Added a slideout system for the Inertia/Vue Control Panel, which renders any CpScreenResponse-based screen as an in-page panel from a normal Inertia response, alongside the existing legacy Craft.CpScreenSlideout. (#19354)
  • Added CraftCms\Cms\Http\Responses\CpScreenResponse::screenData(). (#19354)
  • Removed the Pane.vue Vue component in favor of the craft-pane web component. (#19398)
  • Element edit screens now autosave when the form’s values actually differ from the server’s, rather than whenever a control reports a change.
  • Improved structure mutation reliability by representing each pending change as a single immutable operation.
  • Improved Project Config change event handler registration by keeping callbacks and ordering metadata together.
  • Fixed a bug where Table field column handles became arrays after failed validation.
  • Fixed a bug where nested or concurrent searches could overwrite another search’s parser state.
  • Fixed a bug where cached user permission trees could become stale after permission changes or be modified by assignability filtering.
  • Fixed inconsistent handling of forced-disabled plugin configuration values.
  • Fixed a bug where CraftCms\Cms\Edition capability checks could report capabilities from the configured edition rather than the receiver.
  • Fixed a bug where throwing validation could run the validation lifecycle twice.
  • Fixed a bug where CraftCms\Cms\Element\ElementCollection::with() could pass incompatible element classes into eager loading.
  • Fixed a bug where cache options and tags registered via CraftCms\Cms\Utility\Utilities\ClearCaches::add() and addTag() were unavailable as Artisan commands.
  • Fixed a JavaScript error that occurred on non-Inertial pages that rendered field layout designers. (#19380)
  • Fixed a bug where Yii asset bundles registered with craft\web\View::registerAssetBundle() during plugin initialization were not included in rendered pages. (#19393)
  • Fixed a bug where legacy asset bundle dependencies could be rendered after their dependent resources when using craftcms/yii2-adapter. (#19394)
  • Fixed an error that occurred when config/craft/app.web.php or config/craft/app.console.php was present.
  • Fixed a bug where jobs run on the sync queue could remain marked as reserved after completing. (#19431)
  • Fixed a bug where Addresses fields weren’t reading the value posted by the Control Panel form, so removing every address didn’t stick and blank addresses could be created. (#19432)
  • Fixed a bug where newly-added Matrix entries and addresses showed a spinner indefinitely in the Inertia/Vue element editor, rather than their fields.
  • Fixed a bug where opening an element edit page with a Money field immediately created a provisional draft, before anything had been edited.
  • Fixed a bug where the jobprogress table was missing dateCompleted and dateFailed columns for installs that were upgraded from Craft 5.
  • Fixed a bug where failed queue jobs were losing their descriptions. (#19444)
  • Fixed a bug where queue job details in the Queue Manager utility included “Error” and timestamp values even if they were null.