This repository has been archived by the owner on May 9, 2021. It is now read-only.
fix(deps): update module github.com/golang-migrate/migrate to v4 #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.5.4+incompatible
->v4.14.1
Release Notes
golang-migrate/migrate
v4.14.1
Compare Source
Changes
Source Drivers
go mod tidy
. Thanks to @zikaeroh for reporting the issue (#480) and @johejo for the revert PR (#481)v4.14.0
Compare Source
Changes
Source Drivers
go:embed
(golang/go#41191)Database Drivers
fa3e119
)ANSI
orANSI_QUOTES
sql_mode
(#475) thanks to @MacTynow (#476)drop
thanks to @hypnoglow (#456)CLI
-h
) to everymigrate
command thanks to @yageek (#460)Docs
migrate
viago get
from within a module fixing #257search_path
issues thanks to @veger (#414)-f
option for the drop command thanks to @neomantra (#459)v4.13.0
Compare Source
Changes
Database Driver
Builds
Docs
Github
toGitHub
thanks to @dhermes (#429)v4.12.2
Compare Source
Changes
Database Driver
Builds
make
for Docker buildsv4.12.1
Compare Source
Changes
Builds
v4.12.0
Compare Source
Breaking Changes
Changes
Core Library
multistmt
package to handle splitting multiple statements in a migrationDatabase Driver
mongodb+srv
as a scheme to support seedlists thanks to @shiwano (#391)multistmt
packageDocs
pkger
source driver usage thanks to @hnnsgstfssn (#397)Builds
v4.11.0
Compare Source
Breaking Changes
neo4j.WithInstance()
method signature to actually include an instance of the neo4j driver thanks to @dynastymasra (#373)Changes
Core Library
hashicorp/go-multierror
tov1.1.0
to fix #369 thanks to @jmramos02 (#375)Database Driver
Source Driver
pkger
thanks to @hnnsgstfssn (#377)CLI
drop
command thanks to @niksoper (#360)Docs
v4.10.0
Compare Source
Changes
Drivers
CLI
Builds
Docs
v4.9.1
Compare Source
Changes
Builds
v4.9.0
Compare Source
Changes
Drivers
x-statement-timeout
option thanks to @coolnay309 (aka @psuresh309) (#327)cloud.google.com/go
drivers to fix linting issuesBuilds
Docs
ErrNoChange
in examples fixing #100 thanks to @Glyphack (#336)v4.8.0
Compare Source
Changes
Docs
Drivers
http.FileSystem
interface. Resolves #307 thanks to @fln (#293).httpfs.PartialDriver
github.com/cznic/ql/driver
tomodernc.org/ql/driver
Builds
v4.7.1
Compare Source
Changes
v4.7.0
Compare Source
Changes
v4.6.2
Compare Source
Changes
v4.6.1
Compare Source
Changes
v4.6.0
Compare Source
Breaking Changes
migrate
as a library with MongoDB, you'll need to update your MongoDB driver version as well.migrate
CLI commands will now return a non-zero exit status thanks to @groyoh (#260)migrate
when used with MySQL. Thanks to @erikdubbelboer for the fixes and @lou-lan for discovering an issue w/ the original fix! (#265 and #271)Changes
NewDockerContainer
in unused/deprecatedmigrate/testing
package thanks to @thaJeztah (#270)v4.5.0
Compare Source
Breaking Changes
migrate down
now presents a confirmation prompt instead of running all down migrations thanks to @KlotzAndrew (#236)migrate down -all
. Namely, if you have scripts that runmigrate down
, you'll now have to runmigrate down -all
Changes
v4.4.0
Compare Source
Changes
v4.3.1
Compare Source
Changes
v4.3.0
Compare Source
Changes
Migrate.Drop()
is run.v4.2.5
Compare Source
Changes
migrate
thanks to @jszwedko (#176)v4.2.4
Compare Source
Changes
ErrNilDocument
issue when using newer versions ofmongo-go-driver
thanks to @arpando (#167)v4.2.3
Compare Source
Changes
v4.2.2
Compare Source
Changes
v4.2.1
Compare Source
Changes
v4.2.0
Compare Source
Breaking Changes
github.com/docker/docker
checksum ingo.sum
which is computed differently in Go 1.11.4Changes
github.com/go-sql-driver/mysql
fromv1.4.0
tov1.4.1
to fix issue with connecting to a MySQL RDBMS w/o a password. Thanks to @fsouza for reporting (#139) and fixing (#141) the issue.NilVersion
in ClickHouse db driver thanks to @bobrovde (#145)ALTER
theversion
column in the schema version table. e.g.ALTER schema_migrations MODIFY COLUMN version Int64
v4.1.0
Compare Source
Breaking Changes
database.Driver
.The decision was made to include this backwards incompatible change since it's unlikely to affect any users. e.g. the affected usage is an anti-pattern
For more info, see: #128 (comment)
You will not be impacted by this change unless you're using the Redshift DB driver's embedded
database.Driver
e.g.redshift.Redshift.Driver
If you encounter this issue, either:
1. Stop using the embedded
database.Driver
and instead use the Redshift DB driver which provides the same interface.1. Wrap the new Redshift DB driver and update your references to use your new wrapper
migrate
to/usr/local/bin
instead of/usr/bin
. You'll need to update any references to themigrate
binary that uses absolute paths and ensure that/usr/local/bin
is in your environmentPATH
.Changes
migrate
thanks to @vearutop (#131)v4.0.2
Compare Source
Changes
v4.0.1
Compare Source
Changes
logrus
name collision ingo.mod
thanks to @albenik (#114)v4.0.0
Compare Source
Breaking Changes
_ Per the Go module wiki, only Go 1.9.7+, 1.10.3+, and 1.11+ are supported
_ You'll need to use Go modules to use this release
_ Use modules:
go mod init
_ Update to the latest version of migrate:
go get -u github.com/golang-migrate/migrate
_ If you're updating from v3.5.2, you'll need to update all of your imports from v3 to v4
_ A command like this should update your imports:
sed -i -e 's@"github.com/golang-migrate/migrate/v3@​"github.com/golang-migrate/migrate/v4@​g' $(git grep -l '"github.com/golang-migrate/migrate/v3')
_ If you're updating from any other version before v4 except for v3.5.2, you'll need to change your imports to include v4
_ A command like this should update your imports:
sed -i -e 's@"github.com/golang-migrate/migrate@"github.com/golang-migrate/migrate/v4@​g' $(git grep -l '"github.com/golang-migrate/migrate')
* Note: BSD
sed
and GNUsed
treat the-i
option differently. Please consult yoursed
man page before running any of the commands aboveConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.