Skip to content

chore: release 0.4.0 - #29

Merged
SyedSibtainRazvi merged 1 commit into
mainfrom
chore/release-0.4.0
Nov 27, 2026
Merged

SyedSibtainRazvi merged 1 commit into
mainfrom
chore/release-0.4.0

Conversation

@SyedSibtainRazvi

@SyedSibtainRazvi SyedSibtainRazvi commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Etiquettes of raising a PR

PR reviews are a way to request peers to give feedback on the code that is going
to the mainline. This means, that PR should be in a reviewable state. Please ensure
that the following checkboxes are ticked. If any of them are not ticked, then
the PR is not ready for review

  • Did you test changes locally?
  • Did you check PR contents after opening the PR

Related issue

Functionalities added or changed

  • Bumps @codemancers/sheets to 0.4.0. No code changes.

Draft notes for the v0.4.0 GitHub release:

Breaking

  • table.state no longer holds columnSizing or columnResizing, and resizing a column no longer re-renders the component that calls useSheet.
    • Read the widths with table.atoms.columnSizing.get(), or subscribe with TanStack's Subscribe.
    • Code that reads a width while rendering, such as column.getSize() in your own header, has to subscribe to stay current.
  • An app that controls columnSizing through state and onColumnSizingChange still re-renders on every resize, and now its rows do too. To own the widths, pass an external atom in atoms instead, as TanStack's column sizing guide recommends.

New

  • Column reordering: <Sheet enableColumnOrdering />.
    • Drag a header's grip onto another header, or use its Move left / Move right menu, which works from the keyboard, on touch screens and with screen readers. The new position is announced.
    • meta: { enableColumnOrdering: false } keeps a column in place, and a column stays in its group.
    • The order is TanStack's columnOrder.
    • New labels: move, moveLeft, moveRight and moved.
  • Resizing follows TanStack v9's performant pattern: a drag re-renders only the resize handle, not your component or the rows.

Additional info

Checklist

  • Tests
  • Translations
  • Documentation
  • Uploaded screenshots
  • Verified on preview url once

Screenshots

Page(s) if applicable

No visual change in this PR.

@SyedSibtainRazvi SyedSibtainRazvi self-assigned this Nov 27, 2026
@SyedSibtainRazvi
SyedSibtainRazvi merged commit 72acf9a into main Nov 27, 2026
1 check passed
@SyedSibtainRazvi
SyedSibtainRazvi deleted the chore/release-0.4.0 branch November 27, 2026 06:54
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.

1 participant