jet v2.4.0 Release Notes
Release Date: 2020-06-28 // almost 5 years ago-
Go modules support
For new download procedure take a look at Installation.
โก๏ธ Go mod requires for projects with major version 2 or higher, to include major version at the end of the module paths. This means for go.mod projects, depending of go-jet, will have to update there import paths. This can be achieved with the following command:find . -type f \ -name '\*.go' \ -exec sed -i -e 's,github.com/go-jet/jet,github.com/go-jet/jet/v2,g' {} \;
For GOPATH projects import path remains the same.
Previous changes from v2.3.0
-
- ๐ Support for WITH statements and Common Table Expressions(CTE). Sample usage.
- ๐ [
postgres
] Support forON CONFLICT
clause (sample) - โก๏ธ [
mysql
] Support forON DUPLICATE KEY UDPATE
clause (sample) - ๐ New type-safe
SET
clause forUPDATE
statement (sample) - ๐ Generated files idempotency (timestamp removed from generated files) (issue)
- ๐ฒ Automatic query logging (sample)