Skip to content

Version Packages (next) - #1006

Open
github-actions[bot] wants to merge 1 commit into
nextfrom
changeset-release/next
Open

Version Packages (next)#1006
github-actions[bot] wants to merge 1 commit into
nextfrom
changeset-release/next

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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 next, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on next.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@solid-primitives/sortable@1.0.0-next.0

Major Changes

  • a402fce: Initial release of @solid-primitives/sortable

    Reactive sorting primitives, combining ideas from VueUse's useSorted and d3-array's comparator
    utilities, built directly on Solid 2.0's mapArray and createProjection rather than a bespoke
    diffing engine.

    ascending / descending / by / combine / reverse

    Comparator building blocks. ascending/descending always sort null/undefined/NaN to the
    end, regardless of direction — unlike a naive a < b ? -1 : a > b ? 1 : 0, which silently treats
    them as equal to everything. by derives a comparator from a key accessor; combine composes
    comparators for multi-key tie-breaking; reverse flips any comparator.

    makeSorted / createSorted

    Non-reactive and reactive sort. createSorted's default path (a static comparator, non-dirty)
    delegates directly to @solid-primitives/signal-builders's existing sort(). It adds a reactive
    comparator (an accessor, so toggling sort direction/column doesn't rebuild the primitive) and a
    dirty: true option that sorts the source array in place and reuses its reference — mirroring
    VueUse's useSorted's dirty option under Solid's signal model.

    sortedIndex / sortedIndexBy / insertSorted

    Binary search over an already-sorted array, and an O(log n) immutable insert — versus an
    O(n log n) full re-sort for a single insertion.

    createSortedIndex

    Per-item reactive rank tracking: an item's index accessor only updates when that item's position
    actually changes, never for unrelated moves elsewhere in the list. Built on mapArray — the same
    core primitive that powers <For> — rather than a hand-rolled diffing engine.

    createSortedProjection

    A store-shaped sorted view, reconciled by key via createProjection, so unrelated rows don't
    notify when one row's data changes. Pairs naturally with <For each={projection} keyed={...}> for
    move-not-recreate DOM behavior with no bespoke tracking code.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 12, 2026

Copy link
Copy Markdown

Deploying solid-primitives with  Cloudflare Pages  Cloudflare Pages

Latest commit: a065fe1
Status: ✅  Deploy successful!
Preview URL: https://ac4bf903.solid-primitives.pages.dev
Branch Preview URL: https://changeset-release-next.solid-primitives.pages.dev

View logs

@github-actions
github-actions Bot force-pushed the changeset-release/next branch from d2b623e to a065fe1 Compare August 12, 2026 02:23
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.

0 participants