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.17.0 #803

Merged
merged 8 commits into from
Dec 24, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 8, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/pressly/goose/v3 require minor v3.13.1 -> v3.17.0

Release Notes

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

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.

v3.15.0

Compare Source

  • Fix sqlparser to avoid skipping the last statement when it's not terminated with a semicolon
    within a StatementBegin/End block. (#​580)
  • Add go1.21 to the CI matrix.
  • Bump minimum version of module in go.mod to go1.19.
  • Fix version output when installing pre-built binaries (#​585).

v3.14.0

Compare Source

  • Filter registered Go migrations from the global map with corresponding .go files from the
    filesystem.
    • The code previously assumed all .go migrations would be in the same folder, so this should not
      be a breaking change.
    • See #​553 for more details
  • Improve output log message for applied up migrations. #​562
  • Fix an issue where AddMigrationNoTxContext was registering the wrong source because it skipped
    too many frames. #​572
  • Improve binary version output when using go install.

v3.13.4

Compare Source

  • Fix pre-built binary versioning and make small improvements to GoReleaser config.
  • Fix an edge case in the sqlparser where the last up statement may be ignored if it's
    unterminated with a semicolon and followed by a -- +goose Down annotation.
  • Trim Logger interface to Printf and Fatalf methods only. Projects that have previously
    implemented the Logger interface should not be affected, and can remove unused methods.

v3.13.3

Compare Source

Fixed a bunch of build issues, see https://github.com/pressly/goose/releases/tag/v3.13.4 for correct changelog.

v3.13.2

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.


  • 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 from 98e6fd2 to 8cf452f Compare July 10, 2023 19:08
@renovate renovate bot changed the title fix(deps): update module github.com/pressly/goose/v3 to v3.13.4 fix(deps): update module github.com/pressly/goose/v3 to v3.14.0 Jul 26, 2023
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 8cf452f to 0d233a1 Compare July 26, 2023 15:29
@renovate renovate bot changed the title fix(deps): update module github.com/pressly/goose/v3 to v3.14.0 fix(deps): update module github.com/pressly/goose/v3 to v3.15.0 Aug 13, 2023
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 0d233a1 to f1ac5b8 Compare August 13, 2023 04:53
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from f1ac5b8 to cf23991 Compare August 22, 2023 17:36
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch 2 times, most recently from efeb970 to a9b9589 Compare August 30, 2023 07:00
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from a9b9589 to 8ba1afb Compare September 19, 2023 14:04
@renovate renovate bot changed the title fix(deps): update module github.com/pressly/goose/v3 to v3.15.0 fix(deps): update module github.com/pressly/goose/v3 to v3.15.1 Oct 10, 2023
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 8ba1afb to 67992fb Compare October 10, 2023 15:12
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch 2 times, most recently from 0630ed9 to aaae3cc Compare November 12, 2023 11:13
@renovate renovate bot changed the title fix(deps): update module github.com/pressly/goose/v3 to v3.15.1 fix(deps): update module github.com/pressly/goose/v3 to v3.16.0 Nov 12, 2023
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from aaae3cc to 45bf1e6 Compare November 12, 2023 19:19
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 45bf1e6 to 39c0fe7 Compare November 27, 2023 02:50
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 39c0fe7 to 93908c5 Compare December 16, 2023 07:52
@renovate renovate bot changed the title fix(deps): update module github.com/pressly/goose/v3 to v3.16.0 fix(deps): update module github.com/pressly/goose/v3 to v3.17.0 Dec 16, 2023
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 93908c5 to 1d8c078 Compare December 19, 2023 02:31
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 1d8c078 to 9de9898 Compare December 23, 2023 17:58
@renovate renovate bot force-pushed the renovate/github.com-pressly-goose-v3-3.x branch from 9de9898 to b16ee5f Compare December 23, 2023 18:04
Copy link
Contributor Author

renovate bot commented Dec 23, 2023

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.

@abyssparanoia abyssparanoia merged commit 9c0bd92 into master Dec 24, 2023
2 checks passed
@abyssparanoia abyssparanoia deleted the renovate/github.com-pressly-goose-v3-3.x branch December 24, 2023 03:03
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.

1 participant