Skip to content

Releases: go-reform/reform

v1.5.1

27 Aug 08:36
v1.5.1
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.5.1

  • reform-db init now correctly handles tables with composite primary keys (#274).

v1.5.0

08 Dec 08:36
v1.5.0
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.5.0

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

v1.4.1

31 Aug 04:37
v1.4.1
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.4.1

  • reform-db init command: fix PRIMARY KEY detection for MySQL.
  • Add testing with Go 1.15.
  • Updated dependencies.

v1.4.0

29 Jul 06:57
v1.4.0
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.4.0

v1.4.0-beta1

25 Jun 07:52
v1.4.0-beta1
Compare
Choose a tag to compare
v1.4.0-beta1 Pre-release
Pre-release

https://github.com/go-reform/reform/milestones/v1.4.0

v1.3.4

25 Jun 06:23
v1.3.4
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.3.4

  • Make reform generator work with Go 1.15.
  • Replace syreclabs.com/go/faker with github.com/brianvoe/gofakeit.

v1.3.3

11 Dec 07:28
v1.3.3
Compare
Choose a tag to compare

v1.3.2

23 Jul 06:05
v1.3.2
91ede32
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.3.2

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

v1.3.1

07 Dec 11:30
v1.3.1
161dee9
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.3.1

  • No user-visible changes.
  • Major changes in CI and development environment.

v1.3.0

01 Dec 10:39
v1.3.0
a76bd30
Compare
Choose a tag to compare

https://github.com/go-reform/reform/milestones/v1.3.0

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