Skip to content

Releases: lukaszbudnik/migrator

v2025.1.0

05 Dec 08:09
Immutable release. Only release title and notes can be modified.
949986e

Choose a tag to compare

v2025.1.0

v2025.1.0 adds MongoDB 4.0+ as supported database with database-based multi-tenancy. Implements mongoDBConnector with JavaScript migration support, comprehensive unit and integration test coverage.

For more information refer to README.md as well as code samples in db/db_mongodb_test.go and db/db_mongodb_integration_test.go.

Key Highlights

  • MongoDB 4.0+ support
  • Tests: db/db_mongodb_test.go, db/db_mongodb_integration_test.go
  • CI/CD: Added MongoDB to docker-compose-it.yaml
  • Add tenantSelect/tenantInsert fields (replace tenantSelectSQL/tenantInsertSQL)
  • MongoDB supports custom tenant collections via tenantSelect/tenantInsert: "collection" or "collection.field" format
  • Deprecation warnings for tenantSelectSQL/tenantInsertSQ
  • Backward compatible for tenantSelectSQL/tenantInsertSQL until v2027.0.0

What's Changed

  • Bump github.com/aws/aws-sdk-go-v2/config from 1.31.13 to 1.31.15 by @dependabot[bot] in #639
  • Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.88.5 to 1.88.7 by @dependabot[bot] in #640
  • Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.88.7 to 1.89.1 by @dependabot[bot] in #642
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.31.15 to 1.31.16 by @dependabot[bot] in #644
  • Bump github.com/aws/aws-sdk-go-v2 from 1.39.5 to 1.39.6 by @dependabot[bot] in #645
  • Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.19.1 to 1.20.0 by @dependabot[bot] in #646
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.31.16 to 1.31.17 by @dependabot[bot] in #647
  • Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.89.1 to 1.90.0 by @dependabot[bot] in #648
  • Bump github.com/microsoft/go-mssqldb from 1.9.3 to 1.9.4 by @dependabot[bot] in #649
  • Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.13.0 to 1.13.1 by @dependabot[bot] in #650
  • Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.90.0 to 1.90.2 by @dependabot[bot] in #651
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.31.17 to 1.31.20 by @dependabot[bot] in #652
  • Bump golang.org/x/crypto from 0.41.0 to 0.45.0 by @dependabot[bot] in #653
  • Bump github.com/aws/aws-sdk-go-v2 from 1.39.6 to 1.40.0 by @dependabot[bot] in #654
  • Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.90.2 to 1.92.0 by @dependabot[bot] in #656
  • Bump actions/checkout from 5 to 6 by @dependabot[bot] in #657
  • Bump github.com/aws/aws-sdk-go-v2/config from 1.31.20 to 1.32.1 by @dependabot[bot] in #655
  • Feat/add mongodb support by @lukaszbudnik in #658
  • build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.1 to 1.32.2 by @dependabot[bot] in #659
  • build(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.17.6 by @dependabot[bot] in #660
  • build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.92.0 to 1.92.1 by @dependabot[bot] in #661
  • feat: documentation clean up by @lukaszbudnik in #662

Full Changelog: v2025.0.1...v2025.1.0

v2025.0.1

20 Oct 19:01
Immutable release. Only release title and notes can be modified.
f5ea2f2

Choose a tag to compare

This cumulative release focuses on a massive modernization effort, replacing older drivers and SDKs with official, current versions for improved performance, stability, and future compatibility.

Key Highlights

  • Updated AWS SDK to v2 #630
  • Updated Azure SDK to new SDK #631
  • Updated MS SQL driver to the official Microsoft Go driver (forked from denisenkom/go-mssqldb) #628
  • Updated PostgreSQL driver - switched from lib/pq to jackc/pgx #629
  • Upgraded Go to 1.24 and 1.25 including multiple deprecated API fixes #627

What's Changed - Full List

  • Bump github.com/aws/aws-sdk-go from 1.44.219 to 1.44.224 by @dependabot[bot] in #459
  • Bump actions/setup-go from 3 to 4 by @dependabot[bot] in #460
  • Bump github.com/aws/aws-sdk-go from 1.44.224 to 1.44.229 by @dependabot[bot] in #461
  • Bump github.com/aws/aws-sdk-go from 1.44.229 to 1.44.234 by @dependabot[bot] in #462
  • Bump github.com/Depado/ginprom from 1.7.6 to 1.7.7 by @dependabot[bot] in #463
  • Bump alpine from 3.17.2 to 3.17.3 by @dependabot[bot] in #464
  • Bump github.com/aws/aws-sdk-go from 1.44.234 to 1.44.239 by @dependabot[bot] in #465
  • Bump github.com/aws/aws-sdk-go from 1.44.239 to 1.44.244 by @dependabot[bot] in #466
  • Bump github.com/Depado/ginprom from 1.7.7 to 1.7.9 by @dependabot[bot] in #468
  • Bump github.com/lib/pq from 1.10.7 to 1.10.8 by @dependabot[bot] in #467
  • Bump codecov/codecov-action from 3.1.1 to 3.1.2 by @dependabot[bot] in #469
  • Bump github.com/Depado/ginprom from 1.7.9 to 1.7.10 by @dependabot[bot] in #470
  • Bump github.com/aws/aws-sdk-go from 1.44.244 to 1.44.248 by @dependabot[bot] in #471
  • Bump codecov/codecov-action from 3.1.2 to 3.1.3 by @dependabot[bot] in #472
  • Bump github.com/lib/pq from 1.10.8 to 1.10.9 by @dependabot[bot] in #475
  • Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1 by @dependabot[bot] in #473
  • Bump github.com/aws/aws-sdk-go from 1.44.248 to 1.44.253 by @dependabot[bot] in #474
  • Bump github.com/aws/aws-sdk-go from 1.44.253 to 1.44.258 by @dependabot[bot] in #477
  • Bump github.com/Depado/ginprom from 1.7.10 to 1.7.11 by @dependabot[bot] in #476
  • Bump github.com/aws/aws-sdk-go from 1.44.258 to 1.44.262 by @dependabot[bot] in #478
  • Bump alpine from 3.17.3 to 3.18.0 by @dependabot[bot] in #479
  • Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot[bot] in #480
  • Bump github.com/aws/aws-sdk-go from 1.44.262 to 1.44.266 by @dependabot[bot] in #481
  • Bump github.com/aws/aws-sdk-go from 1.44.266 to 1.44.271 by @dependabot[bot] in #483
  • Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 by @dependabot[bot] in #484
  • Bump github.com/aws/aws-sdk-go from 1.44.271 to 1.44.275 by @dependabot[bot] in #485
  • Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot[bot] in #486
  • Bump github.com/aws/aws-sdk-go from 1.44.275 to 1.44.280 by @dependabot[bot] in #487
  • Bump github.com/aws/aws-sdk-go from 1.44.280 to 1.44.284 by @dependabot[bot] in #488
  • Bump github.com/aws/aws-sdk-go from 1.44.284 to 1.44.289 by @dependabot[bot] in #490
  • Bump github.com/aws/aws-sdk-go from 1.44.289 to 1.44.294 by @dependabot[bot] in #491
  • Bump github.com/aws/aws-sdk-go from 1.44.294 to 1.44.298 by @dependabot[bot] in #492
  • Bump github.com/aws/aws-sdk-go from 1.44.298 to 1.44.300 by @dependabot[bot] in #493
  • Bump github.com/aws/aws-sdk-go from 1.44.300 to 1.44.306 by @dependabot[bot] in #494
  • Bump github.com/aws/aws-sdk-go from 1.44.306 to 1.44.312 by @dependabot[bot] in #495
  • Bump github.com/aws/aws-sdk-go from 1.44.312 to 1.44.317 by @dependabot[bot] in #496
  • Bump github.com/aws/aws-sdk-go from 1.44.317 to 1.44.322 by @dependabot[bot] in #497
  • Bump alpine from 3.18.0 to 3.18.3 by @dependabot[bot] in #498
  • Bump github.com/aws/aws-sdk-go from 1.44.322 to 1.44.327 by @dependabot[bot] in #499
  • Bump github.com/aws/aws-sdk-go from 1.44.327 to 1.44.332 by @dependabot[bot] in #500
  • Bump github.com/aws/aws-sdk-go from 1.44.332 to 1.45.2 by @dependabot[bot] in #501
  • Bump github.com/aws/aws-sdk-go from 1.45.2 to 1.45.6 by @dependabot[bot] in #502
  • Bump actions/checkout from 3 to 4 by @dependabot[bot] in #503
  • Bump github.com/aws/aws-sdk-go from 1.45.6 to 1.45.11 by @dependabot[bot] in #504
  • Bump docker/build-push-action from 4 to 5 by @dependabot[bot] in #507
  • Bump docker/login-action from 2 to 3 by @dependabot[bot] in #505
  • Bump docker/metadata-action from 4 to 5 by @dependabot[bot] in #506
  • Bump github.com/aws/aws-sdk-go from 1.45.11 to 1.45.15 by @dependabot[bot] in #508
  • Bump github.com/aws/aws-sdk-go from 1.45.15 to 1.45.19 by @dependabot[bot] in #509
  • Bump alpine from 3.18.3 to 3.18.4 by @dependabot[bot] in #510
  • Bump github.com/aws/aws-sdk-go from 1.45.19 to 1.45.24 by @dependabot[bot] in #511
  • Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.25 by @dependabot[bot] in #512
  • Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.46.1 by @dependabot[bot] in #513
  • Bump github.com/aws/aws-sdk-go from 1.46.1 to 1.46.6 by @dependabot[bot] in #514
  • Bump github.com/aws/aws-sdk-go from 1.46.6 to 1.47.3 by @dependabot[bot] in #515
  • Bump github.com/aws/aws-sdk-go from 1.47.3 to 1.47.9 by @dependabot[bot] in #516
  • Bump github.com/aws/aws-sdk-go from 1.47.9 to 1.48.0 by @dependabot[bot] in #517
  • Bump github.com/aws/aws-sdk-go from 1.48.0 to 1.48.3 by @dependabot[bot] in #518
  • Bump github.com/aws/aws-sdk-go from 1.48.3 to 1.48.11 by @dependabot[bot] in #519
  • Bump github.com/Depado/ginprom from 1.7.11 to 1.8.0 by @dependabot[bot] in #520
  • Bump alpine from 3.18.4 to 3.18.5 by @dependabot[bot] in #521
  • Bump github.com/aws/aws-sdk-go from 1.48.11 to 1.48.16 by @dependabot[bot] in #522
  • Bump alpine from 3.18.5 to 3.19.0 by @dependabot[bot] in #523
  • Bump actions/setup-go from 4 to 5 by @dependabot[bot] in #524
  • Bump github.com/aws/aws-sdk-go from 1.48.16 to 1.49.4 by @dependabot[bot] in #525
  • Bump github.com/DATA-DOG/go-sqlmock from 1.5.0 to 1.5.1 by @dependabot[bot] in #526
  • Bump github/codeql-action from 2 to 3 by @dependabot[bot] in #527
  • Bump github.com/aws/aws-sdk-go from 1.49.4 to 1.49.9 by @dependabot[bot] in #528
  • Bump github.com/aws/aws-sdk-go from 1.49.9 to 1.49.13 by @dependabot[bot] in #529
  • Bump github.com/DATA-DOG/go-sqlmock from 1.5.1 to 1.5.2 by @dependabot[bot] in #531
  • Bump github.com/aws/aws-sdk-go from 1.49.13 to 1.49.16 by @dependabot[bot] in #530
  • Bump github.com/aws/aws-sdk-go from 1.49.16 to 1.49.20 by @dependabot[bot] in #532
  • Bump pascalgn/automerge-action from 0.15....
Read more

v2023.0.1

18 Mar 06:59
43a6858

Choose a tag to compare

This is a maintenance release and includes 42 dependabot pull requests.

The key migrator dependencies and theirs versions are:

  • alpine 3.17.2
  • golang 1.19.3
  • gin-gonic/gin 1.9.0
  • graph-gophers/graphql-go 1.5.0
  • aws/aws-sdk-go 1.44.219
  • Azure/azure-storage-blob-go 0.15.0
  • denisenkom/go-mssqldb 0.12.3
  • go-sql-driver/mysql 1.7.0
  • lib/pq 1.10.7

v2022.0.1

25 Feb 11:41
f4008a8

Choose a tag to compare

This is a maintenance release and includes 17 dependabot pull requests.

Out of 17 closed dependabot pull requests the most important ones are:

  • alpine update to 3.15
  • go update to 1.17.7
  • aws/aws-sdk-go updates to 1.43.2
  • autorest/azure/auth update to 0.5.11

v2021.2.2

21 Nov 15:37
6058d60

Choose a tag to compare

This is a maintenance release and includes 16 dependabot pull requests.

Out of 16 closed dependabot pull requests the most important ones are:

  • docker image update to alpine 3.14 and go 1.17.3
  • aws/aws-sdk-go updates from 1.40.45 up to 1.42.9
  • autorest/azure/auth update from v0.5.8 to v0.5.9 - which addresses CVE in crypto dependency more here
  • lib/pq from 1.10.3 to 1.10.4

v2021.2.1

20 Sep 06:55
b13c168

Choose a tag to compare

This is a maintenance release.

Comes with the following changes:

  • fixed issue with int32 overflow duration in nanoseconds; duration is now float and in (more user-friendly) seconds - #292
  • closed 4 dependabot pull requests

v2021.2.0

10 Sep 14:27
3a3241d

Choose a tag to compare

This release improves observability, tracing, and logging.

Most notable new features are:

  • implemented Prometheus metrics, available at /metrics - #284
  • implemented health checks (Eclipse MicroProfile Health spec), available at /health - #285 and #286
  • added support for logLevel configuration property in migrator.yaml (optional and defaults to INFO)
  • replaced old vet, lint with staticcheck tool
  • increased test coverage to 95%
  • closed 3 dependabot pull requests

v2021.1.0

01 Sep 09:09
3ede937

Choose a tag to compare

v2021.1.0 is a new minor release which includes the following changes:

  • full go 1.17 support - #273
  • fix for resource exhaustion (by correctly closing rows and executing DDL queries as Exec not Query) - also part of the #273
  • internal performance benchmark tests

v2021.0.4

29 Aug 18:40
3b8b41d

Choose a tag to compare

v2021.0.4 is a maintenance release and contains the following changes:

  • fix for not injecting build variables (git ref and git commit sha) during production build (caused by migration from Docker Hub Autobuilds to GitHub actions): #268
  • closed 6 dependabot pull requests

v2021.0.3

16 Aug 10:50
3a17372

Choose a tag to compare

v2021.0.3 is a maintenance release.

Apart from standard docker image and 3rd party dependencies upgrades the biggest change is to building and releasing images.

  • docker images are now pushed to both docker.com and ghcr.io. There is a change to the image versioning: the semver drops the "v" at the beginning of the docker image tag.
  • closed 8 dependabot pull requests