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

fix(deps): update module github.com/pressly/goose/v3 to v3.19.2 #196

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 2, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/pressly/goose/v3 v3.15.0 -> v3.19.2 age adoption passing confidence

Release Notes

pressly/goose (github.com/pressly/goose/v3)

v3.19.2

Compare Source

  • Remove duckdb support. The driver uses Cgo and we've decided to remove it until we can find a
    better solution. If you were using duckdb with goose, please let us know by opening an issue.

v3.19.1

Compare Source

  • Fix selecting dialect for redshift
  • Add GOOSE_MIGRATION_DIR documentation
  • Bump github.com/opencontainers/runc to v1.1.12 (security fix)
  • Update CI tests for go1.22
  • Make goose annotations case-insensitive
    • All -- +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 the
      annotations more consistent.

v3.19.0

Compare Source

  • Use [v3.19.1] instead. This was tagged but not released and does not contain release binaries.

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:

      -- +goose ENVSUB ON
    • 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. For
      example, if the environment variable REGION is set to us_east_1, the following SQL migration
      will be substituted to SELECT * FROM regions WHERE name = 'us_east_1';

      -- +goose ENVSUB ON
      -- +goose Up
      SELECT * FROM regions WHERE name = '${REGION}';
  • Add native Turso support with libsql driver. (#​658)

  • Fixed query for list migrations in YDB (#​684)

v3.17.0

Compare Source

  • Standardised the MIT license (#​647)
  • Improve provider Apply() errors, add ErrNotApplied when attempting to rollback a migration
    that has not been previously applied. (#​660)
  • Add WithDisableGlobalRegistry option to NewProvider to disable the global registry. (#​645)
  • Add -timeout flag to CLI to set the maximum allowed duration for queries to run. Default remains
    no timeout. (#​627)
  • Add optional logging in Provider when WithVerbose option is supplied. (#​668)

⚠️ Potential Breaking Change ⚠️

  • Update goose create to use UTC time instead of local time. (#​242)

v3.16.0

Compare Source

  • Added YDB support. (#​592)
  • Fix sqlserver query to ensure DB version. (#​601)
  • Allow setting / resetting the global Go migration registry. (#​602)
    • SetGlobalMigrations and ResetGlobalMigrations functions have been added.
    • Introduce NewGoMigration for constructing Go migrations.
  • Add initial implementation of 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:

  • Avoid global state
  • Make Provider safe to use concurrently
  • Unlock (no pun intended) new features, such as database locking
  • Make logging configurable
  • Better error handling with proper return values
  • Double down on Go migrations
  • ... and more!

v3.15.1

Compare Source

  • Fix regression that prevented registering Go migrations that didn't have the corresponding files
    available in the filesystem. (#​588)
    • If Go migrations have been registered globally, but there are no .go files in the filesystem,
      always include them.
    • If Go migrations have been registered, and there are .go files in the filesystem, only
      include
      those migrations. This was the original motivation behind #​553.
    • If there are .go files in the filesystem but not registered, raise an error. This is to
      prevent accidentally adding valid looking Go migration files without explicitly registering
      them.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch 6 times, most recently from bbb334b to 851c488 Compare April 2, 2024 16:33
@renovate renovate bot requested a review from a team as a code owner April 2, 2024 16:38
renovate bot and others added 2 commits April 2, 2024 16:39
Signed-off-by: Nicole Hubbard <code@nicole.dev>
Signed-off-by: Nicole Hubbard <code@nicole.dev>
@nicolerenee nicolerenee force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 5db74dd to bc1f768 Compare April 2, 2024 16:39
Copy link
Contributor Author

renovate bot commented Apr 2, 2024

Edited/Blocked Notification

Renovate 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.

Warning: custom changes will be lost.

@nicolerenee nicolerenee added this pull request to the merge queue Apr 2, 2024
Merged via the queue into main with commit a6b99f2 Apr 2, 2024
8 checks passed
@nicolerenee nicolerenee deleted the renovate/github.com-pressly-goose-v3-3.x branch April 2, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants