Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 794.96 KB
MD5: 9c8ccb58b1aa490fc53d1e1734361837
SHA-1: 2782dcf6d933d918d2c9bac5d067367024584842
SHA-256: 66b38107d053ad6c10c53713df3e6b162e07b671f14ae98f337d5655d57d07d8
Download zip 1.32 MB
MD5: 8eb449d4e12c3e281baeb3522fe50459
SHA-1: b35ec107aadbb45d5f2f783d0455a6588ccbedb7
SHA-256: f7867837991a9b501e9e30495d8aa9328e90b8dac5b880e961bca9b0f380955a

Release notes

Security
- sdx_preflight's validate endpoint is gated like the create form it stands in for: an authenticated account with create access on the entity type and bundle, content entity types only, and only the fields the caller may edit are set and reported. It was open to any "access content" holder on every entity type. All sites using sdx_preflight should update.

- SafeHtml (now @sdx/base/SafeHtml in sdx_react, replacing the copies in sdx_react_base and sdx_aurora) rebuilds each allowed tag's attributes from a real parse: event handlers are dropped whatever the quoting, href is decoded and stripped of control characters before the scheme check, values are re-emitted escaped, comments and CDATA are removed. Covered by unit tests.

- Vite dev-server PID and log files live under the framework's private:// build-config directory instead of the shared system temp directory.

- drush sdx:exec accepts a bare binary name only; a path with separators no longer escapes node_modules/.bin.

- The import map JSON is encoded with JSON_HEX_TAG.

Fixed
- Structured dialog and AJAX payloads render on Vue and Svelte sites. Drupal.sdx.renderStructured / unmountStructured were installed only by sdx_react, so on a Vue or Svelte site every structured response queued forever and the dialog body stayed empty. The queue/install logic moved into @sdx/core/structured-render, the ajax interceptor and dialog adapter share it, and each framework module ships an @sdx/base/installDialogBridge imported by its DrupalApp and DefaultLayout.

- The Svelte app boots again from the generated app entry: DrupalApp accepts initialData and ssrRegistry (the names the entry and SSR stubs pass) and a componentRegistry defaulting to the generated one; DefaultLayout subscribes to the context stores and renders the DataProvider component or the page content.

- The Vue component registry no longer imports React theme templates: themes are filtered by their own framework, not by the file extensions they happen to share.

- DrupalApp.vue provides the template registry ComponentTree expects (a Map under sdxComponentRegistry); the DataProvider registry moved to sdxDataProviderRegistry.

- @sdx/useDeferredProps and @sdx/useLazyProp are registered by all three framework modules; the guide documented them and no hook provided them.

Changed
- sdx_svelte's hooks are thin readable() adapters over the shared @sdx/core stores (useAsyncState, useChannel, usePresence, useConfirmModal, useForm, useReactive, usePage), mirroring sdx_vue; the standalone reimplementations with their own fetch, CSRF and batch-polling code are gone. Public shape kept; createPageStore remains as an alias of usePage. DrupalApp.svelte composes those hooks and its ctx exposes stores throughout.

- SdxComponentBlock fetches the optional props-form builder with ContainerInterface::NULL_ON_INVALID_REFERENCE.

Created by: vzsigmond
Created on: 17 Aug 2026 at 16:33 UTC
Last updated: 17 Aug 2026 at 16:33 UTC
Bug fixes

Other releases