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.19.2 to 3.20.0 in /impl #216

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 6, 2024

Bumps github.com/pressly/goose/v3 from 3.19.2 to 3.20.0.

Release notes

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

v3.20.0

What's Changed

  • Expand the Store interface by adding a GetLatestVersion method and make the interface public.
  • Add a (non-blocking) method to check if there are pending migrations to the goose.Provider (#751):
func (p *Provider) HasPending(context.Context) (bool, error) {}

[!NOTE]
The underlying implementation does not respect the SessionLocker (if one is enabled) and can be used to check for pending migrations without blocking or being blocked by other operations.

  • The methods .Up, .UpByOne, and .UpTo from goose.Provider will invoke .HasPending before acquiring a lock with SessionLocker (if enabled). This addresses an edge case in Kubernetes-style deployments where newer pods with long-running migrations prevent older pods - which have all known migrations applied - from starting up due to an advisory lock. For more details, refer to pressly/goose#507 and #751.
  • Move integration tests to ./internal/testing and make it a separate Go module. This will allow us to have a cleaner top-level go.mod file and avoid imports unrelated to the goose project. See integration/README.md for more details. This shouldn't affect users of the goose library.
Changelog

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

[v3.20.0]

  • Expand the Store interface by adding a GetLatestVersion method and make the interface public.
  • Add a (non-blocking) method to check if there are pending migrations to the goose.Provider (#751):
func (p *Provider) HasPending(context.Context) (bool, error) {}

The underlying implementation does not respect the SessionLocker (if one is enabled) and can be used to check for pending migrations without blocking or being blocked by other operations.

  • The methods .Up, .UpByOne, and .UpTo from goose.Provider will invoke .HasPending before acquiring a lock with SessionLocker (if enabled). This addresses an edge case in Kubernetes-style deployments where newer pods with long-running migrations prevent older pods - which have all known migrations applied - from starting up due to an advisory lock. For more details, refer to pressly/goose#507 and #751.
  • Move integration tests to ./internal/testing and make it a separate Go module. This will allow us to have a cleaner top-level go.mod file and avoid imports unrelated to the goose project. See integration/README.md for more details. This shouldn't affect users of the goose library.
Commits
  • 31de74d Release v3.20.0
  • d0641b5 chore: upgrade container images and bump integration test deps (#753)
  • 1ad801c feat: Add provider HasPending method (#751)
  • 7e96a22 build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 (#749)
  • 5f21833 build(deps): bump github.com/docker/docker from 26.0.1+incompatible to 26.0.2...
  • b164611 build: bump deps (#744)
  • f4f1a24 Expand the Store interface and add GetLatestVersion method (#743)
  • 42eab2b build: bump internal/testing go deps (#732)
  • 234a9d5 docs: cleanup changelog
  • e2c1ac0 fix: makefile test-postgres
  • 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 will merge this PR once it's up-to-date and CI passes on it, as requested by @decentralgabe.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 6, 2024
@dependabot dependabot bot requested a review from finn-block as a code owner May 6, 2024 08:30
@dependabot dependabot bot added the go Pull requests that update Go code label May 6, 2024
@decentralgabe
Copy link
Member

@dependabot recreate

@decentralgabe
Copy link
Member

@dependabot squash and merge

Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose) from 3.19.2 to 3.20.0.
- [Release notes](https://github.com/pressly/goose/releases)
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md)
- [Commits](pressly/goose@v3.19.2...v3.20.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 force-pushed the dependabot/go_modules/impl/github.com/pressly/goose/v3-3.20.0 branch from e93261b to b896d23 Compare May 6, 2024 16:58
@dependabot dependabot bot merged commit d15960b into main May 6, 2024
9 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/impl/github.com/pressly/goose/v3-3.20.0 branch May 6, 2024 17:05
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant