deepspace 0.18.0 → 0.19.0

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,29 @@
1
1
  # deepspace
2
2
 
3
+ ## 0.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Block paid app checkout until the owner can accept charges and payouts; require
8
+ current app roles for direct job mutations and enabled production debug routes;
9
+ disconnect role-changed sockets; remove email/avatar data from ephemeral
10
+ presence; refresh ordered/limited live-query snapshots; and clean Yjs awareness
11
+ per subscribed document. Also retain the earlier claimable-ownership, room
12
+ identity, log-sanitization, generated-artifact, and first-run agent-DX fixes.
13
+
14
+ Existing beta apps must run `npx deepspace@latest app update` with this release
15
+ so the migration is run by the target CLI. It moves verified room identity from
16
+ URL parameters to internal headers and installs the stock job-role/debug-route
17
+ checks using the SDK's shared app-role lookup. Customized seams receive a
18
+ precise manual blocker; no legacy runtime compatibility branch is retained.
19
+
20
+ Generated apps also drop unused model-provider packages and the legacy
21
+ Documents editor migration. Record writes expose existing room readiness and
22
+ fail with a stable `not_ready` error before connection; Yjs rooms expose current
23
+ transport connectivity. Testing sign-in keeps safe server error codes,
24
+ workspace land returns the deterministic pull action when needed, and generated
25
+ Documents code is typechecked from the packed release artifact.
26
+
3
27
  ## 0.18.0
4
28
 
5
29
  ### 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