File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# @patternfly/pfe-core
22
3+ ## 5.0.0
4+ ### Major Changes
5+
6+ - 0277045: Enable ` connectedCallback() ` and context protocol in SSR scenarios.
7+
8+ BREAKING CHANGE
9+ This change affects any element which is expected to execute in node JS when
10+ lit-ssr shims are present. By enabling the ` connectedCallback() ` to execute
11+ server side. Elements must ensure that their connectedCallbacks do not try to
12+ access the DOM.
13+
14+ Before:
15+
16+ ``` js
17+ connectedCallback () {
18+ super .connectedCallback ();
19+ this .items = this .querySelectorAll (' my-item' );
20+ }
21+ ```
22+
23+ After:
24+ ``` js
25+ connectedCallback () {
26+ super .connectedCallback ();
27+ if (! isServer) {
28+ this .items = this .querySelectorAll (' my-item' );
29+ }
30+ }
31+ ```
32+
33+ ### Patch Changes
34+
35+ - a2f3254: ` ScrollSpyController ` : respond to hashchange events
36+
337## 4.0.5
438### Patch Changes
539
Original file line number Diff line number Diff line change 11{
22 "name" : " @patternfly/pfe-core" ,
3- "version" : " 4 .0.5 " ,
3+ "version" : " 5 .0.0 " ,
44 "license" : " MIT" ,
55 "description" : " PatternFly Elements Core Library" ,
66 "customElements" : " custom-elements.json" ,
Original file line number Diff line number Diff line change 11# @patternfly/elements
22
3+ ## 4.0.3
4+ ### Patch Changes
5+
6+ - 0277045: Enable ` connectedCallback() ` and context protocol in SSR scenarios.
7+
8+ BREAKING CHANGE
9+ This change affects any element which is expected to execute in node JS when
10+ lit-ssr shims are present. By enabling the ` connectedCallback() ` to execute
11+ server side. Elements must ensure that their connectedCallbacks do not try to
12+ access the DOM.
13+
14+ Before:
15+
16+ ``` js
17+ connectedCallback () {
18+ super .connectedCallback ();
19+ this .items = this .querySelectorAll (' my-item' );
20+ }
21+ ```
22+
23+ After:
24+ ``` js
25+ connectedCallback () {
26+ super .connectedCallback ();
27+ if (! isServer) {
28+ this .items = this .querySelectorAll (' my-item' );
29+ }
30+ }
31+ ```
32+ - Updated dependencies [ 0277045]
33+ - Updated dependencies [ a2f3254]
34+ - @patternfly/pfe-core @5.0.0
35+
336## 4.0.2
437
538### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " @patternfly/elements" ,
33 "license" : " MIT" ,
4- "version" : " 4.0.2 " ,
4+ "version" : " 4.0.3 " ,
55 "description" : " PatternFly Elements" ,
66 "customElements" : " custom-elements.json" ,
77 "type" : " module" ,
130130 "dependencies" : {
131131 "@lit/context" : " ^1.1.2" ,
132132 "@patternfly/icons" : " ^1.0.3" ,
133- "@patternfly/pfe-core" : " ^4 .0.1 " ,
133+ "@patternfly/pfe-core" : " ^5 .0.0 " ,
134134 "lit" : " ^3.2.1" ,
135135 "tslib" : " ^2.6.3"
136136 }
You can’t perform that action at this time.
0 commit comments