Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v1.14.0 #1671

v1.14.0 #1671
Jun 10, 2022 · 2 comments
Discussion options

What's Changed

New Contributors

Full Changelog: v1.13.0...v1.14.0


This discussion was created from the release v1.13.0.
You must be logged in to vote

Replies: 2 comments

Comment options

Thanks for the new release! I guess this announcement should be called 1.14?

Is it intended that the new version requires at least Go 1.18? Looks like the code could be easily changed to work without generics.

github.com/kyleconroy/sqlc@v1.14.0/internal/config/go_type.go:175:15: undefined: strings.Cut
note: module requires Go 1.18
You must be logged in to vote
0 replies
Comment options

I guess this announcement should be called 1.14?

Fixed

Is it intended that the new version requires at least Go 1.18

Yep. While the code that requires it is trivial to fix, 1.18 has been out for three months. I'm sure we're going to have more place where we want to use newer features in the future, so I'm happy with requiring 1.18 now.

The generated code does not require require 1.18

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /