convex 1.43.0-alpha.1 → 1.43.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 +35 -0
- package/dist/browser.bundle.js +1 -1
- package/dist/browser.bundle.js.map +1 -1
- package/dist/cjs/cli/lib/localDeployment/run.js +1 -1
- package/dist/cjs/cli/lib/localDeployment/run.js.map +2 -2
- package/dist/cjs/cli/lib/utils/sentry.js +2 -0
- package/dist/cjs/cli/lib/utils/sentry.js.map +2 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/server/log.js +1 -2
- package/dist/cjs/server/log.js.map +2 -2
- package/dist/cjs/server/logVars.js +1 -4
- package/dist/cjs/server/logVars.js.map +2 -2
- package/dist/cjs-types/cli/lib/utils/sentry.d.ts +1 -0
- package/dist/cjs-types/cli/lib/utils/sentry.d.ts.map +1 -1
- package/dist/cjs-types/index.d.ts +1 -1
- package/dist/cjs-types/index.d.ts.map +1 -1
- package/dist/cjs-types/server/log.d.ts.map +1 -1
- package/dist/cjs-types/server/logVars.d.ts +0 -6
- package/dist/cjs-types/server/logVars.d.ts.map +1 -1
- package/dist/cli.bundle.cjs +4 -3
- package/dist/cli.bundle.cjs.map +2 -2
- package/dist/esm/cli/lib/localDeployment/run.js +2 -2
- package/dist/esm/cli/lib/localDeployment/run.js.map +2 -2
- package/dist/esm/cli/lib/utils/sentry.js +1 -0
- package/dist/esm/cli/lib/utils/sentry.js.map +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/server/log.js +2 -3
- package/dist/esm/server/log.js.map +2 -2
- package/dist/esm/server/logVars.js +1 -3
- package/dist/esm/server/logVars.js.map +2 -2
- package/dist/esm-types/cli/lib/utils/sentry.d.ts +1 -0
- package/dist/esm-types/cli/lib/utils/sentry.d.ts.map +1 -1
- package/dist/esm-types/index.d.ts +1 -1
- package/dist/esm-types/index.d.ts.map +1 -1
- package/dist/esm-types/server/log.d.ts.map +1 -1
- package/dist/esm-types/server/logVars.d.ts +0 -6
- package/dist/esm-types/server/logVars.d.ts.map +1 -1
- package/dist/react.bundle.js +1 -1
- package/dist/react.bundle.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/lib/localDeployment/run.ts +2 -2
- package/src/cli/lib/utils/sentry.ts +3 -0
- package/src/index.ts +1 -1
- package/src/server/audit_logging.test.ts +1 -1
- package/src/server/log.ts +1 -4
- package/src/server/logVars.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.43.0 (unreleased)
|
|
4
|
+
- Added new `npx convex deployment usage` and
|
|
5
|
+
`npx convex deployment usage-limits` CLI commands to
|
|
6
|
+
view a deployment’s current resource usage, and
|
|
7
|
+
view or edit deployment usage limits.
|
|
8
|
+
- When defining hourly cron jobs, you can now omit the
|
|
9
|
+
`minuteUTC` parameter. When omitted, Convex will automatically
|
|
10
|
+
choose a stable start time within the scheduled hour,
|
|
11
|
+
avoiding concentrating jobs at the top of the hour.
|
|
12
|
+
- Mutations can now reference their upcoming
|
|
13
|
+
[_commit timestamp_](https://docs.convex.dev/database/advanced/commit-timestamp)
|
|
14
|
+
with `ctx.db.vars.commitTs`. While the mutation is running,
|
|
15
|
+
`ctx.db.vars.commitTs` is a placeholder symbol that is
|
|
16
|
+
replaced with a Int64 value at commit time that is guaranteed
|
|
17
|
+
to strictly follow commit order, unlike the `_creationTime` system field.
|
|
18
|
+
This low-level primitive is helpful for advanced use cases such as implementing
|
|
19
|
+
efficient FIFO queues.
|
|
20
|
+
- Added a new `v.commitTs()` validator that accepts either the
|
|
21
|
+
upcoming commit timestamp placeholder, or a Int64 commit timestamp.
|
|
22
|
+
- The Convex CLI is now able to find the right TypeScript compiler
|
|
23
|
+
when using side-by-side TypeScript 6 and 7 installation.
|
|
24
|
+
(This setup is used in codebases that want to use the native TypeScript 7
|
|
25
|
+
compiler but still need access to the TypeScript compiler JavaScript API.)
|
|
26
|
+
- Deprecated the `typescriptCompiler` parameter in `convex.json`.
|
|
27
|
+
This parameter was only necessary when using the TypeScript Native Preview
|
|
28
|
+
(@typescript/native-preview). With TypeScript 7, Convex
|
|
29
|
+
automatically picks the right binary.
|
|
30
|
+
- When a component only uses environment variables that are all optional,
|
|
31
|
+
it’s now possible to omit the `env` argument from `app.use(component, { … })`.
|
|
32
|
+
- Fixed a bug where `app.use()` failed to require
|
|
33
|
+
a second argument when a component has required environment variables
|
|
34
|
+
(e.g. `app.use(component, { env: { REQUIRED_VAR: "value" } })`).
|
|
35
|
+
- Fixed a bug in `usePaginatedQuery_experimental`
|
|
36
|
+
where page splits were handled incorrectly.
|
|
37
|
+
|
|
3
38
|
## 1.42.3
|
|
4
39
|
|
|
5
40
|
- Fixed a bug where the codegen would not sort module paths in
|