From 4cb1607c5b5ab1a75d84d13e975e950e8af1a44a Mon Sep 17 00:00:00 2001 From: Remix Run Bot Date: Fri, 15 Sep 2023 18:04:03 +0000 Subject: [PATCH] chore: format --- docs/start/tutorial.md | 2 +- packages/remix-deno/CHANGELOG.md | 29 +++++++++++++++++++++-------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/docs/start/tutorial.md b/docs/start/tutorial.md index 71e68ab481e..8476f6caa25 100644 --- a/docs/start/tutorial.md +++ b/docs/start/tutorial.md @@ -36,7 +36,7 @@ npm install npm run dev ``` -You should be able to open up [http://localhost:3000][http-localhost-3000] and see an unstyled screen that looks like this: +You should be able to open up \[http\://localhost:3000]\[http-localhost-3000] and see an unstyled screen that looks like this: diff --git a/packages/remix-deno/CHANGELOG.md b/packages/remix-deno/CHANGELOG.md index 25ddc96c0d8..e3fe8cb82c9 100644 --- a/packages/remix-deno/CHANGELOG.md +++ b/packages/remix-deno/CHANGELOG.md @@ -4,27 +4,40 @@ ### Major Changes -- Removed/adjusted types to prefer `unknown` over `any` and to align with underlying React Router types ([#7319](https://github.com/remix-run/remix/pull/7319), [#7354](https://github.com/remix-run/remix/pull/7354)): +- Removed/adjusted types to prefer `unknown` over `any` and to align with + underlying React Router types + ([#7319](https://github.com/remix-run/remix/pull/7319), + [#7354](https://github.com/remix-run/remix/pull/7354)): - Renamed the `useMatches()` return type from `RouteMatch` to `UIMatch` - - Renamed `LoaderArgs`/`ActionArgs` to `LoaderFunctionArgs`/`ActionFunctionArgs` + - Renamed `LoaderArgs`/`ActionArgs` to + `LoaderFunctionArgs`/`ActionFunctionArgs` - `AppData` changed from `any` to `unknown` - `Location["state"]` (`useLocation.state`) changed from `any` to `unknown` - `UIMatch["data"]` (`useMatches()[i].data`) changed from `any` to `unknown` - - `UIMatch["handle"]` (`useMatches()[i].handle`) changed from `{ [k: string]: any }` to `unknown` + - `UIMatch["handle"]` (`useMatches()[i].handle`) changed from + `{ [k: string]: any }` to `unknown` - `Fetcher["data"]` (`useFetcher().data`) changed from `any` to `unknown` - `MetaMatch.handle` (used in `meta()`) changed from `any` to `unknown` - - `AppData`/`RouteHandle` are no longer exported as they are just aliases for `unknown` + - `AppData`/`RouteHandle` are no longer exported as they are just aliases for + `unknown` - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939)) -- The route `meta` API now defaults to the new "V2 Meta" API ([#6958](https://github.com/remix-run/remix/pull/6958)) - - Please refer to the ([docs](https://remix.run/docs/en/2.0.0/route/meta) and [Preparing for V2](https://remix.run/docs/en/2.0.0/start/v2#route-meta) guide for more information. +- The route `meta` API now defaults to the new "V2 Meta" API + ([#6958](https://github.com/remix-run/remix/pull/6958)) + - Please refer to the ([docs](https://remix.run/docs/en/2.0.0/route/meta) and + [Preparing for V2](https://remix.run/docs/en/2.0.0/start/v2#route-meta) + guide for more information. ### Minor Changes -- Re-export the new `redirectDocument` method from React Router ([#7040](https://github.com/remix-run/remix/pull/7040), [#6842](https://github.com/remix-run/remix/pull/6842)) ([#7040](https://github.com/remix-run/remix/pull/7040)) +- Re-export the new `redirectDocument` method from React Router + ([#7040](https://github.com/remix-run/remix/pull/7040), + [#6842](https://github.com/remix-run/remix/pull/6842)) + ([#7040](https://github.com/remix-run/remix/pull/7040)) ### Patch Changes -- Export proper `ErrorResponse` type for usage alongside `isRouteErrorResponse` ([#7244](https://github.com/remix-run/remix/pull/7244)) +- Export proper `ErrorResponse` type for usage alongside `isRouteErrorResponse` + ([#7244](https://github.com/remix-run/remix/pull/7244)) - Updated dependencies: - `@remix-run/server-runtime@2.0.0`