Skip to content

Latest commit

 

History

History
102 lines (72 loc) · 5.16 KB

CHANGELOG.md

File metadata and controls

102 lines (72 loc) · 5.16 KB

Changelog

v1.6.0 (not released yet)

  • Go 1.17+ is now required.
  • reform-db init now correctly handles tables with composite primary keys (#274).
  • Generated code now passes Go 1.15's go vet. See (#245) and (#269).
  • Removed hard-coded dependency on sqlite3 package.
  • Updated dependencies and testing infrastructure.
  • Make reform generator work with Go 1.15.
  • Replace syreclabs.com/go/faker with github.com/brianvoe/gofakeit.
  • Fix tests for Go 1.12.
  • Go 1.8+ is now required due to changes in github.com/lib/pq driver.
  • Fixes in tests for MySQL 8, Go 1.10+ and latest versions of drivers.
  • No user-visible changes.
  • Major changes in CI and development environment.
  • Go 1.7+ is now required.
  • Added reform-db command.
    • init subcommand may be used to generate Go model files for existing database schema.
    • query and exec subcommands may be used for accessing a database.
  • Fields with reform tag with value "-" are ignored now (just like with value "" and without tag at all).
  • Added ErrTxDone.
  • Added DB.DBInterface.
  • Added Querier.UpdateView.
  • reform command with -gofmt=false flag still formats generated sources with go/format package, without invoking gofmt. Thanks to João Pereira.
  • Added support for sqlserver variant of github.com/denisenkom/go-mssqldb driver.
  • Added support for Microsoft SQL Server for Linux.
  • We now have a logo! Huge thanks to Natalya Glebova for making it.
  • reform command now correctly handles non-exported types.
  • Querier.Insert now correctly INSERTs records with set non-integer primary keys, even if dialect uses LastInsertId (MySQL, SQLite3).
  • reform command now correctly ignores type information when it's not used. This allows one to have fields of any custom types. The only exception is primary key fields, which are restricted to basic types (numbers and strings).
  • Package gopkg.in/reform.v1/parse is explicitly documented as internal. (It's wasn't really possible to use it.)
  • Querier.UpdateColumns no longer allows to update primary key column. This behavior was allowed, but did not make any sense.
  • reform command now correctly handles pointers to custom types and slices.

v1.0.0 (2016-06-22)