deepspace 0.18.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # deepspace
2
2
 
3
+ ## 0.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Enforce `users` read permissions in user-list responses and `writableFields`
8
+ on record creation. Reauthorize job snapshots and live events so revoked users
9
+ cannot retain queue access. Generated canvas and cron routes forward current
10
+ app roles without removing anonymous read-only access. Generic authenticated
11
+ Yjs rooms remain available when no `documents` schema exists, while a missing
12
+ document in a documents-backed app fails closed. Existing apps can apply the
13
+ documented app-owned route edits manually; `deepspace app update` does not
14
+ rewrite them.
15
+ - Let CLI commands exit naturally after releasing their handles, make Windows
16
+ `dev kill` handle free ports correctly, apply scaffold migrations in CRLF
17
+ checkouts, and report partial Git worktree removals accurately.
18
+ - Fix the clear post-release AX issues: avoid anonymous presence token failures,
19
+ remove direct-build secret artifacts and secure existing credential files, make the
20
+ Documents feature honor mutation readiness and confirmed ACL writes, and pin
21
+ the AI SDK family away from its moderate/high advisory path. Keep anonymous
22
+ RecordRooms from exposing the user directory, and limit non-admin user lists to
23
+ the public identity fields required for collaboration. Keep an app's direct AI
24
+ SDK dependency on the compatible version when `app update` advances DeepSpace.
25
+
26
+ ## 0.19.0
27
+
28
+ ### Minor Changes
29
+
30
+ - Block paid app checkout until the owner can accept charges and payouts; require
31
+ current app roles for direct job mutations and enabled production debug routes;
32
+ disconnect role-changed sockets; remove email/avatar data from ephemeral
33
+ presence; refresh ordered/limited live-query snapshots; and clean Yjs awareness
34
+ per subscribed document. Also retain the earlier claimable-ownership, room
35
+ identity, log-sanitization, generated-artifact, and first-run agent-DX fixes.
36
+
37
+ Existing beta apps must run `npx deepspace@latest app update` with this release
38
+ so the migration is run by the target CLI. It moves verified room identity from
39
+ URL parameters to internal headers and installs the stock job-role/debug-route
40
+ checks using the SDK's shared app-role lookup. Customized seams receive a
41
+ precise manual blocker; no legacy runtime compatibility branch is retained.
42
+
43
+ Generated apps also drop unused model-provider packages and the legacy
44
+ Documents editor migration. Record writes expose existing room readiness and
45
+ fail with a stable `not_ready` error before connection; Yjs rooms expose current
46
+ transport connectivity. Testing sign-in keeps safe server error codes,
47
+ workspace land returns the deterministic pull action when needed, and generated
48
+ Documents code is typechecked from the packed release artifact.
49
+
3
50
  ## 0.18.0
4
51
 
5
52
  ### Minor Changes
package/README.md CHANGED
@@ -75,6 +75,12 @@ function Tasks() {
75
75
  }
76
76
  ```
77
77
 
78
+ `useMutations(collection)` exposes the existing RecordRoom `ready` state.
79
+ Writes attempted before it is true reject with `RecordRoomNotReadyError`
80
+ (`code: "not_ready"`) instead of disappearing into a closed socket. For direct
81
+ Yjs rooms, `connected` describes the current WebSocket and `synced` describes
82
+ completion of the current connection's initial document sync.
83
+
78
84
  Worker — expose a `RecordRoom` Durable Object:
79
85
 
80
86
  ```ts
@@ -93,6 +99,16 @@ npx deepspace dev start # run locally
93
99
  npx deepspace deploy # deploy to *.app.space
94
100
  ```
95
101
 
102
+ When updating an existing app, run the target CLI rather than the app's old
103
+ installed binary:
104
+
105
+ ```bash
106
+ npx deepspace@latest app update
107
+ ```
108
+
109
+ The target CLI owns the source migrations required by the SDK version it
110
+ installs. Review and commit its source changes before deploying.
111
+
96
112
  The hierarchy shown by `deepspace --help` keeps durable app lifecycle under
97
113
  `deepspace app`, while checkout-oriented Git, workspace, release, and deploy
98
114
  operations stay top-level. The historical `deepspace app migrate` command was
@@ -121,6 +137,11 @@ atomic authority change; switching back uses the same commands. Commands support
121
137
  [public manual](https://documentation.deep.space) for workspaces, releases, and
122
138
  rollback.
123
139
 
140
+ In a container, give Git its own credentials before a private-repository
141
+ verification. Forward an SSH agent, or configure an ephemeral Git credential
142
+ helper in the container. Never embed a token in the remote URL: URLs can appear
143
+ in process listings, logs, and copied configuration.
144
+
124
145
  Use the current command-specific release notes for supported upgrade steps. If
125
146
  an app or checkout still carries a name-shaped legacy id, stop and contact the
126
147
  DeepSpace operator; do not downgrade the SDK or run migration commands copied