New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Packages #3717
Version Packages #3717
Conversation
📊 Tachometer Benchmark ResultsSummary⏳ Benchmarks are currently running. Results below are out of date. nop-update
render
update
Results⏳ Benchmarks are currently running. Results below are out of date. ⏱ lit-element-list
render
update
update-reflect
⏱ lit-html-kitchen-sink
render
update
nop-update
⏱ lit-html-repeat
render
update
⏱ lit-html-template-heavy
render
update
⏱ reactive-element-list
render
update
update-reflect
|
512408e
to
eef3419
Compare
- Add SSR only notes to lines that only affect hydration logic - Update PR/commit link for a line in SSR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve the virtualizer release
"@lit/reactive-element": "^1.3.0", | ||
"lit-html": "^2.2.0" | ||
"lit-html": "^2.7.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this bump?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was done automatically by changesets. I don't think there's any specific code changes in lit-element
in this release that directly depends on the new changes in lit-html
, but for users of SSR, they'd need both of these to be the latest version.
With our suggested method of using Lit being via the lit
package which'll depend on the latest of both of these, I don't think it hurts to make sure these core packages depend on the latest version available to encourage updating in lock-step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's true. If lit
depends on latest, lit-element
might as well too
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/virtualizer@2.0.0
Major Changes
e51ff229
- ResizeObserver polyfill is no longer automatically loaded. If you target older browsers without native ResizeObserver support, see the docs for guidance on manual polyfill loading.Minor Changes
54046b0b
- RangeChangedEvent and VisibilityChangedEvent both no longer bubble up. Listeners for these events must be placed on the lit-virtualizer or virtualize directive's host element.Patch Changes
#3606
441baca2
- Trigger reflow after padding is set#3624
e51ff229
- Additional fix for #3481: Error when immediately re-rendering; initialization code significantly simplifiedUpdated dependencies [
b95c86e5
,e00f6f52
,88a40177
]:@lit-labs/analyzer@0.6.0
Minor Changes
#3621
dfdc3f71
- Added analysys of vanilla custom elements that extend HTMLElement.#3662
cabc6189
- Added support for analyzing const variables initialized to class or function expressions as ClassDeclaration and FunctionDeclaration, respectively.#3658
b7b01c0d
- JSDoc types in TS files now have no effect on the analyzer's output, matching TS itself.#3702
520b4713
- Adds support for overloaded functions. Methods of model objects that accept astring key will now specifically return the
FunctionDeclaration
of theimplementation signature of an overloaded function, which has a new
overloads
field containing a
FunctionOverloadDeclaration
for each overload signature.#3648
39ac5275
- Fix support for static class members by storing them in separate maps by name.#3655
7e20a528
- Added support for analyzing function declarations.#3529
389d0c55
- Added CLI improvements:Added more analysis support and manifest emit:
@lit-labs/cli@0.4.0
Minor Changes
#3529
389d0c55
- Added CLI improvements:Added more analysis support and manifest emit:
Patch Changes
dfdc3f71
,cabc6189
,b7b01c0d
,520b4713
,39ac5275
,7e20a528
,389d0c55
]:@lit-labs/context@0.3.0
Minor Changes
2fa009f3
- Add options object to ContextConsumer and ContextProvider constructors. Deprecate positional forms.Patch Changes
#3691
4fa03114
- Work around a common bug in compilers that target ES5 when extending built in classes like Event.#3628
61ce8148
- Add type parameter for key to createContext()#3451
7c93499c
- Make ContextRoot deduplicate context requests by element and callback identity#3698
b9c27c51
- Explicitly annotate the this value of a set function. This makes some tooling happier.Updated dependencies [
b95c86e5
,e00f6f52
,88a40177
]:@lit-labs/nextjs@0.1.0
Minor Changes
#3613
be182929
- Initial release of@lit-labs/nextjs
package.This package contains a plugin for Next.js that enables deep server rendering of Lit components.
Patch Changes
b731bb5e
]:@lit-labs/ssr@3.1.0
Minor Changes
#3599
ca74ff6e
- Forwards compatibility for Declarative Shadow DOM's shadowrootmode rename#3677
b95c86e5
- Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.#3667
e00f6f52
- Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like<textarea>
. Fixes [labs/ssr] Binding to textarea results comment node errantly added inside textarea #3663.Note:
@lit-labs/ssr
andlit-html
must be updated together.Patch Changes
#3712
f2eb9796
- Fix a few things in the README#3719
a5a584d5
- Make FallbackRenderer not emit a shadow root#3584
61ec3dab
- Removeabstract
from members of the ElementRendererConstructor typeUpdated dependencies [
4d698430
,b95c86e5
,b95c86e5
,e00f6f52
,88a40177
]:@lit-labs/ssr-dom-shim@1.1.0
Minor Changes
b95c86e5
- Add rough support for HTMLElement.prototype.attachInternals@lit-labs/ssr-react@0.1.0
Minor Changes
#3605
b731bb5e
- Initial release of@lit-labs/ssr-react
package.This package contains tools to deeply server render Lit components being used in React projects.
Patch Changes
f2eb9796
,ca74ff6e
,b95c86e5
,e00f6f52
,a5a584d5
,61ec3dab
,88a40177
]:@lit-labs/task@2.1.0
Minor Changes
65df149f
- Fix the change-in-update warning from Tasks by delaying the initial host updatelit@2.7.0
Minor Changes
#3677
b95c86e5
- Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.#3667
e00f6f52
- Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like<textarea>
. Fixes [labs/ssr] Binding to textarea results comment node errantly added inside textarea #3663.Note:
@lit-labs/ssr
andlit-html
must be updated together.Patch Changes
#3583
88a40177
- Add more detail to some hydration errorsUpdated dependencies [
4d698430
,b95c86e5
,e00f6f52
,88a40177
]:lit-element@3.3.0
Minor Changes
b95c86e5
- Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.Patch Changes
4d698430
,b95c86e5
,e00f6f52
,88a40177
]:lit-html@2.7.0
Minor Changes
#3667
e00f6f52
- Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like<textarea>
. Fixes [labs/ssr] Binding to textarea results comment node errantly added inside textarea #3663.Note:
@lit-labs/ssr
andlit-html
must be updated together.Patch Changes
#3615
4d698430
- Don't throw inChildPart.parentNode
if theparentNode
is null#3583
88a40177
- Add more detail to some hydration errors@lit-labs/gen-utils@0.2.1
Patch Changes
dfdc3f71
,cabc6189
,b7b01c0d
,520b4713
,39ac5275
,7e20a528
,389d0c55
]:@lit-labs/gen-wrapper-react@0.2.3
Patch Changes
dfdc3f71
,cabc6189
,b7b01c0d
,520b4713
,39ac5275
,7e20a528
,389d0c55
]:@lit-labs/gen-wrapper-vue@0.2.3
Patch Changes
dfdc3f71
,cabc6189
,b7b01c0d
,520b4713
,39ac5275
,7e20a528
,389d0c55
]:@lit/localize-tools@0.6.8
Patch Changes
#3674
52ab0872
- Fix incorrect extraction of html embedded within htmlUpdated dependencies [
b95c86e5
,e00f6f52
,88a40177
]:@lit-labs/gen-manifest@0.2.0
Minor Changes
#3529
389d0c55
- Added CLI improvements:Added more analysis support and manifest emit:
Patch Changes
dfdc3f71
,cabc6189
,b7b01c0d
,520b4713
,39ac5275
,7e20a528
,389d0c55
]:@lit-labs/gen-wrapper-angular@0.0.5
Patch Changes
dfdc3f71
,cabc6189
,b7b01c0d
,520b4713
,39ac5275
,7e20a528
,389d0c55
]: