Update module github.com/golang-migrate/migrate/v4 to v4.15.2 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/golang-migrate/migrate/v4 | require | minor |
v4.14.1 -> v4.15.2
|
Release Notes
golang-migrate/migrate
v4.15.2
Changes
Documentation
-
06c25a2
Add pkger to README (by @glacials ) -
ed8a8b0
Include iofs in migration sources (by @bndw ) -
b69b032
clarify the package name (#660) (by @khash ) -
bfd0502
Set syntax highlighting for pkger example (by @glacials ) -
81cbc9c
fix: incorrect clickhouse dns example (by @xkisu )
Database Drivers
-
f621644
Add WithConnection to Postgres similar to MySQL. (by @AndreasKl ) -
6e499cb
Expose configuring cassandra connect timeout through query string (by @taywrobel ) -
4ba6957
Resolves #647 - Fixes typos in Mongo advisory locking parameters (#648) (by @SJrX ) -
9d3babd
Run SQL server tests on Azure SQL Edge (by @jfhbrook-at-work ) -
5798784
Update Spanner to 1.27 (by @mccalltd ) -
020eda4
Upgrade cloud.google.com/go/spanner to 1.28.0, which adds JSON_VALUE support (by @kylechadha ) -
9f5ed82
Use DELETE FROM instead of TRUNCATE for MySQL (#656) (by @martinarrieta and @antigremlin ) -
608e4f6
Use the recommended v4 in mysql README (by @mgenware ) -
a46677e
bump go-sqlite3 to v1.14.10 (by @pankona )
Migration Sources
Builds
-
5aa1a03
Bump version of autorest/adal (by @jcmuller ) -
169d0fc
Include 2 letter query param key in unit test (by @suzaku ) -
331a15d
Update dktest from v0.3.9 to v0.3.10 to fix upstream security issues (by @dhui ) -
c277388
Update dktest to v0.3.9 for upstream security vulnerability fixes (by @dhui ) -
cf68462
Run gofmt on internal build dir (by @dhui ) -
fc7f720
refactor: use sort.Slice (by @suzaku ) -
918e13a
Upgrade containerd and image-spec for the vulnerabilities (#662) (by @mopp ) -
4f82413
len(k) is guaranteed to be greater than 1 in this case (by @suzaku )
Thank you for your hard work and all your contributions!
v4.15.1
Changes
Database Drivers
- Update gosnowflake from v1.4.3 to v1.6.3 to fix security warnings (#632 & #637). Thanks @nicholas-mainardi and @obitech for reporting the issue!
- Add unofficial support for AWS Keyspaces to the Cassandra DB driver by
DELETE
ing the schema version table instead of usingTRUNCATE
thanks to @florentsolt and @Baumanar (#634)
Docker Image
- Fixed CLI binary file location (https://github.com/golang-migrate/migrate/issues/625) thanks to @Fontinalis (https://github.com/golang-migrate/migrate/pull/628)
Builds
- Update dktest to v0.3.7 to fix security warnings (#632). Thanks @nicholas-mainardi for reporting the issue!
v4.15.0
Breaking Changes
- In the Docker image, the location of the
migrate
binary changed from/usr/local/bin/migrate
to/usr/bin/migrate
- When updating to this version of
migrate
with postgres, you need to ensure that no migrations are currently running and no old versions of migrate will run at the same time as new versions. The inputs for generating the advisory lock changed so this version will lock with a different key than previous versions.
Changes
Builds
- Use GoReleaser and GitHub Actions (#604) by @johejo and @Fontinalis
- Fix test on windows (#482) by @johejo
- Upgrade dktest from v0.3.3 to v.0.3.4 by @dhui
- Support Go 1.16 and drop support for Go 1.15 by @dhui
- Update docker builds to use Go 1.16 and Alpine Linux 3.13 (#560) by @dhui
- ci: migrate from CircleCI to GitHub Actions (#605) by @Juneezee
- Drop support for Go 1.15 by @dhui
Source Drivers
- GitLab
- GitHub
- Add default GitHub API client (#501) by @ganboonhong
- Update go-github from v17 to v35 by @dhui
- iofs
- Fix iofs tests (#560) by @dhui
- Cleanup go 1.15 and 1.16 version specific files by @Fontinalis
Database Drivers
- used uber atomic bool instead standard in lock/unlock db (#580) by @prinkov
- sqlite3
- Fix error when path to database contains whitespace (#500) by @ganboonhong
- Add support for modernc.org/sqlite (#555) by @gammazero
- Bump sqlite past memory corruption bug (#558) by @zikaeroh
- postgres & pgx
- Support multi-statement execution for PostgreSQL (#495) by @AnatolyRugalev
- Add pgx driver package (#517) by @dzbee
- Add a check to determine if table already exists to elide CREATE query (#526) by @testtest959
- Add x-migrations-table-quoted url query option (#95) (#533) by @stephane-klein
- Fix SchemaName parameter is ignored (#547) by @stephane-klein
- clubhouse
- Upgrade clickhouse driver lib (#529) by @linux019
- added tests for clickhouse database (#532) by @prinkov
- make table engine for schema versions table configurable (#551) by @brunotm
- Adding support for clickhouse cluster (#568) by @preved911
- honor DefaultMigrationsTableEngine when created WithInstance() (#617) by @kaworu
- spanner
- fix (spanner): upgrade spanner client to v1.18.0 to support NUMERIC types (#565) by @kylechadha
- Update Google Spanner dependency (#608) by @alethenorio
- support for
ROW DELETION POLICY
,ALTER DATABASE
and parsing keywords and functions in case insensitive
- support for
- snowflake
- mssql
- Add msi auth support (#591) by @samfoxcode
- Added a method to create a mysql database from a connection object (#583) by @Seb-C
- cockroachdb
- use github.com/cockroachdb/cockroach-go/v2/crdb (for better go module support) (#595) by @DGollings
- mongodb
- Update MongoDB db driver to fix security issue by @dhui
CLI
- Allow the abillity to pass timezone when generating migration files (#509) by @nronas
- fix: move
-all
flag usage fromdrop
todown
(#522) by @Juneezee
Docs
- Point docs link to v4 (#524) by @jeffwidman
- Update sqlite and sqlite3 docs with comparison by @dhui
- Fix grammar for Clickhouse cluster mode docs by @dhui
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by renovate