netlify-templates / kpop-stack

Create a Remix app with Netlify, Tailwind, TypeScript and more!
https://kpop-stack.netlify.app
240 stars 65 forks source link

chore(deps): update remix monorepo to v2.11.0 #256

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@remix-run/dev (source) 2.10.3 -> 2.11.0 age adoption passing confidence
@remix-run/eslint-config (source) 2.10.3 -> 2.11.0 age adoption passing confidence
@remix-run/node (source) 2.10.3 -> 2.11.0 age adoption passing confidence
@remix-run/react (source) 2.10.3 -> 2.11.0 age adoption passing confidence
@remix-run/serve (source) 2.10.3 -> 2.11.0 age adoption passing confidence

Release Notes

remix-run/remix (@​remix-run/dev) ### [`v2.11.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-dev/CHANGELOG.md#2110) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/dev@2.10.3...@remix-run/dev@2.11.0) ##### Minor Changes - Rename `future.unstable_fogOfWar` to `future.unstable_lazyRouteDiscovery` for clarity ([#​9763](https://togithub.com/remix-run/remix/pull/9763)) ##### Patch Changes - Handle absolute Vite base URLs ([#​9700](https://togithub.com/remix-run/remix/pull/9700)) - Updated dependencies: - `@remix-run/node@2.11.0` - `@remix-run/server-runtime@2.11.0`
remix-run/remix (@​remix-run/eslint-config) ### [`v2.11.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-eslint-config/CHANGELOG.md#2110) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/eslint-config@2.10.3...@remix-run/eslint-config@2.11.0) No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://togithub.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.11.0.
remix-run/remix (@​remix-run/node) ### [`v2.11.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-node/CHANGELOG.md#2110) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/node@2.10.3...@remix-run/node@2.11.0) ##### Minor Changes - Single Fetch: Add a new `unstable_data()` API as a replacement for `json`/`defer` when custom `status`/`headers` are needed ([#​9769](https://togithub.com/remix-run/remix/pull/9769)) - Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#​9764](https://togithub.com/remix-run/remix/pull/9764)) ##### Patch Changes - Updated dependencies: - `@remix-run/server-runtime@2.11.0`
remix-run/remix (@​remix-run/react) ### [`v2.11.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-react/CHANGELOG.md#2110) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/react@2.10.3...@remix-run/react@2.11.0) ##### Minor Changes - Single Fetch: Add a new `unstable_data()` API as a replacement for `json`/`defer` when custom `status`/`headers` are needed ([#​9769](https://togithub.com/remix-run/remix/pull/9769)) - Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#​9764](https://togithub.com/remix-run/remix/pull/9764)) - Rename `future.unstable_fogOfWar` to `future.unstable_lazyRouteDiscovery` for clarity ([#​9763](https://togithub.com/remix-run/remix/pull/9763)) - Single Fetch: Remove `responseStub` in favor of `headers` ([#​9769](https://togithub.com/remix-run/remix/pull/9769)) - Background - The original Single Fetch approach was based on an assumption that an eventual `middleware` implementation would require something like `ResponseStub` so users could mutate `status`/`headers` in `middleware` before/after handlers as well as during handlers - We wanted to align how `headers` got merged between document and data requests - So we made document requests also use `ResponseStub` and removed the usage of `headers` in Single Fetch - The realization/alignment between Michael and Ryan on the recent [roadmap planning](https://www.youtube.com/watch?v=f5z_axCofW0) made us realize that the original assumption was incorrect - `middleware` won't need a stub - users can just mutate the `Response` they get from `await next()` directly - With that gone, and still wanting to align how `headers` get merged, it makes more sense to stick with the current `headers` API and apply that to Single Fetch and avoid introducing a totally new thing in `RepsonseStub` (that always felt a bit awkward to work with anyway) - With this change: - You are encouraged to stop returning `Response` instances in favor of returning raw data from loaders and actions: - \~~`return json({ data: whatever });`~~ - `return { data: whatever };` - In most cases, you can remove your `json()` and `defer()` calls in favor of returning raw data if they weren't setting custom `status`/`headers` - We will be removing both `json` and `defer` in the next major version, but both *should* still work in Single Fetch in v2 to allow for incremental adoption of the new behavior - If you need custom `status`/`headers`: - We've added a new `unstable_data({...}, responseInit)` utility that will let you send back `status`/`headers` alongside your raw data without having to encode it into a `Response` - The `headers()` function will let you control header merging for both document and data requests ##### Patch Changes - Single Fetch: Ensure calls don't include any trailing slash from the pathname (i.e., `/path/.data`) ([#​9792](https://togithub.com/remix-run/remix/pull/9792)) - Single Fetch: Add `undefined` to the `useRouteLoaderData` type override ([#​9796](https://togithub.com/remix-run/remix/pull/9796)) - Change initial hydration route mismatch from a URL check to a matches check to be resistant to URL inconsistencies ([#​9695](https://togithub.com/remix-run/remix/pull/9695)) - Updated dependencies: - `@remix-run/server-runtime@2.11.0`
remix-run/remix (@​remix-run/serve) ### [`v2.11.0`](https://togithub.com/remix-run/remix/blob/HEAD/packages/remix-serve/CHANGELOG.md#2110) [Compare Source](https://togithub.com/remix-run/remix/compare/@remix-run/serve@2.10.3...@remix-run/serve@2.11.0) ##### Patch Changes - Updated dependencies: - `@remix-run/node@2.11.0` - `@remix-run/express@2.11.0`

Configuration

πŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.

netlify[bot] commented 1 month ago

Deploy Preview for kpop-stack ready!

Name Link
Latest commit 50fc68533788030d1ef2bcab3408e3d22f96999b
Latest deploy log https://app.netlify.com/sites/kpop-stack/deploys/66b030222ebedb0007698f50
Deploy Preview https://deploy-preview-256--kpop-stack.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 month ago

Deploy Preview for kpop-upgrade ready!

Name Link
Latest commit 50fc68533788030d1ef2bcab3408e3d22f96999b
Latest deploy log https://app.netlify.com/sites/kpop-upgrade/deploys/66b0302261906e00080a7196
Deploy Preview https://deploy-preview-256--kpop-upgrade.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.