fix(deps): update module github.com/golang-migrate/migrate/v4 to v4.17.1
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| github.com/golang-migrate/migrate/v4 | require | minor |
v4.14.1 -> v4.17.1
|
Release Notes
golang-migrate/migrate (github.com/golang-migrate/migrate/v4)
v4.17.1
Changelog
-
4bc6777Add dktesting.Cleanup() method -
bead4a9Added documentation and test for lock strategy -
129922aAdded support for pgx locking table -
a860f0cBump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0 -
d1df97bBump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2 -
a78d1abBump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4 -
2e0872fBump google.golang.org/protobuf from 1.31.0 to 1.33.0 -
1b707a7Cleanup cassandra images after tests run -
49cac86Cleanup mongodb images after tests run -
2884a8eCleanup postgres images after tests run -
b1d02e2Cleanup sqlserver images after tests run -
06614d9Cleanup yugabytedb images after tests run -
e913336Drop support for Go 1.20 and add support for Go 1.22 -
f4950c1Fallback to dktest.DefaultCleanupTimeout if the dktest.Options doesn't have one specified -
5aa4670Fix GoReleaser deprecations -
d63a5c2Only test against YugabyteDB LTS releases -
091ad5dQuote locktable from config in queries -
1a002d0Set golangci-lint to 1.54.2 (latest is broken) (#1046) -
f100226Update dktest from v0.4.0 to v0.4.1 to fix docker vulnerability -
ff8a961Update yugabyte test images -
0350a00[sqlserver] Always access version table with explicit schema -
8147693[sqlserver] Ensure version table in provided schema -
7f85f9cchore: fix some typos -
9d70a39chore: fix some typos in comments -
94b8fa5rqlite is spelled with all lowercase
v4.17.0
Changelog
-
cf03803Add rqlite 8.0.0 to tested database versions -
12968a7Add syntax highlighting to Postgres example -
50112e7Add to clickhouse README.md database creation -
5ded96dBump golang.org/x/crypto from 0.14.0 to 0.17.0 -
c3ebd52Bump google.golang.org/grpc from 1.55.0 to 1.56.3 -
5026488Clean up require directive grouping -
3b02b18Correct a spelling mistake -
cd17c5aDrop support for Go 1.19 and add support for Go 1.21 -
839421eLeverage quoteIdentifier from pgx -
bad30b5Mention migradaptor -
fb22436Merge remote-tracking branch 'origin/master' into upgrade-spanner -
bfedabbMerge remote-tracking branch 'upstream/master' -
92dec35Move supported go version to standard place -
4078ef8New release prep -
9fe7383Quote in drop as well -
691f687Reformat ScyllaDB/Cassandra docs -
90a3ac4Remove cluster adaptation for tables to pass tests -
64755d0Update README.md -
f2c4b52Update aws-sdk-go from v1.44.301 to v1.49.6 -
876a13dUpdate aws-sdk-go to adress vulerabilitiy -
b567287Update from alpine 3.18 to 3.19 -
f2e0b33Update lib/pq to fix cert permissions issues -
208ac53Update spanner to fix security issue See also: https://github.com/golang-migrate/migrate/pull/952 -
72957b6Updated version of spanner to support sequences and generate uuid -
7d03609add 8.11 and 8.12 versions and remove debug logging -
7a72550add tests for scylladb. add scylladb to docs -
90273feclickhouse: Quote db name in ensureVersionTable -
5163ac7feature: add rqlite support -
ee8a8e5fix: typo -
f8afa5asmall changes to retry failed by timeout CI -
669437cupdate rqlite 8 container version to 8.0.6
v4.16.2
Changelog
v4.16.1
Changelog
-
d72e5c6Fix typo -
23d8d33Support .deb packages for Ubuntu Jammy Jellyfish and Debian bookworm -
0b3b628Use pgx5 connection string in README
v4.16.0
Changelog
-
b94ed1aAdd driver for pgx v5 (#848) -
30411f4Add support for Go 1.19 and drop support for Go 1.17 -
eb59b75Bump github.com/aws/aws-sdk-go from 1.17.7 to 1.33.0 -
88d30a4Bump github.com/aws/aws-sdk-go from 1.33.0 to 1.34.0 -
fd42ff1Bump golang.org/x/net from 0.1.0 to 0.7.0 -
3843f92Correct interface name in comments. -
a2cd403Create SECURITY.md -
ea8bebcDowngrade docker -
e497646Drop support for Go 1.18 and add support for Go 1.20 -
5ff4dc8Fix CockroachDB tutorial's link being relative to 'GETTING_STARTED.md' (#819) -
e5d8970Fix GH workflow badge in README -
c47c8ccFix broken tags link -
ca03021Fix placeholder in download URL -
c62dbbaOpt-in to goreleaser's new property https://goreleaser.com/deprecations/#archivesrlcp -
856f9c4Patch CVEs -
885d03cReplace deprecated ioutil pkg with os & io -
c367ed2Resolve Docker CVEs (#815) -
405ef9dRun gofmt -s on the files that are failing the lint job upstream -
162fc2bSqlite update (#785) -
b5e3e92Support Go 1.18 and drop support for Go 1.16 -
0d585e2Switch to microsoft go-mssqldb (#758) -
8c64ac7The example Clickhouse DSN incorrectly described how to set the username and password. -
03e74b9Update SECURITY.md -
075d6e8Update dktest from v0.3.10 to v0.3.11 to fix upstream security issues -
723c60fUpdate dktest from v0.3.11 to v0.3.13 -
f87b567Update dktest from v0.3.13 to v0.3.14 -
5be1166Update dktest from v0.3.14 to v0.3.15 for upstream security fixes -
1020682Update dktest from v0.3.15 to v0.3.16 for upstream security fixes -
2111d2fUpdate go-sqlite3 for security fix https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMATTNGOSQLITE3-3121037 -
2c61c69Update mongodb driver for security fix Mongodb driver v1.7.5 no longer depends on packr https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOBUFFALOPACKRV2-1920670 https://github.com/mongodb/mongo-go-driver/pull/815 -
8d96f81Update mssql to fix 386 and arm7 builds -
8324b45Update pgx deps -
dc26c41Update security policy -
79c741fUpgrading Spanner version -
acc11edUse t.Skipf() per golangci-lint (gosimple) -
58eb755Use v4 for Go Report Card -
0d539f4build: updategodirective ingo.modto 1.17 -
30deadebump ci version & go1.19 fmt ./... -
b2be9e7bump version for sqlite3 lib to 1.14.14 -
b74509adocs(yugabyte): update readme (add retry options) -
76d0305feat(yugabytedb): configure retries -
bcd0d88feat: add yugabyte support -
b63a0d4fix issue of downloading and using github sourced migration files of … (#900) -
185a4defix spanner parsing issue -
31791adfix(spanner): update spanner module to fix parsing issue (#843) -
e7e7077fix(yugabyte): panic on err retry check -
41f3495fix: Conform to go test naming convention -
ddaf669fix: postgresql search_path can be empty (#696) -
4831e0ego-genproto to google-cloud-go message type migration -
89836f4jq must be invoked with -r option -
3bba76fmodify: Add statement timeout query parmeter for MySQL (#778) -
9a407b6style(yugabyte): rename retry options -
5582a20style(yugabyte): simplify error conditions -
bf926fastyle: fix lint errors
v4.15.2
Changes
Documentation
-
06c25a2Add pkger to README (by @glacials ) -
ed8a8b0Include iofs in migration sources (by @bndw ) -
b69b032clarify the package name (#660) (by @khash ) -
bfd0502Set syntax highlighting for pkger example (by @glacials ) -
81cbc9cfix: incorrect clickhouse dns example (by @xkisu )
Database Drivers
-
f621644Add WithConnection to Postgres similar to MySQL. (by @AndreasKl ) -
6e499cbExpose configuring cassandra connect timeout through query string (by @taywrobel ) -
4ba6957Resolves #647 - Fixes typos in Mongo advisory locking parameters (#648) (by @SJrX ) -
9d3babdRun SQL server tests on Azure SQL Edge (by @jfhbrook-at-work ) -
5798784Update Spanner to 1.27 (by @mccalltd ) -
020eda4Upgrade cloud.google.com/go/spanner to 1.28.0, which adds JSON_VALUE support (by @kylechadha ) -
9f5ed82Use DELETE FROM instead of TRUNCATE for MySQL (#656) (by @martinarrieta and @antigremlin ) -
608e4f6Use the recommended v4 in mysql README (by @mgenware ) -
a46677ebump go-sqlite3 to v1.14.10 (by @pankona )
Migration Sources
Builds
-
5aa1a03Bump version of autorest/adal (by @jcmuller ) -
169d0fcInclude 2 letter query param key in unit test (by @suzaku ) -
331a15dUpdate dktest from v0.3.9 to v0.3.10 to fix upstream security issues (by @dhui ) -
c277388Update dktest to v0.3.9 for upstream security vulnerability fixes (by @dhui ) -
cf68462Run gofmt on internal build dir (by @dhui ) -
fc7f720refactor: use sort.Slice (by @suzaku ) -
918e13aUpgrade containerd and image-spec for the vulnerabilities (#662) (by @mopp ) -
4f82413len(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
DELETEing the schema version table instead of usingTRUNCATEthanks 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
migratebinary changed from/usr/local/bin/migrateto/usr/bin/migrate - When updating to this version of
migratewith 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 DATABASEand 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
-allflag usage fromdroptodown(#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, check this box
This MR has been generated by Renovate Bot.
Edited by renovate