Skip to content

Releases: pressly/goose

v3.7.0

31 Aug 16:23
8abd890
Compare
Choose a tag to compare

Changelog

v3.6.1

23 Jun 01:41
f3d569f
Compare
Choose a tag to compare

Changelog

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)