-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update module github.com/pressly/goose/v3 to v3.24.1 #79
Merged
mikemrm
merged 2 commits into
main
from
renovate/github.aaakk.us.kg-pressly-goose-v3-3.x
Feb 3, 2025
Merged
Update module github.com/pressly/goose/v3 to v3.24.1 #79
mikemrm
merged 2 commits into
main
from
renovate/github.aaakk.us.kg-pressly-goose-v3-3.x
Feb 3, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7b81428
to
9d6d184
Compare
5a56aff
to
97cb2cf
Compare
b11551c
to
0e20c94
Compare
0e20c94
to
03f136e
Compare
03f136e
to
6175f5b
Compare
6175f5b
to
3b969d3
Compare
3b969d3
to
f349548
Compare
f349548
to
2573472
Compare
2573472
to
a39b14b
Compare
b2529d8
to
a336976
Compare
0a7fafe
to
33cb80b
Compare
c7bd62a
to
c357fe9
Compare
e63c851
to
4d58917
Compare
4d58917
to
fd14ec3
Compare
45d8f0a
to
d875d30
Compare
d875d30
to
c670266
Compare
f8fa2be
to
132061d
Compare
mikemrm
previously approved these changes
Feb 3, 2025
132061d
to
40a772c
Compare
40a772c
to
51edb20
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
0dd4abb
to
03b4873
Compare
Signed-off-by: Mike Mason <[email protected]>
03b4873
to
bd16f99
Compare
mikemrm
approved these changes
Feb 3, 2025
bailinhe
approved these changes
Feb 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.18.0
->v3.24.1
Release Notes
pressly/goose (github.com/pressly/goose/v3)
v3.24.1
Compare Source
v3.23.1
andv3.24.0
) in postgres migration table existence check fornon-default schema. (#882, #883, #884).
v3.24.0
Compare Source
.env
files, enabled by default..env
, but can be changed with the-env=<filename>
flag.-env=none
.v3.23.1
Compare Source
TableExists
method to provide optimizedtable existence checks (#860)
pg_tables
system catalog, more to followv3.23.0
Compare Source
WithLogger
toNewProvider
to allow custom loggers (#833)WithVerbose
behavior to log all SQL statements (#851)go1.23.3
)v3.22.1
Compare Source
go1.23.1
)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
v3.20.0
Compare Source
Store
interface by adding aGetLatestVersion
method and make the interface public.goose.Provider
(#751):
The underlying implementation does not respect the
SessionLocker
(if one is enabled) and canbe used to check for pending migrations without blocking or being blocked by other operations.
.Up
,.UpByOne
, and.UpTo
fromgoose.Provider
will invoke.HasPending
beforeacquiring a lock with
SessionLocker
(if enabled). This addresses an edge case inKubernetes-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
detailhttps://github.com/pressly/goose/pull/507#discussion_r1266498077_r1266498077 and #751.
./internal/testing
and make it a separate Go module. This will allowus 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.
v3.19.2
Compare Source
better solution. If you were using duckdb with goose, please let us know by opening an issue.
v3.19.1
Compare Source
redshift
GOOSE_MIGRATION_DIR
documentationv1.1.12
(security fix)-- +goose
annotations are now case-insensitive. This means that-- +goose Up
and-- +goose up
are now equivalent. This change was made to improve the user experience and to make theannotations more consistent.
v3.19.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 was generated by Mend Renovate. View the repository job log.