This patch release improves compatibility with Drupal 11.3 and cleans up some rough edges in Canvas, both in the backend code and in the user interface (see this video for more information). Component config entities are now updated only when actually necessary.

Contributors (26)

aryan singh, aryan_singh, attilatilman, balintbrews, bnjmnm, effulgentsia, gábor hojtsy, isholgueras, jessebaker, kunal.sachdev, larowlan, lauriii, mglaman, narendrar, orkut murat yılmaz, penyaskito, phenaproxima, seattlehimay, tedbow, tim.plunkett, utkarsh_33, vishalkhode, wim leers, wotnak

Changelog

Issues: 21 issues resolved.

Changes since 1.0.0 (compare):

Bug

  • feat: #3555154 Canvas AI: Update the image's src prop to use latest schema.
  • fix: #3549574 [upstream] [11.3 behavior change] Infinite loop when rendering `PageRegion`s on Drupal 11.3
  • fix(Shape matching): #3547579 Introduce a new cache tags aware prop shape repository, so changes affecting prop shape calculation can force the re-invoke of hook_canvas_storable_shape_prop_alter
  • fix(Internal HTTP API): #3558747 `canvas.api.layout.post` routes missing `_format: 'json'` requirement

Feature

  • feat(CLI Tool): #3560957 Switch CLI tool to local-first global.css builds with explicit sync control
  • feat: #3560419 Make bundled packages and utils used in code components available outside Canvas
  • chore: #3560419 update eslint-config version used in CLI to include changes related to the new drupal-canvas package

Task

  • chore: #3562067 Update PHPCS config to match Drupal 11
  • feat: #3531766 Support designating a code component slot as the React component's `children` prop to allow JSX nesting
  • chore(Component sources): #3561267 Remove BlockComponent::componentIdFromBlockPluginId
  • Resolve #3562087 "Reduce rerenders"
  • chore: #3562459 Update PHPCS config to match Drupal 11
  • feat: #3561018 Refactor, improve UX of side panels, and introduce component management
  • feat: #3555442 Simplify Props Form Logic
  • chore: #3562100 Remove usages of code deprecated in Symfony 7.4
  • feat(CLI Tool): #3560941 Remove verbose mode in CLI tool, always surface all errors
  • chore(Data model): #3562879 Document how dangling component trees get validation constraints assigned
  • feat: #3562879 Document how dangling component trees get validation constraints assigned
  • chore: #3563527 Update PHPCS config to match Drupal 11
  • feat: #3562420 Draft content is not available for preview in Canvas
  • feat(AI): #3548637 Give AI more context about the libraries present in Canvas

Change Records

VCS Label
1.0.1
Release type
Packaged Git sha1
9545ac9ef6278eed45eb39935090a2a156114e2f
Release files