Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@lit-labs/[email protected]
Minor Changes
#4322
2896209b- Remove dependencies on Node-specific libaries. This change requries passing a path separator toabsoluteToPackage().#4260
7a9804ad- Adds TypeScript node reference to analyzer model objects@lit/[email protected]
Patch Changes
#4329
df1980fe- Remove dependency onlitpackage. All implementation code only uses@lit/reactive-element.litis moved to dev dependencies as it is still used for tests.#4286
1fb7a108- Fix erroneous description for the JSDoc on the@provide()decorator.#4287
4edf9bc8- Broaden the host type of context controllers and decorators to be compatible with Lit 2@lit-labs/[email protected]
Patch Changes
2896209b,7a9804ad]:@lit-labs/[email protected]
Patch Changes
df1980fe,1fb7a108,4edf9bc8]:@lit-labs/[email protected]
Patch Changes
#4311
cabe72a8- Update version range forlitdependency to include v2. This allows projects still on lit v2 to use this package without being forced to install lit v3.#4314
f9c3659f- Fix ModuleLoader so it can load modules concurrently.@lit-labs/[email protected]
Patch Changes
2896209b,7a9804ad]:@lit-labs/[email protected]
Patch Changes
2896209b,7a9804ad]:@lit-labs/[email protected]
Patch Changes
#4301
0d6ca983- No longer include prerelease version of@lit/reactin generated package.json.Updated dependencies [
2896209b,7a9804ad]:@lit-labs/[email protected]
Patch Changes
#4306
c28ebba1- Update dependency version to refer to stable versions, rather than pre-release versions of our own packages.Updated dependencies [
2896209b,7a9804ad]:@lit-labs/[email protected]
Patch Changes
fffa4406- Update version range forlitdependency to include v2 (and/or@lit/reactive-elementv1). This allows projects still on lit v2 to use this package without being forced to install lit v3.@lit-labs/[email protected]
Patch Changes
c28ebba1- Update dependency version to refer to stable versions, rather than pre-release versions of our own packages.@lit-labs/[email protected]
Patch Changes
fffa4406- Update version range forlitdependency to include v2 (and/or@lit/reactive-elementv1). This allows projects still on lit v2 to use this package without being forced to install lit v3.@lit-labs/[email protected]
Patch Changes
fffa4406- Update version range forlitdependency to include v2 (and/or@lit/reactive-elementv1). This allows projects still on lit v2 to use this package without being forced to install lit v3.@lit-labs/[email protected]
Patch Changes
fffa4406- Update version range forlitdependency to include v2 (and/or@lit/reactive-elementv1). This allows projects still on lit v2 to use this package without being forced to install lit v3.@lit-labs/[email protected]
Patch Changes
fffa4406- Update version range forlitdependency to include v2 (and/or@lit/reactive-elementv1). This allows projects still on lit v2 to use this package without being forced to install lit v3.@lit-labs/[email protected]
Patch Changes
#4311
cabe72a8- Update version range forlitdependency to include v2. This allows projects still on lit v2 to use this package without being forced to install lit v3.#4314
f9c3659f- Fix ModuleLoader so it can load modules concurrently.#4298
c05767c2- Fix svg templates getting surrounded by empty<svg></svg>tags when rendered.@lit-labs/[email protected]
Patch Changes
#4311
cabe72a8- Update version range forlitdependency to include v2. This allows projects still on lit v2 to use this package without being forced to install lit v3.#4312
26182733- Avoid nullish logical assignment in hydrate-lit-html which some minification process would not handle correctly. Fixes hydration errors in Next.js production bundles.@lit-labs/[email protected]
Patch Changes
cabe72a8- Removedlitpackage from dependency. It is now listed as a dev dependency since it is only used for testing.@lit-labs/[email protected]
Patch Changes
#4306
c28ebba1- Update version range forlitdependency to include v2. This allows projects still on lit v2 to use this package without being forced to install lit v3.#4306
c28ebba1- Update dependency version to refer to stable versions, rather than pre-release versions of our own packages.@lit-labs/[email protected]
Patch Changes
#4291
81806d4cThanks @graynorton! - Update version range for lit dependency to include Lit 2 and 3#4233
f84963d8Thanks @steverep! - Guard against layout updates or re-observing when disconnected (fixes [labs/virtualizer] TypeError: Cannot destructure property 'scrollTop' of 'this._scrollerController' as it is nullΒ #4182, [labs/virtualizer] Virtualizer renders the entire list of items multiple times when invisible Β #3831)[email protected]
Patch Changes
#4240
edf998c9Thanks @remziatay! - Improved the type inferece of thechoose()directive to properly restrict the case type inferred from provided value. Note: If this change creates a type error in your code, there must have been an unreachable case that can be removed, or the type of yourvaluemight be missing a valid case in the union.#4310
8f674ab3Thanks @megheaiulian! - Thewhen()directive now calls the case functions with the provided condition value as an argument. This allows the narrowing of types for the condition value based on its truthiness when used as a parameter for the case function.#4284
89a5b088- Allownullto be in the type of@query()decorated fields[email protected]
Patch Changes
#4284
89a5b088- Allownullto be in the type of@query()decorated fields#4306
c28ebba1- Update dependency version to refer to stable versions, rather than pre-release versions of our own packages.[email protected]
Patch Changes
#4240
edf998c9Thanks @remziatay! - Improved the type inferece of thechoose()directive to properly restrict the case type inferred from provided value. Note: If this change creates a type error in your code, there must have been an unreachable case that can be removed, or the type of yourvaluemight be missing a valid case in the union.#4310
8f674ab3Thanks @megheaiulian! - Thewhen()directive now calls the case functions with the provided condition value as an argument. This allows the narrowing of types for the condition value based on its truthiness when used as a parameter for the case function.@lit/[email protected]
Patch Changes
#4326
75943d95- Loosen type for the@localized()decorator to be able to decorate anyReactiveControllerHostwhich also alleviates type errors that could arise with multiple copies of@lit/reactive-elementpresent in the project. Also remove dependency on@lit/reactive-elementas it is already covered by thelitdependency.#4299
fffa4406- Update version range forlitdependency to include v2 (and/or@lit/reactive-elementv1). This allows projects still on lit v2 to use this package without being forced to install lit v3.@lit/[email protected]
Patch Changes
fffa4406- Update version range forlitdependency to include v2 (and/or@lit/reactive-elementv1). This allows projects still on lit v2 to use this package without being forced to install lit v3.@lit/[email protected]
Patch Changes
#4284
89a5b088- Allownullto be in the type of@query()decorated fields#4306
c28ebba1- Update dependency version to refer to stable versions, rather than pre-release versions of our own packages.@lit-examples/[email protected]
Patch Changes
edf998c9,8f674ab3,89a5b088,c28ebba1]:@lit-labs/[email protected]
Patch Changes
2896209b,7a9804ad]: