Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/pressly/goose/v3 from 3.5.3 to 3.9.0 #46

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 27, 2023

Bumps github.com/pressly/goose/v3 from 3.5.3 to 3.9.0.

Release notes

Sourced from github.com/pressly/goose/v3's releases.

v3.9.0

Changelog

Added

  • Add support for *sql.DB-registered Go migrations (#450). Kudos to @​cbodonnell for helping with this feature.

There are 2 new func types:

// GoMigration is a Go migration func that is run within a transaction.
type GoMigration func(tx *sql.Tx) error
// GoMigrationNoTx is a Go migration func that is run outside a transaction.
type GoMigrationNoTx func(db *sql.DB) error

And 2 new functions to register Go migrations:

// AddMigrationNoTx adds Go migrations that will be run outside transaction.
func AddMigrationNoTx(up, down GoMigrationNoTx) { ... }
// AddNamedMigrationNoTx adds named Go migrations that will be run outside transaction.
func AddNamedMigrationNoTx(filename string, up, down GoMigrationNoTx) { ... }

  • Add goose env command to expose set environment variables (#443)
  • Add golangci-lint to enforce standards within the project (#456)

Fixed

  • The SQL parser better handles leading/trailing empty lines and comments (#446). Additional tests have been added to capture edge cases with the parser.

v3.8.0

Changelog

  • 5a6c34ee2d2b38109677107753f83f05f34161ef: Add NO_COLOR (-no-color) support (#409) (@​mfridman)
  • b5826417d982a065ecbfa3d0d714ef2997a9775d: Adds vertica driver support (#393) (@​bobpace)
  • b6c15b9660702680acb3f1e35201f4685ee04a68: Bump modernc.org/sqlite from 1.18.1 to 1.19.1 (#406) (@​dependabot[bot])
  • 73e53f9922d88ad8ce10d95ac0dede569074bffe: Changing Sprintf to Sprint if there is no formatting (#417) (@​sashamelentyev)
  • 28113a216cf544ed53f1838a678b4ec87ff6fc22: Print duration of execution time of each migration (#410) (@​mfridman)
  • 1c152152a1d0599088cbd433b875257624bbd592: Remove deprecated package ioutil and upgrade deps (#411) (@​mfridman)
  • f30eb6d8c52c5d8338f4d45990b2971921cb8c74: Update deprecated query in createVersionTableSQL for new ClickHouse versions since 22.7 (#408) (@​Systemnick)
  • 9823e00b3f5df9b1b50ed98f17b12bcef8bd54ff: Upgrade golang.org/x/text (#421) (@​brandon-leapyear)
  • 1939e6175b16e70abd19a36b25206eefcdfd6460: build: upgrade dependencies (#442) (@​mfridman)
  • 436452dc94fdb8288fe64c36cbc33c8b4136d0e7: ci: bump goreleaser/goreleaser-action from 3 to 4 (#430) (@​dependabot[bot])
  • 81d44b309504a6683c4c818c907ad13cbd9d18a3: refactor: Use math.MaxInt64 const as MaxVersion instead of hardcode number (#441) (@​sashamelentyev)

v3.7.0

Changelog

... (truncated)

Commits
  • 32ad603 Add golangci-lint and fix errors (#456)
  • bf26560 fix: parser handling comments and empty lines (#446)
  • 2032773 feat: add support for *sql.DB-registered Go migration (#450)
  • 635add3 docs: clarify annotation requirement and ordering (#452)
  • 74eaeab test: add more parser tests (#445)
  • 2636c84 refactor: move sql parser into internal package (#444)
  • db8fedd feat: add goose env command (#443)
  • 436452d ci: bump goreleaser/goreleaser-action from 3 to 4 (#430)
  • 81d44b3 refactor: Use math.MaxInt64 const as MaxVersion instead of hardcode number (#...
  • 1939e61 build: upgrade dependencies (#442)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose) from 3.5.3 to 3.9.0.
- [Release notes](https://github.com/pressly/goose/releases)
- [Changelog](https://github.com/pressly/goose/blob/master/.goreleaser.yml)
- [Commits](pressly/goose@v3.5.3...v3.9.0)

---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 27, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 10, 2023

Superseded by #53.

@dependabot dependabot bot closed this Mar 10, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/pressly/goose/v3-3.9.0 branch March 10, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants