v4.6.2
Bug Fixes
-
@byline/host-tanstack-start— the collection editor's "return to the list page you came from" state was carried solely by thefromURL param, so it was lost whenever a navigation discarded the admin URL. The preview affordance is the main case: it navigates the whole tab to the public site, and returning via the public preview bar's Edit link (which knows only the collection and document id) dropped the editor back with no return state — so Close/Delete landed the user on page 1 of the bare list, losing their page position and filters. The editor now mirrors the return state into tab-scopedsessionStoragekeyed by collection + document id and falls back to it whenever the URL carries none, so closing after a preview returns to the exact list page and filters. The same fix repairs the loss across the in-editor Edit/History/API view switches. The entry is cleared on close/delete, so a later context-free visit degrades cleanly to the bare list. -
@byline/db-postgres— the hand-writtensql/0005_add-admin-user-preferences.sqlupgrade script createdbyline_admin_user_preferencesbut omitted the ownership-reassignment step its sibling scripts carry. Run as a superuser (e.g.postgres) rather than the application's DB role, the new table would be owned by that superuser and the running server would hitpermission denied. The script now reassigns the table to the database owner (the app role) as a final, idempotent step, so it is safe regardless of which role executes it. If you already applied the previous version of this script as a superuser, re-run the updated script to correct ownership.
All other @byline/* packages bumped to 4.6.2 in lockstep with no behavioural changes this cycle.