Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 3.39 KB

CHANGELOG.md

File metadata and controls

62 lines (46 loc) · 3.39 KB

Changelog

  • 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)