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

Merged
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 merged 1 commits from renovate/github.com-pressly-goose-v3-3.x into main 2024-09-03 14:23:16 +00:00
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-09-03 13:53:33 +00:00 (Migrated from gitlab.com)

This MR contains the following updates:

Package Type Update Change
github.com/pressly/goose/v3 require minor v3.21.1 -> v3.22.0

Release Notes

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

v3.22.0

Compare Source

  • Minimum Go version is now 1.21
  • Add Unwrap to PartialError (#​815)
  • Allow flags anywhere on the CLI (#​814)

goose uses the default Go flag parsing library, which means flags must be defined before the
first positional argument. We've updated this behavior to allow flags to be defined anywhere. For
more details, see blog post.

  • Update WithDisableGlobalRegistry behavior (#​783). When set, this will ignore globally-registered
    migrationse entirely instead of the previous behavior of raising an error. Specifically, the
    following check is removed:
if len(global) > 0 {
	return nil, errors.New("global registry disabled, but provider has registered go migrations")
}

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-scoped WithGoMigrations.

  • Postgres, updated schema to use identity instead of serial and make tstamp not nullable (#​556)
- id serial NOT NULL,
+ id integer PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,

- tstamp timestamp NULL default now(),
+ tstamp timestamp NOT NULL DEFAULT now()
  • MySQL, updated schema to not use SERIAL alias (#​816)
- id serial NOT NULL,
+ id bigint(20) unsigned NOT NULL AUTO_INCREMENT,

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 | minor | `v3.21.1` -> `v3.22.0` | --- ### Release Notes <details> <summary>pressly/goose (github.com/pressly/goose/v3)</summary> ### [`v3.22.0`](https://github.com/pressly/goose/blob/HEAD/CHANGELOG.md#v3220) [Compare Source](https://github.com/pressly/goose/compare/v3.21.1...v3.22.0) - Minimum Go version is now 1.21 - Add Unwrap to PartialError ([#&#8203;815](https://github.com/pressly/goose/issues/815)) - Allow flags anywhere on the CLI ([#&#8203;814](https://github.com/pressly/goose/issues/814)) `goose` uses the default Go `flag` parsing library, which means flags **must** be defined before the first positional argument. We've updated this behavior to allow flags to be defined anywhere. For more details, see [blog post](https://mfridman.com/blog/2024/allowing-flags-anywhere-on-the-cli/). - Update `WithDisableGlobalRegistry` behavior ([#&#8203;783](https://github.com/pressly/goose/issues/783)). When set, this will ignore globally-registered migrationse entirely instead of the previous behavior of raising an error. Specifically, the following check is removed: ```go if len(global) > 0 { return nil, errors.New("global registry disabled, but provider has registered go migrations") } ``` 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-scoped `WithGoMigrations`. - Postgres, updated schema to use identity instead of serial and make `tstamp` not nullable ([#&#8203;556](https://github.com/pressly/goose/issues/556)) ```diff - id serial NOT NULL, + id integer PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, - tstamp timestamp NULL default now(), + tstamp timestamp NOT NULL DEFAULT now() ``` - MySQL, updated schema to not use SERIAL alias ([#&#8203;816](https://github.com/pressly/goose/issues/816)) ```diff - id serial NOT NULL, + id bigint(20) unsigned NOT NULL AUTO_INCREMENT, ``` </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:eyJjcmVhdGVkSW5WZXIiOiIzOC42NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNjQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-09-03 13:53:34 +00:00 (Migrated from gitlab.com)

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/sethvargo/go-retry v0.2.4 -> v0.3.0
golang.org/x/net v0.26.0 -> v0.27.0
golang.org/x/sys v0.21.0 -> v0.22.0
### ℹ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 3 additional dependencies were updated Details: | **Package** | **Change** | | :------------------------------ | :--------------------- | | `github.com/sethvargo/go-retry` | `v0.2.4` -> `v0.3.0` | | `golang.org/x/net` | `v0.26.0` -> `v0.27.0` | | `golang.org/x/sys` | `v0.21.0` -> `v0.22.0` |
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-09-03 13:53:35 +00:00 (Migrated from gitlab.com)

mentioned in issue #4

mentioned in issue #4
argoyle (Migrated from gitlab.com) merged commit into main 2024-09-03 14:23:17 +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#220