chore(deps): update module github.com/pressly/goose/v3 to v3.20.0 - autoclosed #142
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twhelp/dcbot#142
Loading…
Reference in 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.15.1
->v3.20.0
Release Notes
pressly/goose (github.com/pressly/goose/v3)
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
details, refer to https://github.com/pressly/goose/pull/507#discussion_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
v3.18.0
Compare Source
Add environment variable substitution for SQL migrations. (#604)
This feature is disabled by default, and can be enabled by adding an annotation to the
migration file:
When enabled, goose will attempt to substitute environment variables in the SQL migration
queries until the end of the file, or until the annotation
-- +goose ENVSUB OFF
is found. Forexample, if the environment variable
REGION
is set tous_east_1
, the following SQL migrationwill be substituted to
SELECT * FROM regions WHERE name = 'us_east_1';
Add native Turso support with libsql driver. (#658)
Fixed query for list migrations in YDB (#684)
v3.17.0
Compare Source
Apply()
errors, addErrNotApplied
when attempting to rollback a migrationthat has not been previously applied. (#660)
WithDisableGlobalRegistry
option toNewProvider
to disable the global registry. (#645)-timeout
flag to CLI to set the maximum allowed duration for queries to run. Default remainsno timeout. (#627)
Provider
whenWithVerbose
option is supplied. (#668)⚠️ Potential Breaking Change ⚠️
goose create
to use UTC time instead of local time. (#242)v3.16.0
Compare Source
SetGlobalMigrations
andResetGlobalMigrations
functions have been added.NewGoMigration
for constructing Go migrations.goose.NewProvider
.🎉 Read more about this new feature here:
https://pressly.github.io/goose/blog/2023/goose-provider/
The motivation behind the Provider was simple - to reduce global state and make goose easier to
consume as an imported package.
Here's a quick summary:
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 problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: go.sum
7e97442981
to9d10298d05
9d10298d05
to53fb78ab1e
chore(deps): update module github.com/pressly/goose/v3 to v3.16.0to chore(deps): update module github.com/pressly/goose/v3 to v3.17.053fb78ab1e
to54e6a772d4
chore(deps): update module github.com/pressly/goose/v3 to v3.17.0to chore(deps): update module github.com/pressly/goose/v3 to v3.18.054e6a772d4
to7f93e6956c
chore(deps): update module github.com/pressly/goose/v3 to v3.18.0to chore(deps): update module github.com/pressly/goose/v3 to v3.19.17f93e6956c
tob53afbabf3
chore(deps): update module github.com/pressly/goose/v3 to v3.19.1to chore(deps): update module github.com/pressly/goose/v3 to v3.19.2b53afbabf3
toc8704e30d6
chore(deps): update module github.com/pressly/goose/v3 to v3.19.2to chore(deps): update module github.com/pressly/goose/v3 to v3.20.0c8704e30d6
to7235c7f15a
chore(deps): update module github.com/pressly/goose/v3 to v3.20.0to chore(deps): update module github.com/pressly/goose/v3 to v3.20.0 - autoclosedPull request closed