@lwc/shared
9.5.3 · 27 Oct 2026MIT510.2k / weekRepositoryHomepagenpmAtom feed
Upgrading @lwc/shared from 1.1.16 to 1.2.0
1 release in betweenevery note read
- 3
- changes to make
- 0
- advisories fixed
- 2
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- breaking1.2.0
- breaking1.2.0
- deprecated1.2.0
Release by release
- new
#1687 - template-compiler: Add support for content attributes with leading hyphens. Until now, component authors were able to define component properties in Pascal case but users were not able to set those properties in their templates. Users can now set the value of a Pascal case property by adding a leading hyphen to the attribute (e.g.,
@api FooBarcan be set via-foo-bar={awesomeValue}) - new
#1652 - synthetic-shadow: Add
tscas part of the build.tscshould run before rollup to catch TypeScript-related errors. - fixed
#1676 - synthetic-shadow: Fix a bug in the
Eventpolyfill so that the composed option is respected when instantiating an instance ofEvent. The previous behavior ignored the composed option and only considered the type of the event when accessing the composed property of anEventinstance. This polyfill exists to normalize the behavior of some browsers that incorrectly set the composed property of natively composed events. - fixed
#1683 - features: Fix a bug where unary negation of a runtime feature flag was being interpreted as a compile-time boolean false.
- new
3 other lines we could not sort, mostly version bumps
- 1.2.0
#1682: Remove usage of white/black as good/bad. Implements the “tone” guidelines for the WHATWG style guide.
- 1.2.0
#1692 - engine: Refactor the way error boundaries are computed by decoupling the logic from the DOM.
- 1.2.0
engine: Improve our usage of internal types.
2 internal lines (docs, tests, tooling) left out.