Update module github.com/pressly/goose/v3 to v3.22.0 #5
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-pressly-goose-v3-3.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v3.20.0
->v3.22.0
Release Notes
pressly/goose (github.com/pressly/goose/v3)
v3.22.0
Compare Source
goose
uses the default Goflag
parsing library, which means flags must be defined before thefirst positional argument. We've updated this behavior to allow flags to be defined anywhere. For
more details, see blog post.
WithDisableGlobalRegistry
behavior (#783). When set, this will ignore globally-registeredmigrationse entirely instead of the previous behavior of raising an error. Specifically, the
following check is removed:
This enables creating isolated goose provider(s) in legacy environments where global migrations may
be registered. Without updating this behavior, it would be impossible to use
WithDisableGlobalRegistry
in combination with provider-scopedWithGoMigrations
.tstamp
not nullable (#556)v3.21.1
Compare Source
Add
GetVersions
method togoose.Provider
, returns the current (max db) version and the latest(max filesystem) version. (#756)
Clarify
GetLatestVersion
method MUST returnErrVersionNotFound
if no latest migration isfound. Previously it was returning a -1 and nil error, which was inconsistent with the rest of the
API surface.
Add
GetLatestVersion
implementations to all existing dialects. This is an optimization to avoidloading all migrations when only the latest version is needed. This uses the
max
function in SQLto get the latest version_id irrespective of the order of applied migrations.
GetLatestVersion
method.v3.21.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go get
command, which resulted in the following additional change(s):Details:
github.com/sethvargo/go-retry
v0.2.4
->v0.3.0
13b7e81778
to1bc9858220