Releases: symfony/stimulus-bridge
v4.0.0
Breaking changes
- Drop support for Node.js <18, by @Kocal in #94 and #98
This should not affect most users since previous versions of Node.js are not maintained anymore, and Node.js 18 is in maintenance LTS.
Features
- Thus having no effects on the
dist/
files, TypeScriptmodule
is now set toESNext
,moduleResolution
toNodeNext
, andtarget
toES2021
by @Kocal in #99 - Upgrade minimum supported
acorn
version to 8.2.0 by @Kocal in #110 - Add support for
loader-utils@^3.0.0
andschema-utils@^4.0.0
by @Kocal in #111 - Move
acorn
dependency to devDependency, as it is already bundled in dist files, by @Kocal in #114
Internal
- [CI] Ensure tests are run under multiple Node.js versions by @Kocal in #94
- [CI] Check for un-built JS dist files by, @Kocal in #96
- [CI] Run tests for lowest/locked/highest dependency versions by @Kocal in #111
- Replace ESLint and Prettier by Biome.js by @Kocal in #95
- Migrate from Rollup to Rolldown by @Kocal in #99
- Migrate from Yarn to pnpm by @Kocal in #108
- Migrate from Jest to Vitest by @Kocal in #115
- Migrate or remove Babel in favor of Acorn by @Kocal in #116
- Add a contribution guide by @Kocal in #117
Full Changelog: v3.2.3...v4.0.0
Improved ECMAScript compatibility to lazy-load controllers
What's Changed
- Add missing
@babel/plugin-proposal-class-properties
dev dependency by @Kocal in #92 - Fix lazy-controller detection when controller contain static properties (update
acorn
ECMAScript version) by @ameotoko in #93
New Contributors
Full Changelog: v3.2.2...v3.2.3
Faster Controller Registration
Hi there!
This release fixes a bug where UX controllers were registered slightly later during the page load process than they needed to be, causing them to be registered after the DOM was ready instead of before. This was virtually unnoticeable, but fixing this will add better support for UX Live Components 2.8.0 when leveraging the new "smart rendering system.
Diff: v3.2.1...v3.2.2
Cheers!
Bug fix for slashes in controller names
Hi there!
This release fixes a bug in how slashes are normalized when using the new name
controller option introduced in version 3.2.0.
Diff: v3.2.0...v3.2.1
Cheers!
Configurable controller names & TypeScript Types!
Hi there!
This release makes it possible for packages to control the name of the package they give you (to override the default of vendor/package-name/name
. This is used, for example, in Live Components via the name
key: https://github.com/symfony/ux/blob/2.x/src/LiveComponent/assets/package.json
This release also embeds TypeScript types right into the package.
Diff: v3.1.0...v3.2.0
Features
-
Allow the controller name to be overridden by the package or user. See #70.
-
Moved TypeScript types into the package. See #55.
Cheers!
Automatic "debug" mode enabled
Hi friends!
This release adds automatic debug mode activation when doing a dev build. You will now, while developing, see debugging information in your browser's console log! See #65.
Diff: v3.0.0...v3.1.0
Happy building!