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

Merged
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 merged 1 commits from renovate/github.com-pressly-goose-v3-3.x into main 2024-06-19 17:15:57 +00:00
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-06-19 16:54:01 +00:00 (Migrated from gitlab.com)

This MR contains the following updates:

Package Type Update Change
github.com/pressly/goose/v3 require patch v3.21.0 -> v3.21.1

Release Notes

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

v3.21.1

Compare Source

  • Add GetVersions method to goose.Provider, returns the current (max db) version and the latest
    (max filesystem) version. (#​756)

  • Clarify GetLatestVersion method MUST return ErrVersionNotFound if no latest migration is
    found. 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 avoid
    loading all migrations when only the latest version is needed. This uses the max function in SQL
    to get the latest version_id irrespective of the order of applied migrations.

    • Refactor existing portions of the code to use the new GetLatestVersion method.

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


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

This MR has been generated by Renovate Bot.

This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/pressly/goose/v3](https://github.com/pressly/goose) | require | patch | `v3.21.0` -> `v3.21.1` | --- ### Release Notes <details> <summary>pressly/goose (github.com/pressly/goose/v3)</summary> ### [`v3.21.1`](https://github.com/pressly/goose/blob/HEAD/CHANGELOG.md#v3211) [Compare Source](https://github.com/pressly/goose/compare/v3.21.0...v3.21.1) - Add `GetVersions` method to `goose.Provider`, returns the current (max db) version and the latest (max filesystem) version. ([#&#8203;756](https://github.com/pressly/goose/issues/756)) - Clarify `GetLatestVersion` method MUST return `ErrVersionNotFound` if no latest migration is found. 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 avoid loading all migrations when only the latest version is needed. This uses the `max` function in SQL to get the latest version_id irrespective of the order of applied migrations. - Refactor existing portions of the code to use the new `GetLatestVersion` method. </details> --- ### 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 MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-06-19 16:54:03 +00:00 (Migrated from gitlab.com)

mentioned in issue #4

mentioned in issue #4
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-06-19 16:54:03 +00:00 (Migrated from gitlab.com)

restored source branch renovate/github.com-pressly-goose-v3-3.x

restored source branch `renovate/github.com-pressly-goose-v3-3.x`
argoyle (Migrated from gitlab.com) merged commit into main 2024-06-19 17:15:58 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#204