Skip to content

Conversation

@stacks-tooling
Copy link
Collaborator

@stacks-tooling stacks-tooling commented Oct 27, 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 develop, this PR will be updated.

Releases

@stackoverflow/[email protected]

Minor Changes

  • #2018 9cfbe19 Thanks @giamir! - Migrate Pagination components to use Svelte 5 runes API.

    BREAKING CHANGES:

    • PaginationItem: on:click event forwarding is replaced by onclick callback prop.

    • PaginationController: on:pagechange event is replaced by onpagechange callback prop with simplified signature. Previously the event passed { detail: pageNumber }, now the callback directly receives the page number as the argument: onpagechange(pageNumber).

      Migration example:

      <!-- Before (Svelte 4) -->
      <PaginationController on:pagechange={(e) => handlePageChange(e.detail)} />
      
      <!-- After (Svelte 5) -->
      <PaginationController
          onpagechange={(pageNumber) => handlePageChange(pageNumber)}
      />
  • #2016 6712bc2 Thanks @giamir! - Migrate Popover, PopoverReference, PopoverContent, and PopoverCloseButton components to use Svelte 5 runes API

    BREAKING CHANGES:

    Popover component:

    • Slot props (let:visible, let:open, let:close) are not available anymore. Snippet parameters should be used instead: {#snippet children({ visible, open, close })}...{/snippet}

    • on:open and on:close events are not available anymore. The new callback props should be used instead: onopen, onclose.

      PopoverCloseButton component:

    • on:click event forwarding is not available anymore. The new callback prop should be used instead: onclick.

      Migration examples:

      <!-- Before (Svelte 4 API) -->
      <Popover
          id="my-popover"
          on:open={() => console.log("opened")}
          on:close={() => console.log("closed")}
          let:visible
          let:close
      >
          <PopoverReference>
              <button>Trigger</button>
          </PopoverReference>
          <PopoverContent>
              <p>Content here</p>
              <PopoverCloseButton on:click={handleClick} />
          </PopoverContent>
          <p>Visible: {visible}</p>
      </Popover>
      
      <!-- After (Svelte 5 API) -->
      <Popover
          id="my-popover"
          onopen={() => console.log("opened")}
          onclose={() => console.log("closed")}
      >
          {#snippet children({ visible, close })}
              <PopoverReference>
                  <button>Trigger</button>
              </PopoverReference>
              <PopoverContent>
                  <p>Content here</p>
                  <PopoverCloseButton onclick={handleClick} />
              </PopoverContent>
              <p>Visible: {visible}</p>
          {/snippet}
      </Popover>
  • #2017 067d647 Thanks @giamir! - Migrate Modal component to use Svelte 5 runes API.

    BREAKING CHANGES:

    • Named slots (header, body, footer) are replaced by snippet props. Use {#snippet header()}...{/snippet} instead of <svelte:fragment slot="header">...</svelte:fragment>.
    • on:close event is replaced by onclose callback prop.

@github-actions
Copy link
Contributor

To trigger the build for this PR, close and re-open it.
This is necessary because the PR is updated by github-actions[bot].
This is a technical user which does not trigger actions workflows on push events.
See this GH issue for more details: changesets/action#187

@netlify
Copy link

netlify bot commented Oct 27, 2025

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit 4fbf7a0
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/68ff32659a93020008be3552
😎 Deploy Preview https://deploy-preview-2023--stacks.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 project configuration.

@netlify
Copy link

netlify bot commented Oct 27, 2025

Deploy Preview for stacks-svelte ready!

Name Link
🔨 Latest commit 4fbf7a0
🔍 Latest deploy log https://app.netlify.com/projects/stacks-svelte/deploys/68ff3265c7e78f0008bcda7c
😎 Deploy Preview https://deploy-preview-2023--stacks-svelte.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 project configuration.

@github-actions github-actions bot force-pushed the changeset-release/develop branch from 1822adb to c5e80cd Compare October 27, 2025 08:38
@github-actions github-actions bot force-pushed the changeset-release/develop branch from c5e80cd to 4fbf7a0 Compare October 27, 2025 08:50
@giamir giamir closed this Oct 27, 2025
@giamir giamir reopened this Oct 27, 2025
@giamir giamir enabled auto-merge (squash) October 27, 2025 09:28
@giamir giamir merged commit 58dbcd9 into develop Oct 27, 2025
18 checks passed
@giamir giamir deleted the changeset-release/develop branch October 27, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants