@protobase/cli 0.95.10 → 0.95.11
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/dist/cli/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.95.
|
|
3
|
+
"version": "0.95.11",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@better-auth/core": "^1.7.12",
|
|
45
45
|
"@hono/node-server": "^2.1.3",
|
|
46
|
-
"@protobase/config": "0.95.
|
|
47
|
-
"@protobase/layout": "0.95.
|
|
48
|
-
"@protobase/query": "0.95.
|
|
49
|
-
"@protobase/schema": "0.95.
|
|
50
|
-
"@protobase/server": "0.95.
|
|
51
|
-
"@protobase/ui": "0.95.
|
|
52
|
-
"@protobase/workflows": "0.95.
|
|
46
|
+
"@protobase/config": "0.95.11",
|
|
47
|
+
"@protobase/layout": "0.95.11",
|
|
48
|
+
"@protobase/query": "0.95.11",
|
|
49
|
+
"@protobase/schema": "0.95.11",
|
|
50
|
+
"@protobase/server": "0.95.11",
|
|
51
|
+
"@protobase/ui": "0.95.11",
|
|
52
|
+
"@protobase/workflows": "0.95.11",
|
|
53
53
|
"@react-email/render": "^2.1.0",
|
|
54
54
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
55
55
|
"@sentry/vite-plugin": "^11.10.0",
|
|
@@ -256,7 +256,7 @@ Every error is `application/problem+json` (RFC 9457) with `type` (`urn:protobase
|
|
|
256
256
|
| 404 | `not-found` |
|
|
257
257
|
| 409 | `conflict`: a unique key, a record other records point at, or a deadlock with another write, which may be sent again |
|
|
258
258
|
| 412 / 428 | `precondition-failed` / `precondition-required` |
|
|
259
|
-
| 503 | `read-only`: the database refuses writes, as during a deploy's write freeze; send the write again after `Retry-After`. `connections-busy`: every database connection stayed busy for 2 seconds (see [Safety](#safety)) |
|
|
259
|
+
| 503 | `read-only`: the database refuses writes, as during a deploy's write freeze; send the write again after `Retry-After`. `database-restarting`: the database or its connection pooler is shutting down or starting up; send the request again after `Retry-After`. `connections-busy`: every database connection stayed busy for 2 seconds (see [Safety](#safety)) |
|
|
260
260
|
| 504 | `statement-timeout`: a query ran past its limit (see [Safety](#safety)) |
|
|
261
261
|
|
|
262
262
|
### Error reporting
|
|
@@ -273,7 +273,7 @@ export default defineConfig({
|
|
|
273
273
|
})
|
|
274
274
|
```
|
|
275
275
|
|
|
276
|
-
- **Server:** every `500` with the request it failed, and every `504 statement-timeout` and `503 connections-busy` with the request it names, under `dev`, `serve` and the runtime, besides the default export of `hooks/error.ts` or the console. Under `serve`, the runtime and `worker`, an uncaught exception or unhandled rejection too, which then still ends the process with exit code 1.
|
|
276
|
+
- **Server:** every `500` with the request it failed, and every `504 statement-timeout` and `503 connections-busy` with the request it names, under `dev`, `serve` and the runtime, besides the default export of `hooks/error.ts` or the console. Under `serve`, the runtime and `worker`, an uncaught exception or unhandled rejection too, which then still ends the process with exit code 1. <gap>The assistant and MCP tool calls cannot leave a database restart's `503` unreported because their reporting check knows only the write freeze's `read-only`.</gap>
|
|
277
277
|
- **Admin app:** uncaught errors and the errors of components that fail to draw. `/api/meta` names the DSN to every signed-in caller, as a browser app always shows its own. Only the app's own errors are sent: `build`, `build-shell` and `build-plugin` mark every script they write as the app's, and an error none of whose stack frames is in a marked script, such as one raised by a browser extension or a script the browser injects, is dropped. Under `dev`, whose scripts are not built, every error is sent.
|
|
278
278
|
- Errors only, with no performance tracing. Before an event leaves, the values of authorization headers, cookies, passwords, tokens and other credentials, in fields and in URLs, are replaced by `[Filtered]`.
|
|
279
279
|
- `environment` names the deployment in the tracker; without it the tracker's default, `production`. `errorReporting: false` turns reporting off whatever the environment says. A DSN that is no `http(s)` URL with a key and a project id stops startup.
|