Skip to content

Releases: go-gorp/gorp

Version 3.0.1: Actual modules go!

27 Nov 02:56
Compare
Choose a tag to compare

v3.0.0 had a bug in go.mod, defining the module as github.com/go-gorp/gorp without the all-important version suffix. v3.0.1 has been released with a fixed module name in the go.mod file.

Version 3.0.0: Modules Go!

29 Oct 17:29
Compare
Choose a tag to compare

The reason for the bump to v3 is because we're now supporting go modules. This has zero effect on our runtime dependencies, since 100% of our dependencies are in the standard library and therefore are not included in go.mod or go.sum. All dependencies mentioned in go.mod are test dependencies.

However, this will provide a list of driver versions that we've tested against.

This is the same as v2.2.0, but with go.mod and go.sum files.

v2.2.0

29 Oct 17:26
03c0a1b
Compare
Choose a tag to compare

New Features

  • Setting DbMap.ExpandSliceArgs to true will cause queries with slice arguments to have their slice arguments expanded. See the docs on the DbMap type for details.

Bug Fixes

  • Fixed our internal NullTime type and tests around that type for recent go versions
  • Fixed our tests' timestamp parsing code
  • Fixed a panic when a nil driver.Valuer is passed in and trace logging is on
  • Table.SetUniqueTogether is now idempotent

Minor Notes

  • Bumped our travis go versions and the postgres service
  • Deleted some old code that was build-tag-restricted to go versions <1.8
  • Documentation typos and ignored errors fixed

v1.7.2

12 Nov 15:40
6a667da
Compare
Choose a tag to compare

Included in this release (ignoring merge commits):

cfc99f6: travis: test Go 1.3, 1.4 and tip

d1ddc3c:
backport: Initialise plans using sync.Once

Backport of 7f030ea. Fixes data race.

v2.1.0

10 Apr 15:55
Compare
Choose a tag to compare

Included in this release (ignoring merge commits):

  • 252b0db: Add documentation for using sqlite3 extensions.
  • 38e1f13: Dropped support for go 1.4 and 1.5
  • b5e1652: Cleaned up some code examples in README.md
  • fe96e85:
    • Add go 1.8 and 1.9 to go versions on travis
    • Add a WithContext method to both the DbMap and Transaction types, to create a map or transaction that runs all subsequent queries using the passed in context.Context
  • dc4f2a4: Fixed the SqlTyper's type to return a driver.Value instead of a driver.Valuer
  • 2fba08c and d62836b: Updated the build status badge to only report on the master branch in the README.
  • c5fd513: Added a LowercaseFields boolean to allow the PostgresDialect to automatically convert field names to lower case.
  • 2925510: When rows.Next() returns false, the docs say to check rows.Err(), which we weren't doing. This fixes the problem.
  • 4df7849: Ginkgo was causing test polution, a problem that I've run in to with ginkgo many times before. Rather than continue down that road again, we replaced ginkgo with onpar, which is a similar BDD-style library that's a lot simpler.