Skip to content

Releases: pressly/goose

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

v3.0.1

08 Aug 15:50
6631aae
Compare
Choose a tag to compare
  • Fixes import for goose create template #265
  • Small fixes to README

v3.0.0

04 Aug 13:17
ff32c04
Compare
Choose a tag to compare
  • Adds Go module support (#261 ). You can import this package using the following import path:
github.com/pressly/goose/v3

This release, and any future /v3 work is intended to be backwards-compatible with existing v2.x.y tags.

v2.7.0

15 Jan 14:28
7dd9c10
Compare
Choose a tag to compare

The v2.7.0 release is a long overdue one. We've been running the release candidates internally and have not observed issues.

There are a number of fixes and improvements in this release.

Fixes #87
Fixes #98
Fixes #101
Fixes #122
Fixes #132
Fixes #138
Fixes #146
Fixes #158

Merge #157 - Remove goose pkg deps
Merge #224 - Do not require MySQL when --tags="no_mysql",
Merge #227 - Update github.com/lib/pq from v1 to v1.1
Merge #215 - New flag -s to create sequential versioning files

v2.7.0-rc5: Release candidate with bunch of fixes & readme improvements

25 Aug 12:41
ad369d9
Compare
Choose a tag to compare

Notice: goose -version prints v2.7.0-rc3 incorrectly on this pre-relase.

v2.7.0-rc4: Fixes regression in SQL parser

03 May 21:15
c35094e
Compare
Choose a tag to compare

Fixes #158

Notice: goose -version prints v2.7.0-rc3 incorrectly on this pre-relase.

v2.7.0-rc3 Remove unnecessary mysql dependency from goose pkg

06 Mar 06:39
f6dca2b
Compare
Choose a tag to compare
Merge pull request #157 from pressly/remove_goose_pkg_deps

Remove goose pkg deps