Skip to content

Commit f7dcdaa

Browse files
thomasballingerConvex, Inc.
authored andcommitted
Update changelog (#42925)
GitOrigin-RevId: a8a1ac10ae68729802bfe03c08edb62a1d6e0aad
1 parent d16c77d commit f7dcdaa

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

npm-packages/convex/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Changelog
22

3+
## 1.29.0
4+
5+
- Code generation changes: modules and functions are sorted in more situations,
6+
some unused imports have been removed, and some docstrings have been updated.
7+
Expect to need to commit a larger-than-usual change to generated files after
8+
upgrading to this version of Convex.
9+
10+
- Add .pick(), .omit(), .partial(), and .extend() methods to v.objects()
11+
validators. This makes reusing validator with small changes simpler. See
12+
https://docs.convex.dev/functions/validation#reusing-and-extending-validators
13+
for more.
14+
15+
- Add a pagination result validation helper
16+
`paginationResultValidator(itemValidator)` describing and validating the
17+
return valud of a paginated query.
18+
19+
- New `npx convex codegen --component-dir ../path/to/component` flag for
20+
component authors to generate code only for a component.
21+
22+
- New `convex.json` configuration property `codegen.fileType` (`"dts/js"` or
23+
`"ts"`, default `"dts/js"`) Default for applications is still "dts/js" but for
24+
components generated files always use "ts" file extensions.
25+
26+
- New `convex.json` configuration property `codegen.legacyComponentApi` (default
27+
true) which can be set to false to opt into importing the API of a component
28+
directly from its package or directory instead of inlining the result of
29+
analyzing a component in parent component that uses it.
30+
31+
- Improved TypeScript inference performance for `ApiFromModules`, the workhorse
32+
type that transforms modules of Convex functions into a tree of
33+
`FunctionReference` types for the `api` object. Thanks to David Blass, the
34+
maintainer of ArkType, for working with us on these improvements.
35+
36+
## 1.28.2
37+
38+
- Bundling fix: don't double-deploy components in the convex/ directory.
39+
40+
## 1.28.1
41+
42+
- Add json schema to package.json.
43+
344
## 1.28.0
445

546
- Deploy code path unification: all deploys now use a codepath that supports

0 commit comments

Comments
 (0)