Commit Graph

581 Commits (7dcddde25a60909edc82028faa68815e6708ced0)

Author SHA1 Message Date
Ori Shalom 7dcddde25a
feat: expose new functions for setting context (#517) 2023-06-16 09:34:33 -04:00
Michael Fridman 949787e4da
build(deps): upgrade all dependencies (#537) 2023-06-16 08:56:03 -04:00
Michael Fridman d88978da68
Fix current version in empty up state log (#533) 2023-06-10 10:17:57 -04:00
dependabot[bot] f08d203145
build(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.9.1 to 2.10.0 (#522)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-28 16:23:53 -04:00
dependabot[bot] b46a978553
build(deps): bump github.com/microsoft/go-mssqldb from 0.21.0 to 1.0.0 (#527)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-28 15:58:19 -04:00
Michael Fridman 3d345c4b81
fix: up and up -allow-missing behaviour (#524) 2023-05-21 08:20:29 -04:00
Mike Fridman 3717a9e315 build: update actions/setup-go in goreleaser 2023-05-08 08:43:09 -04:00
Michael Fridman a46581bbd3
build: upgrade deps (#516) 2023-05-08 08:27:39 -04:00
Michael Fridman 87592390b9
fix: use global table name in queries (#515) 2023-05-08 08:17:14 -04:00
Michael Fridman 7ce30b743d
docs: add goose validate command to help and readme (#512) 2023-05-05 08:35:06 -04:00
Ffaen ba6e5fb6f0
Add 'sqlserver' to dialects as an alias of mssql (#510) 2023-05-02 10:37:16 -04:00
dependabot[bot] 4eee07f48a
build(deps): bump github.com/ory/dockertest/v3 from 3.9.1 to 3.10.0 (#504)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-23 06:39:37 -04:00
Michael Fridman 0d1296b2bb
feat(mssql): update driver to microsoft/go-mssqldb (#501) 2023-04-16 08:34:53 -04:00
Michael Fridman 0bc00342b5
build: upgrade deps and update workflows (#500) 2023-04-15 22:53:14 -04:00
Jesús Rubio 86f779a959
build: add Linux ARM64 arch support (#499) 2023-04-15 22:23:27 -04:00
dependabot[bot] 3e0905abac
build(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 (#488)
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.5/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.4...v1.1.5)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 23:43:13 -04:00
Stephen Blackstone 49c55f0f98
feat: add support for azuresql dialect (#487) 2023-03-28 23:15:15 -04:00
Mike Fridman 8574431aad refactor: remove deprecated ioutil 2023-03-21 09:30:08 -04:00
Michael Fridman baaec139e4
refactor: dialectquery (#482) 2023-03-20 22:09:00 -04:00
Mike Fridman e2ecb28d00 fix: clickhouse tests 2023-03-15 08:39:57 -04:00
Andreas Deininger 15ef2bcb6e
chore: fix comment typos (#480) 2023-03-14 20:01:38 -04:00
Michael Fridman c462979327
refactor: create a generic store and stub out dialect queries (#477) 2023-03-14 08:34:47 -04:00
Michael Fridman 33106fc6f2
chore: update annotation comments (#478) 2023-03-13 09:19:48 -04:00
Pierre R 99204d2421
build: upgrade to github.com/jackc/pgx/v5 (#475) 2023-03-11 11:34:14 -05:00
Mike Fridman 935e8833e8 build: golangci-lint add skip-pkg-cache: true 2023-03-09 22:46:53 -05:00
Michael Fridman 7e6e5120a2
build: update CI go version references and upgrade deps (#473) 2023-03-09 22:36:17 -05:00
ipoerner b62288d2fe
fix: exclude Go test files from migrations (#474) 2023-03-04 12:48:57 -05:00
Michael Fridman 0af59c1a4e
build: upgrade dependencies (#471) 2023-02-25 15:36:42 -05:00
Michael Fridman 8c25e3bd17
feat: `goose validate` command (#449) 2023-02-25 14:33:10 -05:00
Jonas Hungershausen 60610d3ae3
remove `tls` override from mysql dsn normalizing (#468)
Fixes https://github.com/pressly/goose/issues/460
2023-02-21 21:49:18 -05:00
Michael Fridman 2a6d7c092f
build: bump minimum Go version to 1.18 (update CI) (#458) 2023-02-02 08:51:38 -05:00
Michael Fridman b4af752f57
fix test race condition and remove verbose global in parser (#457) 2023-01-28 10:41:44 -05:00
Michael Fridman c2f9bcbc80
ci: drop 1.17 tests and add 1.20-rc.3 (#455) 2023-01-28 09:21:36 -05:00
Maxim Krasilnikov ad90652042
clickhouse: set mutations_sync 2 for delete version (#454) 2023-01-27 09:39:06 -05:00
Michael Fridman 32ad603fee
Add golangci-lint and fix errors (#456) 2023-01-27 08:30:31 -05:00
Michael Fridman bf2656094c
fix: parser handling comments and empty lines (#446) 2023-01-26 09:42:38 -05:00
Michael Fridman 203277344b
feat: add support for `*sql.DB`-registered Go migration (#450) 2023-01-25 08:15:50 -05:00
Michael Fridman 635add3280
docs: clarify annotation requirement and ordering (#452) 2023-01-24 08:30:14 -05:00
Michael Fridman 74eaeab8ad
test: add more parser tests (#445) 2023-01-20 09:24:06 -05:00
Michael Fridman 2636c84dc8
refactor: move sql parser into internal package (#444) 2023-01-19 09:19:13 -05:00
Michael Fridman db8feddea6
feat: add goose env command (#443) 2023-01-19 08:35:36 -05:00
dependabot[bot] 436452dc94
ci: bump goreleaser/goreleaser-action from 3 to 4 (#430)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 08:50:29 -05:00
Sasha Melentyev 81d44b3095
refactor: Use math.MaxInt64 const as MaxVersion instead of hardcode number (#441)
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>

Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-01-18 08:47:50 -05:00
Michael Fridman 1939e6175b
build: upgrade dependencies (#442) 2023-01-18 08:45:56 -05:00
Bob Pace b5826417d9
Adds vertica driver support (#393) 2022-12-04 20:57:54 -05:00
Sasha Melentyev 73e53f9922
Changing Sprintf to Sprint if there is no formatting (#417) 2022-12-02 07:41:05 -05:00
Brandon Chinn 9823e00b3f
Upgrade golang.org/x/text (#421) 2022-12-02 07:39:28 -05:00
Michael Fridman 28113a216c
Print duration of execution time of each migration (#410)
Co-authored-by: Michael Fridman <mfridman@MacBook-Air.local>
2022-10-21 09:25:16 -04:00
Systemnick f30eb6d8c5
Update deprecated query in createVersionTableSQL for new ClickHouse versions since 22.7 (#408) 2022-10-21 09:22:52 -04:00
Michael Fridman 1c152152a1
Remove deprecated package ioutil and upgrade deps (#411) 2022-10-20 18:07:42 -04:00