Skip to content

Commit 21f4010

Browse files
thomasballingerConvex, Inc.
authored and
Convex, Inc.
committed
npm release version 1.13.1 (#28043)
GitOrigin-RevId: 9d0d96af4b1c3d4dcc32ede9939a29ef5316fd22
1 parent 53f7512 commit 21f4010

File tree

19 files changed

+41
-19
lines changed

19 files changed

+41
-19
lines changed

demo/convex/_generated/api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

demo/convex/_generated/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

demo/convex/_generated/dataModel.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

demo/convex/_generated/server.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

demo/convex/_generated/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/common/config/rush/version-policies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
{
103103
"policyName": "convex",
104104
"definitionName": "lockStepVersion",
105-
"version": "1.13.0",
105+
"version": "1.13.1",
106106
"nextBump": "patch"
107107
}
108108
]

npm-packages/convex/CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
# Changelog
22

3-
## 1.13.0-alpha.1
3+
## 1.13.1
4+
5+
- Relax client URL validation to prepare for Convex backends accessible on
6+
arbitrary domain. This makes `skipConvexDeploymentUrlCheck` client option also
7+
no longer required for accessing deployments not hosted on the Convex BaaS.
8+
9+
- Fix bug where the first mutation request send over the WebSocket failing would
10+
not roll back the corresponding optimistic update (completedMutationId could
11+
be 0 which is falsey!)
12+
13+
- Fix bug where `codegen --init` would fail if no Convex directory existed yet.
14+
15+
- Action and query function wrappers now also allow validators for args
16+
(previously only objects were accepted) and objects for returns (previously
17+
only validators were accepted).
18+
19+
- Change `httpRouter` behavior for overlapping paths: exact matches first, then
20+
the longest prefix patch that matches.
21+
22+
## 1.13.0
423

524
- Convex queries, mutations, and actions now accept `returns:` property to
625
specify a return value validator.
@@ -26,6 +45,9 @@
2645
type still has three type parameters with only the first (the TypeScript type
2746
enforced by the validator) required.
2847

48+
The second type parameter IsOptional is no longer a boolean, is it "optional"
49+
or "required" now.
50+
2951
These are breaking changes if you're using the two optional type parameters of
3052
`Validator` or doing `instanceof` checks with `Validator`! We apologize for
3153
the inconvenience. The same users this affects should be the ones that most

npm-packages/convex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "convex",
33
"description": "Client for the Convex Cloud",
4-
"version": "1.13.0",
4+
"version": "1.13.1",
55
"author": "Convex, Inc. <[email protected]>",
66
"homepage": "https://convex.dev",
77
"repository": {

npm-packages/convex/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = "1.13.0";
1+
export const version = "1.13.1";

npm-packages/system-udfs/convex/_generated/api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/system-udfs/convex/_generated/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/system-udfs/convex/_generated/dataModel.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/system-udfs/convex/_generated/server.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/system-udfs/convex/_generated/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/udf-tests/convex/_generated/api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/udf-tests/convex/_generated/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/udf-tests/convex/_generated/dataModel.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/udf-tests/convex/_generated/server.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

npm-packages/udf-tests/convex/_generated/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* THIS CODE IS AUTOMATICALLY GENERATED.
66
*
7-
* Generated by [email protected].0.
7+
* Generated by [email protected].1.
88
* To regenerate, run `npx convex dev`.
99
* @module
1010
*/

0 commit comments

Comments
 (0)