@spacefast/zero release history
Release history for @spacefast/zero on npm.
Published as @spacefast/zero on npm.
0.8.1
Patch Changes
- @spacefast/common@0.8.1
0.8.0
Patch Changes
- Updated dependencies
- @spacefast/common@0.8.0
0.7.0
Minor Changes
- Add a context starter: one Space is one Gutenberg document, with Save at the top
right and the Space’s existing access settings controlling viewing and editing.
WordPress stores blocks and native revisions. A lossless
.blockssource binding uses the existing source writeback pipeline so committed content can travel with source remixes. Markdown remains available for supported agent handoffs. Revision tokens protect human edits from stale saves.
Patch Changes
- The context editor starts faster: it loads the document and the editor together, downloads Gutenberg’s scripts in parallel, ships the first page and post-type responses with the editor, and shows the saved document while Gutenberg starts.
- The context document now reads and saves through WordPress’s own pages API.
/spacefast/v1/contextand/spacefast/v1/context/editorare removed: read withGET /wp/v2/pages?slug=context&context=edit, and save withPOST /wp/v2/pages/{id}, sending back thespacefast_revisionyou read withcontentormarkdown. A stale revision returns 409. The editor loads Gutenberg from the Space dashboard’s/wp/v2/editor/assets. Viewers who cannot edit see “Sign in to edit” or “View only” instead of a sign-in button that did nothing. Context Spaces published before this change need republishing. - Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @spacefast/common@0.7.0
0.6.1
Patch Changes
- Updated dependencies
- @spacefast/common@0.6.1
0.6.0
Patch Changes
EndpointRequestnow declaresparams, the values captured by:namesegments of an endpoint’spath(for examplereq.params.slugonpath: "/p/:slug"). The hosted runtime andsf devalready passed them; only the type was missing.- Realtime reconnects now back off exponentially with jitter (250–500ms first, up to 15–30s) instead of retrying every 500ms, and reset once the relay accepts a connection. A page whose Cast joins keep failing no longer mints a realtime ticket twice a second for as long as the tab stays open.
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @spacefast/common@0.6.0
0.5.1
Patch Changes
- @spacefast/common@0.5.1
0.5.0
Minor Changes
-
Add
ctx.jwt.signandctx.cryptoto Zero server handlers.ctx.jwt.sign({ key, kid, claims, ttlSeconds })signs short-lived Ed25519at+jwtaccess tokens with a key held in a secret variable that never entersctx.env.ctx.cryptoaddssha256,hmacSha256, andtimingSafeEqualfor webhook signature checks and key hashing. -
Add
@spacefast/zero/react: React hooks (useQuery,useMutation,useAction,usePaginatedQuery,useAuth) and a typedcreateClient<typeof app>()over the same browser client as@spacefast/zero/client. React is an optional peer dependency; the React entry never loads Preact. -
Add per-Space app accounts with Google, Gravatar, and native Spacefast Access sign-in, verified email addresses, and revocable sessions. Add Users settings and account management to the API, SDK, CLI, and MCP.
-
Actions are back, endpoints take
readOnly, andfetch()works everywhere.capsule({ actions })declares handlers that read the database and reach the network without holding a transaction —action()on the server,useAction()on the client, overaction.run. Persist what an action learned by handing its result to a mutation.endpoint({ method, path, readOnly? })replacesmode: aGETorHEADreads, anything else writes, andreadOnlyoverrides that when the method and the intent disagree. The derived mode still rides the compiled artifact.fetch()is a global in every handler kind. How far it reaches is decided by the space, not the build — an unclaimed space reaches a trusted host list, and claiming it opens the rest of the public web. -
Add numeric and optional database fields, user references, indexed counts, application sign-in policies, and transactional guest upgrades to Zero. Query hooks now distinguish loading from empty or null results. Uploads are private by default, with explicit public sharing.
Add local development identities, multiple isolated dev servers, query inspection, storage transfers, and retained Space archive and restore commands. Newly compiled apps require an engine that implements these contracts before publication.
Patch Changes
- One hostname rule everywhere:
normalizeHostnamenow lives in@spacefast/common/utils/hostname(@spacefast/routing/hostnamestill re-exports it). It folds ASCII case and trims ASCII whitespace only, as DNS does, so a non-ASCII host likeK.example(Kelvin sign) no longer collapses into a different ASCII name.verifyVisitorTokenin@spacefast/zerocompares hosts with the same rule, soexample.com.andexample.comare one host. verifyUserreads only the__Host-sfi_sessioncookie over HTTPS, so a session cookie planted by a sibling host under the same parent domain is ignored.- Updated dependencies
- @spacefast/common@0.5.0
- Keep query results associated with their arguments while subscriptions change. Paginated clients no longer append the previous page again while the next cursor is loading.
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @spacefast/common@0.5.0
0.4.1
Patch Changes
- Updated dependencies
- @spacefast/common@0.4.1
0.4.0
Patch Changes
- @spacefast/common@0.4.0
0.3.0
Patch Changes
- @spacefast/common@0.3.0
0.2.2
Patch Changes
- @spacefast/common@0.2.2
0.2.1
Patch Changes
- @spacefast/common@0.2.1
0.2.0
Patch Changes
- Updated dependencies
- @spacefast/common@0.2.0
0.1.0
Patch Changes
- Updated dependencies
- @spacefast/common@0.1.0
0.0.27
Patch Changes
- Updated dependencies
- Updated dependencies
- @spacefast/common@0.0.27
0.0.26
Patch Changes
- @spacefast/common@0.0.26
0.0.25
Patch Changes
- @spacefast/common@0.0.25
0.0.24
Patch Changes
- @spacefast/common@0.0.24
0.0.18
Patch Changes
- Give the clean release declaration build enough heap to complete before npm publication.
0.0.14
Patch Changes
- Run Lakebed 0.0.29 core capsules without import rewrites through Spacefast Zero, including actions, runtime-backed object storage, declared indexes, and the database v1 query API.
- Make Zero generally available on every plan, including local development, hosted execution, and Cast-backed realtime updates.
Publications without separate change notes
These versions record package publications. Read the Spacefast release timeline for changes across packages.
0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.17, 0.0.16, 0.0.15, 0.0.13, 0.0.12, 0.0.11, 0.0.10, 0.0.9, 0.0.8, 0.0.7, 0.0.6.