Skip to content

Commit fa985d0

Browse files
authored
cmd/sqlc: Bump version to 1.17.0 (#2066)
* Update documentation version * cmd/sqlc: Bump version to v1.17.0 * docs: Add changelog entry for 1.17.0 * Regenerate test output * Fix tests
1 parent 98da1d4 commit fa985d0

File tree

2,079 files changed

+2157
-2081
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,079 files changed

+2157
-2081
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Kyle Conroy'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.16.0'
25+
release = '1.17.0'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/overview/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ docker run --rm -v "%cd%:/src" -w /src kjconroy/sqlc generate
4848

4949
## Downloads
5050

51-
Get pre-built binaries for *v1.16.0*:
51+
Get pre-built binaries for *v1.17.0*:
5252

53-
- [Linux](https://github.com/kyleconroy/sqlc/releases/download/v1.16.0/sqlc_1.16.0_linux_amd64.tar.gz)
54-
- [macOS](https://github.com/kyleconroy/sqlc/releases/download/v1.16.0/sqlc_1.16.0_darwin_amd64.zip)
55-
- [Windows (MySQL only)](https://github.com/kyleconroy/sqlc/releases/download/v1.16.0/sqlc_1.16.0_windows_amd64.zip)
53+
- [Linux](https://github.com/kyleconroy/sqlc/releases/download/v1.17.0/sqlc_1.17.0_linux_amd64.tar.gz)
54+
- [macOS](https://github.com/kyleconroy/sqlc/releases/download/v1.17.0/sqlc_1.17.0_darwin_amd64.zip)
55+
- [Windows (MySQL only)](https://github.com/kyleconroy/sqlc/releases/download/v1.17.0/sqlc_1.17.0_windows_amd64.zip)
5656

5757
See [downloads.sqlc.dev](https://downloads.sqlc.dev/) for older versions.

docs/reference/changelog.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,82 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.17.0](https://github.com/kyleconroy/sqlc/releases/tag/1.17.0)
5+
Released 2023-02-13
6+
7+
### Bug Fixes
8+
9+
- Initialize generated code outside function (#1850)
10+
- (engine/mysql) Take into account column's charset to distinguish text/blob, (var)char/(var)binary (#776) (#1895)
11+
- The enum Value method returns correct type (#1996)
12+
- Documentation for Inserting Rows (#2034)
13+
- Add import statements even if only pointer types exist (#2046)
14+
- Search from Rexpr if not found from Lexpr (#2056)
15+
16+
### Documentation
17+
18+
- Change ENTRYPOINT to CMD (#1943)
19+
- Update samples for HOW-TO GUIDES (#1953)
20+
21+
### Features
22+
23+
- Add the diff command (#1963)
24+
25+
### Build
26+
27+
- (deps) Bump github.com/mattn/go-sqlite3 from 1.14.15 to 1.14.16 (#1913)
28+
- (deps) Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#1909)
29+
- Fix devcontainer (#1942)
30+
- Run sqlc-pg-gen via GitHub Actions (#1944)
31+
- Move large arrays out of functions (#1947)
32+
- Fix conflicts from pointer configuration (#1950)
33+
- (deps) Bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0 (#1988)
34+
- (deps) Bump github.com/jackc/pgtype from 1.12.0 to 1.13.0 (#1978)
35+
- (deps) Bump golang from 1.19.3 to 1.19.4 (#1992)
36+
- (deps) Bump certifi from 2020.12.5 to 2022.12.7 in /docs (#1993)
37+
- (deps) Bump golang from 1.19.4 to 1.19.5 (#2016)
38+
- (deps) Bump golang from 1.19.5 to 1.20.0 (#2045)
39+
- (deps) Bump github.com/jackc/pgtype from 1.13.0 to 1.14.0 (#2062)
40+
- (deps) Bump github.com/jackc/pgx/v4 from 4.17.2 to 4.18.0 (#2063)
41+
42+
### Cmd
43+
44+
- Generate packages in parallel (#2026)
45+
46+
### Cmd/sqlc
47+
48+
- Bump version to v1.17.0
49+
50+
### Codegen
51+
52+
- Remove built-in Kotlin support (#1935)
53+
- Remove built-in Python support (#1936)
54+
55+
### Internal/codegen
56+
57+
- Cache pattern matching compilations (#2028)
58+
59+
### Mysql
60+
61+
- Add datatype tests (#1948)
62+
- Fix blob tests (#1949)
63+
64+
### Plugins
65+
66+
- Upgrade to wasmtime 3.0.1 (#2009)
67+
68+
### Sqlite
69+
70+
- Supported between expr (#1958) (#1967)
71+
72+
### Tools
73+
74+
- Regenerate scripts skips dirs that contains diff exec command (#1987)
75+
76+
### Wasm
77+
78+
- Upgrade to wasmtime 5.0.0 (#2065)
79+
480
## [1.16.0](https://github.com/kyleconroy/sqlc/releases/tag/1.16.0)
581
Released 2022-11-09
682

examples/authors/mysql/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/mysql/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/mysql/query.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/postgresql/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/postgresql/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/postgresql/query.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/sqlite/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/sqlite/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/authors/sqlite/query.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/batch/postgresql/batch.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/batch/postgresql/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/batch/postgresql/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/batch/postgresql/querier.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/batch/postgresql/query.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/mysql/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/mysql/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/mysql/query.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/postgresql/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/postgresql/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/postgresql/query.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/sqlite/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/sqlite/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/booktest/sqlite/query.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/jets/db.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/jets/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/jets/query-building.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/kotlin/src/main/kotlin/com/example/authors/mysql/Models.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.authors.mysql
66

examples/kotlin/src/main/kotlin/com/example/authors/mysql/Queries.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.authors.mysql
66

examples/kotlin/src/main/kotlin/com/example/authors/mysql/QueriesImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.authors.mysql
66

examples/kotlin/src/main/kotlin/com/example/authors/postgresql/Models.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.authors.postgresql
66

examples/kotlin/src/main/kotlin/com/example/authors/postgresql/Queries.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.authors.postgresql
66

examples/kotlin/src/main/kotlin/com/example/authors/postgresql/QueriesImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.authors.postgresql
66

examples/kotlin/src/main/kotlin/com/example/booktest/mysql/Models.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.booktest.mysql
66

examples/kotlin/src/main/kotlin/com/example/booktest/mysql/Queries.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.booktest.mysql
66

examples/kotlin/src/main/kotlin/com/example/booktest/mysql/QueriesImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.booktest.mysql
66

examples/kotlin/src/main/kotlin/com/example/booktest/postgresql/Models.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
22
// versions:
3-
// sqlc v1.16.0
3+
// sqlc v1.17.0
44

55
package com.example.booktest.postgresql
66

0 commit comments

Comments
 (0)