Skip to content

v3.13.3

Choose a tag to compare

@58bits 58bits released this 27 Jun 09:50

Bug Fixes

  • @byline/admin + @byline/host-tanstack-start — admin colour-theme selection (account → Appearance) could be silently reverted on navigation. The admin shares the host's theme contract (the theme localStorage key and the .dark/.light class on <html>); a host theme provider that re-applies a hydration-time snapshot on route changes would overwrite the admin user's stored choice on the next navigation, so Light/Dark appeared not to stick. @byline/admin now exports applyStoredTheme() (@byline/admin/admin-account/components/theme), which @byline/host-tanstack-start's admin layout re-asserts from localStorage when the shell mounts — making the admin area self-correcting regardless of how the surrounding host manages theme. Hosts running their own theme provider should re-read localStorage on navigation rather than trusting an in-memory snapshot.

  • @byline/admin — blocks and array field items disappeared when switching form tabs while creating a document. The tab layout only mounts the active tab's fields, so a blocks or array field unmounts when you switch away; on return it re-seeded its rendered list from the initial defaultValue (empty in create mode), dropping items the editor had already added — even though the values were safely retained in the form store above the tab layout. Both BlocksField and ArrayField now seed from the live form-store value, falling back to defaultValue only when the store is empty, so added blocks/items (and edits made inside them) survive tab switches.

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