|
1 | 1 | # Changelog
|
2 | 2 | All notable changes to this project will be documented in this file.
|
3 | 3 |
|
| 4 | +## [1.22.0](https://github.com/sqlc-dev/sqlc/releases/tag/1.22.0) |
| 5 | +Released 2023-09-26 |
| 6 | + |
| 7 | +### Release notes |
| 8 | + |
| 9 | +#### Managed databses for `sqlc vet` |
| 10 | + |
| 11 | +If you're using [sqlc vet](../howto/vet.md) to write rules that require access to a running |
| 12 | +database, `sqlc` can now start and manage that database for you. PostgreSQL |
| 13 | +support is available today, with MySQL on the way. |
| 14 | + |
| 15 | +When you turn on managed databases, `sqlc` will use your schema to create a |
| 16 | +template database that it can copy to make future runs of `sqlc vet` very |
| 17 | +performant. |
| 18 | + |
| 19 | +This feature relies on configuration obtained via sqlc Cloud. If you're interested |
| 20 | +in early access you can [sign up here](https://docs.google.com/forms/d/e/1FAIpQLSdxoMzJ7rKkBpuez-KyBcPNyckYV-5iMR--FRB7WnhvAmEvKg/viewform) |
| 21 | +or send us an email at [hello@sqlc.dev](mailto:hello@sqlc.dev). |
| 22 | + |
| 23 | +Read more in the [managed databases](../howto/managed-databases.md) documentation. |
| 24 | + |
| 25 | +### Changes |
| 26 | + |
| 27 | +#### Bug Fixes |
| 28 | + |
| 29 | +- (codegen/golang) Refactor imports code to match templates (#2709) |
| 30 | +- (codegen/golang) Support name type (#2715) |
| 31 | +- (wasm) Move Runner struct to shared file (#2725) |
| 32 | +- (engine/sqlite) Fix grammer to avoid missing join_constraint (#2732) |
| 33 | +- (convert) Support YAML anchors in plugin options (#2733) |
| 34 | +- (mysql) Disallow time.Time in mysql :copyfrom queries, not all queries (#2768) |
| 35 | +- (engine/sqlite) Fix convert process for VALUES (#2737) |
| 36 | + |
| 37 | +#### Documentation |
| 38 | + |
| 39 | +- Clarify nullable override behavior (#2753) |
| 40 | +- Add managed databases to sidebar (#2764) |
| 41 | + |
| 42 | +#### Features |
| 43 | + |
| 44 | +- (config) Enables the configuration of copyfrom.go similar to quierer and friends (#2727) |
| 45 | +- (vet) Run rules against a managed database (#2751) |
| 46 | +- (upload) Point upload command at new endpoint (#2772) |
| 47 | + |
| 48 | +#### Miscellaneous Tasks |
| 49 | + |
| 50 | +- (endtoend) Skip tests missing secrets (#2763) |
| 51 | +- Skip certain tests on PRs (#2769) |
| 52 | + |
| 53 | +#### Testing |
| 54 | + |
| 55 | +- (endtoend) Verify all schemas in endtoend (#2744) |
| 56 | +- (examples) Use a hosted database for example testing (#2749) |
| 57 | +- (endtoend) Pull region from environment (#2750) |
| 58 | + |
| 59 | +#### Build |
| 60 | + |
| 61 | +- (deps) Bump golang from 1.21.0 to 1.21.1 (#2711) |
| 62 | +- (deps) Bump google.golang.org/grpc from 1.57.0 to 1.58.1 (#2743) |
| 63 | +- (deps) Bump wasmtime-go from v12 to v13 (#2756) |
| 64 | +- (windows) Downgrade to mingw 11.2.0 (#2757) |
| 65 | +- (deps) Bump urllib3 from 2.0.4 to 2.0.5 in /docs (#2747) |
| 66 | +- (deps) Bump google.golang.org/grpc from 1.58.1 to 1.58.2 (#2758) |
| 67 | + |
| 68 | +#### Ci |
| 69 | + |
| 70 | +- Bump go version to latest in ci workflows (#2722) |
| 71 | + |
| 72 | + |
4 | 73 | ## [1.21.0](https://github.com/sqlc-dev/sqlc/releases/tag/v1.21.0)
|
5 | 74 | Released 2023-09-06
|
6 | 75 |
|
|
0 commit comments