v1.21.0 #2706
Closed
kyleconroy
announced in
Announce
v1.21.0
#2706
Replies: 1 comment 2 replies
-
With this release, I am getting validation errors due to generating extra imports:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's new
MySQL engine improvements
sqlc
previously didn't know how to parse aCALL
statement when using the MySQL engine,which meant it was impossible to use sqlc with stored procedures in MySQL databases.
Additionally,
sqlc
now supportsIS [NOT] NULL
in queries. AndLIMIT
andOFFSET
clausesnow work with
UNION
.SQLite engine improvements
GitHub user @orisano continues to bring bugfixes and
improvements to
sqlc
's SQLite engine. See the "Changes" section below for thefull list.
Plugin access to environment variables
If you're authoring a sqlc plugin, you can now configure
sqlc to pass your plugin the values of specific environment variables.
For example, if your plugin
needs the
PATH
environment variable, addPATH
to theenv
list in theplugins
collection.A variable named
SQLC_VERSION
is always included in the plugin'senvironment, set to the version of the
sqlc
executable invoking it.What's Changed
CAST
tests and rearranged postgres tests for same by @andrewmbenton in feat(endtoend/testdata): added two sqliteCAST
tests and rearranged postgres tests for same #2551--experimental
flag by @andrewmbenton in fix: remove references to deprecated--experimental
flag #2567Walk
by @Juneezee in refactor(astutils): remove redundant nil check inWalk
#2660UNION ALL
by @orisano in fix(engine/dolphin): Fixed problem that LIMIT OFFSET cannot be used withUNION ALL
#2613emit_pointers_for_null_types
configuration option in version 2 #2682) by @topazur in docs: Missing emit_pointers_for_null_types configuration option in version 2 (#2682) #2683New Contributors
Full Changelog: v1.20.0...v1.21.0
This discussion was created from the release v1.21.0.
Beta Was this translation helpful? Give feedback.
All reactions