Skip to content

Commit

Permalink
chore: update changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance committed Jul 30, 2022
1 parent 142aedc commit 40a7a39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion packages/remix-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Patch Changes

- Fix inferred types for `useLoaderData` and `useActionData` to preserve `null`s. Previously, `null` types were being replaced by `never` due to usage of `NonNullable` in `UndefinedOptionals`. Properties that aren't unions with `undefined` are now kept as-is, while properties that _do_ include `undefined` are still made optional, but _only_ remove `undefined` from the property type whereas `NonNullable` also removed `null` types. ([#3879](https://github.com/remix-run/remix/pull/3879))
- Fix inferred types for `useLoaderData` and `useActionData` to preserve `null` value types ([#3879](https://github.com/remix-run/remix/pull/3879))

## 1.6.6

Expand Down
7 changes: 0 additions & 7 deletions packages/remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# `remix`

## 1.6.7

### Patch Changes

- Remove logical nullish assignment, which is incompatible with Node v14. ([#3880](https://github.com/remix-run/remix/pull/3880))
- Fix inferred types for `useLoaderData` and `useActionData` to preserve `null`s. Previously, `null` types were being replaced by `never` due to usage of `NonNullable` in `UndefinedOptionals`. Properties that aren't unions with `undefined` are now kept as-is, while properties that _do_ include `undefined` are still made optional, but _only_ remove `undefined` from the property type whereas `NonNullable` also removed `null` types. ([#3879](https://github.com/remix-run/remix/pull/3879))

See the `CHANGELOG.md` in individual Remix packages for all changes.

0 comments on commit 40a7a39

Please sign in to comment.