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:
iflen(global)>0{returnnil,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 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 ([#​815](https://github.com/pressly/goose/issues/815))
- Allow flags anywhere on the CLI ([#​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 ([#​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 ([#​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 ([#​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==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This MR contains the following updates:
v3.21.1->v3.22.0Release Notes
pressly/goose (github.com/pressly/goose/v3)
v3.22.0Compare Source
gooseuses the default Goflagparsing library, which means flags must be defined before thefirst positional argument. We've updated this behavior to allow flags to be defined anywhere. For
more details, see blog post.
WithDisableGlobalRegistrybehavior (#783). When set, this will ignore globally-registeredmigrationse entirely instead of the previous behavior of raising an error. Specifically, the
following check is removed:
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
WithDisableGlobalRegistryin combination with provider-scopedWithGoMigrations.tstampnot nullable (#556)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.
This MR has been generated by Renovate Bot.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/sethvargo/go-retryv0.2.4->v0.3.0golang.org/x/netv0.26.0->v0.27.0golang.org/x/sysv0.21.0->v0.22.0mentioned in issue #4