Skip to content

v3.6.0

Choose a tag to compare

@58bits 58bits released this 11 Jun 01:51
· 70 commits to main since this release

Highlights

  • @byline/host-tanstack-start — saving a new document now navigates to the new document's edit view (create → edit) instead of returning to the collection list. Previously, in orderable: true collections the freshly created document was appended at the end of a paginated list — often invisible on arrival — and the editorial work that follows a create (content blocks, relations, status) all lives on the edit view anyway. The "{label} Created" toast now fires on the edit view via a ?action=created search param; the create server fn returns the new documentId/documentVersionId, and callers running against an older server response shape fall back to the previous list navigation.

Chores

  • @byline/core — split the 2,200-line document-lifecycle service into per-operation modules (create, update, system-fields, status, restore, delete, duplicate, copy-to-locale, delete-locale) with a shared internals.ts and a dedicated merge-locale-data.ts for the copy-to-locale walker. The public import surface of @byline/core is unchanged — this is groundwork ahead of hasMany relations, which touches most of these write paths.
  • monorepo — added a Playwright editor smoke suite (apps/webapp/e2e/) covering sign-in through the real form (with a regression guard asserting credentials never appear in the URL), dashboard and list rendering, a create → edit → save → reload round-trip, and a workflow status transition. Documented in TESTING.md, including the hydration-wait pattern new scenarios should follow.

All other @byline/* packages bumped to 3.6.0 in lockstep with no behavioural changes this cycle.