GitHub / sqlc-dev/sqlc / commits
Generate type-safe code from SQL
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 8a589332 | fix(codegen/golang): BREAKING: Use `int16` for MySQL `SMALLINT` and `YEAR` (#... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 8d68872b |
build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0 (#3107)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| f0ef223b | docs: Move the sqlc Dashboard section lower in getting started (#3110) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 023ab78f | fix(scripts): Remove test output regeneration script (#3105) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 2b731202 | feat(sqlc): Bump to version v1.25.0 (#3102) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 5e7977bb | test: Run vet against local database server (#3101) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 2328c81e |
docs: Add release notes for v1.25.0 (#3100)
Co-authored-by: Andrew Benton <a****w@s****v> |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 874bfc2e | build: Run MySQL and PostgreSQL locally on the runner (#3095) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 1f24e102 |
build(deps): bump github.com/tetratelabs/wazero from 1.5.0 to 1.6.0 (#3096)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4188d23b |
feat(plugins): Use wazero instead of wasmtime (#3042)
Co-authored-by: Anuraag Agrawal <a****a@g****m>, Anuraag Agrawal <a****a@g****m>, Anuraag Agrawal <a****a@g****m> |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4f7fca7a | fix: Split schema and query for test (#3094) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| b3e4145b | feat(sqlite): Support emit_pointers_for_null_types (#3026) |
Ben Hoyt <b****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| d336e4a1 | feat: Add `emit_sql_as_comment` option to Go code plugin (#2735) |
Jason Cabot <j****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| f1451b28 | chore(engine/sqlite): update to antlr 4.13.1 (#3086) |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| a4fa8b9d | build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0 (#3079) |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| e1309fbc | feat(push): Add tag support (#3074) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| ce951622 | fix(codegen/golang): Don't import `"strings"` for `sqlc.slice()` with pgx (#3... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| f0184bc5 | fix(compiler): Skip analysis of queries without a `name` annotation (#3072) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 94c460de |
build(deps): bump google.golang.org/grpc from 1.60.0 to 1.60.1 (#3070)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 19722983 |
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#3068)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 55f32503 | feat(analyzer): Return zero values when encountering unexpected ast nodes (#3... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 58f73163 | docs: Re-order the migration tools list (#3064) |
Mohammed Al Sahaf <m****0@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| e36cf3a0 |
build(deps): bump modernc.org/sqlite from 1.27.0 to 1.28.0 (#3062)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| e7b67518 |
build(deps): bump actions/upload-artifact from 3 to 4 (#3061)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 871c6674 |
build(deps): bump babel from 2.13.1 to 2.14.0 in /docs (#3055)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 3f533f5f | fix SQL sample parameters for direct usability (#3056) |
('o mo)y-˜ <k****5@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 19024bd2 |
build(deps): bump google.golang.org/grpc from 1.59.0 to 1.60.0 (#3053)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 8aad7255 | build(deps): Upgrade to latest version of github.com/wasilibs/go-pgquery (#3052) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 33cfa2fa |
Add version 2 example for how to rename tables (#3051)
Co-authored-by: Kevin Snyder <k****r@K****l> |
KevinSnyderCodes <k****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4fd678ff |
build(deps): bump github.com/jackc/pgx/v5 from 5.5.0 to 5.5.1 (#3050)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 738d1538 |
build(deps): bump actions/setup-go from 4 to 5 (#3047)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 7f3273d5 | build(sqlite): Disable modernc for WASM (#3048) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 6bae4a22 | docs: Add strict_order_by in doc (#3044) |
LIU HANCHENG <l****n@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 8e19d89d | build(typescript): Test against sqlc-gen-typescript (#3046) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4f3940e4 |
build(deps): bump golang from 1.21.4 to 1.21.5 (#3043)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| eb8d97ff | test(endtoend): Enable for more build targets (#3041) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| ecb0491e | feat(sqlite): Switch from mattn/go-sqlite3 to modernc.org/sqlite (#3040) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4a059995 | Use wazero-based libpgquery wrapper in currently disabled environments (#3027) |
Anuraag Agrawal <a****a@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 7370598e | docs: Update banner for sqlc-gen-typescript (#3036) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| caaaacc6 | fix: Take the maximum array dimensions (#3034) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 564f67dd | fix: Use derived ArrayDims instead of deprecated attndims (#3032) |
Hendrik Hofstadt <1****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| ff85353c | docs: Add a sidebar link for `push`, add Go plugin link (#3023) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4b0f6181 |
build(deps): bump sphinx-rtd-theme from 1.3.0 to 2.0.0 in /docs (#3016)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| eb966a40 | test: Add tests for omit_sqlc_version (#3020) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 1af6cf86 |
issue#3018: [feat] add omit_sqlc_version to Go code generation (#3019)
Co-authored-by: Bertold Kolics <b****s@v****m> |
Bertold Kolics <b****d@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 14e9d74b | docs: Add name to query set configuration (#3011) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 5d27a280 |
build(deps): bump idna from 3.4 to 3.6 in /docs (#3010)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| e5ed05be | fix(codegen): wrong yaml annotation in go codegen options for output_querier_... |
Paul GERARD <8****a@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| d0a0ea90 | docs: Update the banner for v1.24.0 |
Kyle Conroy <k****e@s****v>
Committed by: Kyle Gray <k****e@c****g> |
almost 3 years ago | |
| 8eb91c3f | docs: Update examples for version v1.24.0 |
Kyle Conroy <k****e@s****v>
Committed by: Kyle Gray <k****e@c****g> |
almost 3 years ago | |
| f3cd207d | test: Update testdata for version v1.24.0 |
Kyle Conroy <k****e@s****v>
Committed by: Kyle Gray <k****e@c****g> |
almost 3 years ago | |
| ff514947 | feat(sqlc): Bump to version v1.24.0 |
Kyle Conroy <k****e@s****v>
Committed by: Kyle Gray <k****e@c****g> |
almost 3 years ago | |
| db4afc4d | docs: Change verify title slightly (#3001) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 127538a1 |
build(deps): bump pygments from 2.17.1 to 2.17.2 in /docs (#3000)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 94a6c325 | docs: Add verify and push documentation (#2998) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| ca8bfbb4 |
build(deps): bump pygments from 2.16.1 to 2.17.1 in /docs (#2994)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| d5c53026 |
fix: Return an error instead of generating duplicate Go names (#2962)
Co-authored-by: Kyle Conroy <k****e@s****v> |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 64313a6f | feat(verify): Add new command to verify queries and migrations (#2986) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| a7d50c55 |
build(deps): bump certifi from 2023.7.22 to 2023.11.17 in /docs (#2993)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 35da5175 | test: add glob pattern tests to sqlpath.Glob (#2995) |
eduardolat <5****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| a113b678 | feat(examples): Use hosted MySQL databases for tests (#2982) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 66ada0a0 | build(buf): Change root of Buf module (#2987) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| d1bbf82e | feat(createdb): Add support for MySQL (#2980) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 7a16df55 | fix: Update help text for generate to be more generic (#2981) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 721eba09 | fix(codegen): Never generate return structs for :exec (#2976) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| fbb5ab80 | docs: Minor cleanup in overrides doc (#2977) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 13141d95 |
Enhance `sqlpath.Glob` to actually support glob wildcard (#2955)
Co-authored-by: Valeriy Selitskiy <v****s@s****m>, Kyle Conroy <k****e@s****v> |
Valeriy Selitskiy <2****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 66293c6d |
build(deps): bump urllib3 from 2.0.7 to 2.1.0 in /docs (#2975)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 6763792a | fix(docs): Better discussion of type override nuances (#2972) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| e120ef20 | feat(ci): Rely on go.mod to determine which Go version to use (#2971) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 41d71654 |
build(deps): bump github.com/google/cel-go from 0.18.1 to 0.18.2 (#2969)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| f36106c0 | chore: Bump Go version from 1.21.3 to 1.21.4 in workflows and Dockerfile (#2961) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| cfe3033d |
docs: Add comment about <PROJECT_ID> (#2957)
Co-authored-by: Andrew Benton <a****w@s****v> |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| a7d4d9c0 | fix(compiler): No panic on full-qualified column names (#2956) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| ed9264d3 | feat: Add script to mirror code to sqlc-gen-go (#2952) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 5dacaf05 | test: Remove Kotlin examples (#2953) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| a334908d | test: New workflow for sqlc-gen-python (#2936) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| b7341bac | fix(codegen/golang): Move more Go-specific config validation into the plugin ... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 08ecde78 |
build(deps): change github.com/pingcap/tidb/parser to github.com/pingcap/tidb...
Signed-off-by: Weizhen Wang <w****n@p****m> |
Weizhen Wang <w****n@p****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 069b2572 |
build(deps): bump github.com/jackc/pgx/v5 from 5.4.3 to 5.5.0 (#2947)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 7b65e9c6 |
build(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0 (#2946)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 02ef26f6 |
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.17 to 1.14.18 (#2945)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| f2bcb046 |
build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#2944)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 3b528ec3 | chore: Clean up a little, update LICENSE and README (#2941) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 856779c5 | fix(compiler): Prevent panic when compiler is nil (#2942) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| f80cee1f | feat(plugin): Calculate SHA256 if it does not exist (#2935) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 4507ede8 | feat(plugin): Use gRPC interface for codegen plugin communication (#2930) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| a2258499 | docs: Acknowledgements => Acknowledgments (#2931) |
Bilal Mirza <8****4@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| c19358bf | fix(vet): Add a nil pointer check to prevent db/prepare panic (#2934) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| be6c6736 |
Support PostgreSQL CREATE TABLE LIKE (#2924)
Co-authored-by: Kyle Conroy <k****e@s****v> |
Xeraph <6****v@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 9cd91396 | fix(engine/sqlite): support -> and ->> operators (#2927) |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| d9e233ef |
feat(codegen): Remove Go specific overrides from codegen proto (#2929)
Co-authored-by: Andrew Benton <a****w@s****v> |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 7461c2d8 | fix(engine/sqlite): support CASE expr (#2926) |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| e4fd0793 | refactor(config): Make some struct and field names less confusing (#2922) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| c84379ff | refactor(codegen/golang): Pull opts into its own package (#2920) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 8e068747 | docs: Update banner for v1.23.0 (#2917) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 21133eca | docs: Fix some broken links (#2913) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 2d8e1b6a |
build(deps): bump babel from 2.13.0 to 2.13.1 in /docs (#2911)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 7671632b | feat(sqlc): Bump to version v1.23.0 |
Kyle Conroy <k****e@s****v>
Committed by: Kyle Gray <k****e@c****g> |
almost 3 years ago | |
| bf03e154 | test: Update sqlc version in generated code |
Kyle Conroy <k****e@s****v>
Committed by: Kyle Gray <k****e@c****g> |
almost 3 years ago |