jet v2.4.0 Release Notes

Release Date: 2020-06-28 // over 1 year 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 for ON CONFLICT clause (sample)
    • โšก๏ธ [mysql] Support for ON DUPLICATE KEY UDPATE clause (sample)
    • ๐Ÿ†• New type-safe SET clause for UPDATE statement (sample)
    • ๐Ÿšš Generated files idempotency (timestamp removed from generated files) (issue)
    • ๐ŸŒฒ Automatic query logging (sample)