Skip to content

Releases: pressly/goose

v3.6.0

20 Jun 01:18
1b45f37
Compare
Choose a tag to compare

Breaking change

The ClickHouse driver has been upgraded from /v1 to /v2. See comment here and a short blog post.

See comment here for new format: #369 (comment)

Changelog

v3.5.3

12 Feb 03:12
5f1f43c
Compare
Choose a tag to compare

Changelog

v3.5.2

04 Feb 13:55
b2a7e51
Compare
Choose a tag to compare

Changelog

v3.5.1

25 Jan 04:02
7fffa2d
Compare
Choose a tag to compare

Changelog

v3.5.0

19 Dec 14:39
c8aa123
Compare
Choose a tag to compare

Changelog

v3.4.1

26 Nov 01:55
e493182
Compare
Choose a tag to compare

Changelog

e493182: Add build constraints for windows_arm64 (@mfridman)
cc7f022: Replace mattn/go-sqlite3 with modernc.org/sqlite (CGo-free port of SQLite) (#290) (@mfridman)
4148551: option to use pgx instead pq (#283) (@gohryt)
7bc1756: (#289) (@dongri)

v3.3.1

28 Oct 22:10
1f07599
Compare
Choose a tag to compare

Changelog

1f07599: Update tests and gitignore (#285) (@mfridman)

v3.3.0

24 Oct 21:02
Compare
Choose a tag to compare

Changelog

8ed5f63: Add the ability to apply missing (out-of-order) migrations (#280) (@mfridman)

NOTE. The default behaviour in goose was to ignore missing migrations. Example:

Suppose migration 1 and 4 are applied and then version 2, 3, 5 are introduced. Previously goose will ignore version 2, 3 and apply only 5.

In the new implementation goose will raise and error (because 2 and 3 are lower than the current max version: 4), unless you explicitly set the -allow-missing flag (CLI) or functional option goose.WithAllowMissing() (library) to Up, UpTo or UpByOne.

With this goose detects missing (i.e., out-of-order) migrations 2, 3 and applies them, followed by migration 5. Which means the applied order of migrations will be: 1, 4, 2, 3, 5

Lastly, a missing migration is one that has not been applied and is lower that the current max version_id in the database.

9f88133: Update dependencies; go mod tidy and verify (@mfridman)
6bef64a: Update readme (@mfridman)

v3.2.0

13 Oct 13:27
48f48dc
Compare
Choose a tag to compare

Changelog

97eae09: Add CI workflows to generate GitHub Releases and binaries on new tag push (#277) (@mfridman)
48f48dc: Add container-based database tests for postgres and mysql (#276) (@mfridman)
0e770f8: Add goose logo (#274) (@mfridman)
f24b19c: Update readme with mysql multiStatements (@mfridman)
e976a73: fix clickhouse goose table name (#270) (@qonsth)
872d9e9: fixed a typo in the OpenDBWithDriver() description. (#253) (@kaatinga)

v3.1.0

21 Aug 02:46
d15e25a
Compare
Choose a tag to compare
  • #230 - Adds the ability to embed SQL files using //go:embed feature added in go1.16.
    Thank you to @xakep666
  • Bump CI to support go1.17 and set minimum supported version to go1.16