Install
Works with Drupal: ^11.2Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Providing Search API integration to allow indexing SDC and Code Component instances in Canvas Pages.
Shape matching improvements in content templates: timestamps will be suggested for date props in your components, and will stop being suggested for integer props.
Other bugfixes, including several cache invalidation issues, so upgrading is not only suggested, but strongly recommended.
Contributors (34)
amangrover90, apmsooner, attilatilman, balintbrews, catch, daniel.j, effulgentsia, f.mazeikis, gábor hojtsy, hooroomoo, isholgueras, jessebaker, kristen pol, larowlan, lauriii, mayur-sose, mglaman, mohit_aghera, mortona2k, mstrelan, oskar_calvo, pameeela, penyaskito, phenaproxima, q0rban, shilpatotagi, skymen, tedbow, tim.plunkett, vaza18, wim leers, wotnak
Changelog
Issues: 25 issues resolved.
Changes since 1.0.1 (compare):
Bug
- fix(Documentation): #3563788 Incorrect documentation link for code components data fetching
- fix(AI): #3564164 HEAD BROKEN: `\Drupal\Tests\canvas_ai\Kernel\CanvasPackagesDocsFileHashTest` depends on file hash
- chore(CI): #3546166 Update tugboat integration
- fix(Tests): #3562563 Ensure timestamps are predictable to avoid flaky phpunit tests
- fix(Page builder): #3565616 Front-end performance: only attach track_navigation asset library for users that can access the Canvas UI
- fix(Redux-integrated field widgets): #3550882 Empty (optinal) date prop throws error upon reload, due to bug in client-side transform
- fix(Page builder): #3557118 Cacheable metadata lost when viewing a node when no content template is present
- fix(Theme builder): #3566465 Fix cache invalidation for clsx and tailwind-merge chunks in astro-hydration build
- fix(Theme builder): #3566465 Improve cache invalidation fix for clsx and tailwind-merge chunks in astro-hydration build
Feature
- feat(CLI Tool): #3563860 Add ability to use arbitrary repositories as templates in @drupal-canvas/create CLI
- feat(Component sources): #3561272 Add the ability for ComponentSourceManager to generate a Component config entity for a single source, or even a single specific component
- feat(Page): #3534466 Integrate with Search API: index inputs of component instances that are populated using fields (SDC + code components)
- feat(Shape matching): #3563380 Allow linking integer timestamps to `type: string, format: date`: allow `DynamicPropSource` to optionally use a single-input adapter plugin
Plan
- feat: #3509115 [META] Plan to allow editing props and slots for exposed code components
Task
- chore(CLI Tool): bump @drupal-canvas/create version to 0.1.0
- chore: Bump packages/drupal-canvas to 0.1.1
- chore(Config management): #3549726 Remove `category` from `Component` config entities, add `ComponentSourceInterface::determineDefaultFolder()` instead
- feat(Data model): #3560005 Require component instances to use the field type + storage + instance settings dictated by the `Component` version
- chore: #3564526 Hide the Canvas Vite module
- fix(CI): #3564618 Fix lint php job
- feat(Internal HTTP API): #3556337 BE: Ensure we support adding a new optional prop to an in-use code component
- ci: #3561392 Pin _GITLAB_TEMPLATES_REPO ref to 1.12.x, so CORE_STABLE is still 11.2.x
- chore(Config management): #3528360 Create unit test coverage for `ValidSlotNameConstraintValidator`
- chore(Component sources): #3565718 Validate `GeneratedFieldExplicitInputUxComponentSourceBase`-powered Component config entity props' `required` value matches the actual source for the `active` version
- feat(Shape matching): #3533675 Avoid suggesting UNIX timestamp integers for `type: integer` props
- chore(Shape matching): #3566524 Minor Twig improvements for `all-props` test SDC
- chore(Page builder): #3567087 Update UI packages