Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Apr 6, 2025

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

@patternfly/pfe-core@5.0.0

Major Changes

  • 0277045: Enable connectedCallback() and context protocol in SSR scenarios.

    BREAKING CHANGE
    This change affects any element which is expected to execute in node JS when
    lit-ssr shims are present. By enabling the connectedCallback() to execute
    server side. Elements must ensure that their connectedCallbacks do not try to
    access the DOM.

    Before:

    connectedCallback() {
      super.connectedCallback();
      this.items = [...this.querySelectorAll('my-item')];
    }

    After:

    connectedCallback() {
      super.connectedCallback();
      if (!isServer) {
        this.items = isServer ? [] : [...this.querySelectorAll('my-item')];
      }
    }

Minor Changes

  • 8b5b699: SSR: added ssr-hint-has-slotted and ssr-hint-has-slotted-default attributes to elements that use slot controller.

    When running SSR on elements with slots, add these attributes to ensure they render correctly.

    <pf-card ssr-hint-has-slotted-default
             ssr-hint-has-slotted="header,footer">
      <h2 slot="header">Header Content</h2>
      <p>Default content</p>
      <span slot="footer">Footer Content</span>
    </pf-card>

Patch Changes

  • a2f3254: ScrollSpyController: respond to hashchange events

@patternfly/elements@4.1.0

Minor Changes

  • 8b5b699: SSR: added ssr-hint-has-slotted and ssr-hint-has-slotted-default attributes to elements that use slot controller.

    When running SSR on elements with slots, add these attributes to ensure they render correctly.

    <pf-card ssr-hint-has-slotted-default
             ssr-hint-has-slotted="header,footer">
      <h2 slot="header">Header Content</h2>
      <p>Default content</p>
      <span slot="footer">Footer Content</span>
    </pf-card>

Patch Changes

  • 996e089: SSR: enable more elements and more features to be rendered server-side
  • Updated dependencies [0277045]
  • Updated dependencies [8b5b699]
  • Updated dependencies [a2f3254]
    • @patternfly/pfe-core@5.0.0

@netlify
Copy link

netlify bot commented Apr 6, 2025

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 8dce453
🔍 Latest deploy log https://app.netlify.com/sites/patternfly-elements/deploys/67f3e3d5bb3f1300083f4598
😎 Deploy Preview https://deploy-preview-2901--patternfly-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 7ba72cb to 1f4a018 Compare April 7, 2025 14:31
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1f4a018 to 8dce453 Compare April 7, 2025 14:40
@bennypowers bennypowers enabled auto-merge (squash) April 7, 2025 14:41
@github-actions
Copy link
Contributor Author

github-actions bot commented Apr 7, 2025

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "chore: prepare release"
}

@bennypowers bennypowers merged commit 61ead0f into main Apr 7, 2025
13 checks passed
@bennypowers bennypowers deleted the changeset-release/main branch April 7, 2025 14:42
@github-actions github-actions bot added the AT passed Automated testing has passed label Apr 7, 2025
@github-actions
Copy link
Contributor Author

github-actions bot commented Apr 7, 2025

SSR Test Run for 2b3b1cb: Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants