Skip to content

Commit

Permalink
chore: update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed Aug 27, 2024
1 parent 3d6ee77 commit e2ae02f
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

- Update `WithDisableGlobalRegistry` behavior (#783). If set, this will ignore globally-registered
migrations instead of raising an error. Specifically, the following check is removed:
- Minimum Go version is now 1.21
- Add Unwrap to PartialError (#815)
- 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:

```go
if len(global) > 0 {
Expand All @@ -18,7 +21,24 @@ if len(global) > 0 {

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 `WithGoMigrations`.
`WithDisableGlobalRegistry` in combination with provider-scoped `WithGoMigrations`.

- Postgres, updated schema to use identity instead of serial and make `tstamp` not nullable (#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)

```diff
- id serial NOT NULL,
+ id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
```

## [v3.21.1]

Expand Down

0 comments on commit e2ae02f

Please sign in to comment.