Major Changes
-
#3751
dfd747cf
- Simplify lit-html attribute handling for standards-compliant browsers that iterate attributes in source order -
#4254
1040f758
- Change the type ofReactiveElement.renderRoot
and return type ofReactiveElement.createRenderRoot()
to beHTMLElement | DocumentFragment
to match each other and lit-html'srender()
method. -
#4146
0f6878dc
- Generated accessor for reactive properties now wrap user accessors and automatically callthis.requestUpdate()
in the setter. As in previous versions, users can still specifynoAccessor: true
, in which case they should callthis.requestUpdate()
themselves in the setter if they want to trigger a reactive update. -
#3750
c3e473b4
- Use toggleAttribute() to simplify boolean attribute parts -
#3850
7e8491d4
- Delete deprecated queryAssignedNodes behavior and arguments.Migrate deprecated usage with a selector argument to use
@queryAssignedElements
. E.g.:@queryAssignedNodes('list', true, '.item')
to
@queryAssignedElements({slot: '', flatten: false, selector: '.item'})
. -
#3754
76795a18
- Remove UpdatingElement alias for ReactiveElement -
#3765
92cedaa2
- Remove experimental hydrate modules. These are available from@lit-labs/ssr-client
.