Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update remix monorepo to v2.15.2 #475

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@remix-run/css-bundle (source) 2.12.0 -> 2.15.2 age adoption passing confidence
@remix-run/dev (source) 2.12.0 -> 2.15.2 age adoption passing confidence
@remix-run/eslint-config (source) 2.12.0 -> 2.15.2 age adoption passing confidence
@remix-run/node (source) 2.12.0 -> 2.15.2 age adoption passing confidence
@remix-run/react (source) 2.12.0 -> 2.15.2 age adoption passing confidence
@remix-run/serve (source) 2.12.0 -> 2.15.2 age adoption passing confidence
@remix-run/server-runtime (source) 2.12.0 -> 2.15.2 age adoption passing confidence

Release Notes

remix-run/remix (@​remix-run/css-bundle)

v2.15.2

Compare Source

v2.15.1

Compare Source

v2.15.0

Compare Source

v2.14.0

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.14.0.

v2.13.1

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.13.1.

v2.13.0

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.13.0.

v2.12.1

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.12.1.

remix-run/remix (@​remix-run/dev)

v2.15.2

Compare Source

Patch Changes
  • Allow supression of future flag warnings by setting them to false (#​10358)
  • [REMOVE] Fix implementation of flag warning supression (9c35c5fbc)
  • Updated dependencies:
    • @remix-run/node@2.15.2
    • @remix-run/server-runtime@2.15.2

v2.15.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/node@2.15.1
    • @remix-run/server-runtime@2.15.1

v2.15.0

Compare Source

Patch Changes
  • Stabilize the future.v3_routeConfig future flag, replacing future.unstable_routeConfig. This enables support for routes.ts to assist with the migration to React Router v7. (#​10236)

    Note that if you had already enabled the future.unstable_routeConfig flag, your route config in app/routes.ts is no longer defined via the routes export and must now be defined via the default export.

    import { type RouteConfig } from "@​remix-run/route-config";
    
    -export const routes: RouteConfig = [];
    +export default [] satisfies RouteConfig;
  • Updated dependencies:

    • @remix-run/node@2.15.0
    • @remix-run/server-runtime@2.15.0

v2.14.0

Compare Source

Minor Changes
  • Add support for routes.ts behind future.unstable_routeConfig flag to assist with the migration to React Router v7. (#​10107)

    Config-based routing is the new default in React Router v7, configured via the routes.ts file in the app directory. Support for routes.ts and its related APIs in Remix are designed as a migration path to help minimize the number of changes required when moving your Remix project over to React Router v7. While some new packages have been introduced within the @remix-run scope, these new packages only exist to keep the code in routes.ts as similar as possible to the equivalent code for React Router v7.

    When the unstable_routeConfig future flag is enabled, Remix's built-in file system routing will be disabled and your project will opted into React Router v7's config-based routing.

    To enable the flag, in your vite.config.ts file:

    remix({
      future: {
        unstable_routeConfig: true,
      },
    });

    A minimal routes.ts file to support Remix's built-in file system routing looks like this:

    // app/routes.ts
    import { flatRoutes } from "@​remix-run/fs-routes";
    import type { RouteConfig } from "@​remix-run/route-config";
    
    export const routes: RouteConfig = flatRoutes();
  • Log deprecation warnings for v3 future flags (#​10126)

    • Add @deprecated annotations to json/defer utilities
Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.14.0
    • @remix-run/node@2.14.0

v2.13.1

Compare Source

Patch Changes
  • Revert future.v3_optimizeDeps back to future.unstable_optimizeDeps as it was not intended to stabilize in Remix v2 (#​10099)
  • Updated dependencies:
    • @remix-run/node@2.13.1
    • @remix-run/server-runtime@2.13.1

v2.13.0

Compare Source

Minor Changes
  • Stabilize the future.unstable_optimizeDeps flag into future.v3_optimizeDeps (#​10092)
  • Stabilize React Router APIs in Remix (#​9980)
    • Adopt stabilized React Router APIs internally
      • Single Fetch: unstable_dataStrategy -> dataStrategy
      • Lazy Route Discovery: unstable_patchRoutesOnNavigation -> patchRoutesOnNavigation
    • Stabilize public-facing APIs
      • Single Fetch: unstable_data() -> data()
      • unstable_viewTransition -> viewTransition (Link, Form, navigate, submit)
      • unstable_flushSync> -> <Link viewTransition> (Link, Form, navigate, submit, useFetcher)
  • Stabilize future flags (#​10072)
    • future.unstable_singleFetch -> future.v3_singleFetch
    • future.unstable_lazyRouteDiscovery -> future.v3_lazyRouteDiscovery
Patch Changes
  • Stop passing request.signal as the renderToReadableStream signal to abort server rendering for cloudflare/deno runtimes because by the time that request is aborted, aborting the rendering is useless because there's no way for React to flush down the unresolved boundaries (#​10047)

    • This has been incorrect for some time, but only recently exposed due to a bug in how we were aborting requests when running via remix vite:dev because we were incorrectly aborting requests after successful renders - which was causing us to abort a completed React render, and try to close an already closed ReadableStream.
    • This has likely not shown up in any production scenarios because cloudflare/deno production runtimes are (correctly) not aborting the request.signal on successful renders
    • The built-in entry.server files no longer pass a signal to renderToReadableStream because adding a timeout-based abort signal to the default behavior would constitute a breaking change
    • Users can configure this abort behavior via their own entry.server via remix reveal entry.server, and the template entry.server files have been updated with an example approach for newly created Remix apps
  • Fix adapter logic for aborting request.signal so we don't incorrectly abort on the close event for successful requests (#​10046)

  • Updated dependencies:

    • @remix-run/server-runtime@2.13.0
    • @remix-run/node@2.13.0

v2.12.1

Compare Source

Patch Changes
  • Properly abort request.signal during vite dev when the node response is closed (#​9976)
  • CSS imports with ?inline, ?inline-css and ?raw are no longer incorrectly injected during SSR in development (#​9910)
  • Updated dependencies:
    • @remix-run/server-runtime@2.12.1
    • @remix-run/node@2.12.1
remix-run/remix (@​remix-run/eslint-config)

v2.15.2

Compare Source

v2.15.1

Compare Source

v2.15.0

Compare Source

v2.14.0

Compare Source

Minor Changes
  • Add deprecation warning to @remix-run/eslint-config (#​10174)

v2.13.1

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.13.1.

v2.13.0

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.13.0.

v2.12.1

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.12.1.

remix-run/remix (@​remix-run/node)

v2.15.2

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.15.2

v2.15.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.15.1

v2.15.0

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.15.0

v2.14.0

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.14.0

v2.13.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.13.1

v2.13.0

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.13.0

v2.12.1

Compare Source

Patch Changes
  • Single Fetch: Re-export interface Future through @remix-run/node/@remix-run/cloudflare/@remix-run/deno packages so that pnpm doesn't complain about @remix-run/server-runtime not being a dependency (#​9982)
  • Updated dependencies:
    • @remix-run/server-runtime@2.12.1
remix-run/remix (@​remix-run/react)

v2.15.2

Compare Source

Patch Changes
  • Throw unwrapped single fetch redirect to align with pre-single fetch behavior (#​10317)
  • Updated dependencies:
    • @remix-run/server-runtime@2.15.2

v2.15.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.15.1

v2.15.0

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.15.0

v2.14.0

Compare Source

Patch Changes
  • Fix defaultShouldRevalidate value when using single fetch (#​10139)
  • Updated dependencies:
    • @remix-run/server-runtime@2.14.0

v2.13.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.13.1

v2.13.0

Compare Source

Minor Changes
  • Stabilize React Router APIs in Remix (#​9980)
    • Adopt stabilized React Router APIs internally
      • Single Fetch: unstable_dataStrategy -> dataStrategy
      • Lazy Route Discovery: unstable_patchRoutesOnNavigation -> patchRoutesOnNavigation
    • Stabilize public-facing APIs
      • Single Fetch: unstable_data() -> data()
      • unstable_viewTransition -> viewTransition (Link, Form, navigate, submit)
      • unstable_flushSync> -> <Link viewTransition> (Link, Form, navigate, submit, useFetcher)
  • Stabilize future flags (#​10072)
    • future.unstable_singleFetch -> future.v3_singleFetch
    • future.unstable_lazyRouteDiscovery -> future.v3_lazyRouteDiscovery
Patch Changes
  • Fix bug with clientLoader.hydrate in a layout route when hydrating with bubbled errors (#​10063)
  • Updated dependencies:
    • @remix-run/server-runtime@2.13.0

v2.12.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/server-runtime@2.12.1
remix-run/remix (@​remix-run/serve)

v2.15.2

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/express@2.15.2
    • @remix-run/node@2.15.2

v2.15.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/express@2.15.1
    • @remix-run/node@2.15.1

v2.15.0

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/express@2.15.0
    • @remix-run/node@2.15.0

v2.14.0

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/node@2.14.0
    • @remix-run/express@2.14.0

v2.13.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/express@2.13.1
    • @remix-run/node@2.13.1

v2.13.0

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/express@2.13.0
    • @remix-run/node@2.13.0

v2.12.1

Compare Source

Patch Changes
  • Updated dependencies:
    • @remix-run/node@2.12.1
    • @remix-run/express@2.12.1
remix-run/remix (@​remix-run/server-runtime)

v2.15.2

Compare Source

v2.15.1

Compare Source

v2.15.0

Compare Source

v2.14.0

Compare Source

Minor Changes
  • Deprecate SerializeFrom in favor of generics because it will be removed in React Router v7 (#​10173)
Patch Changes
  • Update externally-accessed resource routes warning to cover null usage as well (#​10145)

v2.13.1

Compare Source

No significant changes to this package were made in this release. See the repo CHANGELOG.md for an overview of all changes in v2.13.1.

v2.13.0

Compare Source

Minor Changes
  • Stabilize React Router APIs in Remix (#​9980)
    • Adopt stabilized React Router APIs internally
      • Single Fetch: unstable_dataStrategy -> dataStrategy
      • Lazy Route Discovery: unstable_patchRoutesOnNavigation -> patchRoutesOnNavigation
    • Stabilize public-facing APIs
      • Single Fetch: unstable_data() -> data()
      • unstable_viewTransition -> viewTransition (Link, Form, navigate, submit)
      • unstable_flushSync> -> <Link viewTransition> (Link, Form, navigate, submit, useFetcher)
  • Stabilize future flags (#​10072)
    • future.unstable_singleFetch -> future.v3_singleFetch
    • future.unstable_lazyRouteDiscovery -> future.v3_lazyRouteDiscovery

v2.12.1

Compare Source

Patch Changes
  • Fix single-fetch types when loader, action, clientLoader, or clientAction return a mixture of bare objects, json(...), defer(...), and unstable_data(...). (#​9999)
  • Single Fetch: Re-export interface Future through @remix-run/node/@remix-run/cloudflare/@remix-run/deno packages so that pnpm doesn't complain about @remix-run/server-runtime not being a dependency (#​9982)

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot requested a review from a team as a code owner December 10, 2024 15:41
@renovate renovate bot added dependencies Pull requests that update a dependency file javascript labels Dec 10, 2024
@renovate renovate bot enabled auto-merge (squash) December 10, 2024 15:41
Copy link

netlify bot commented Dec 10, 2024

Deploy Preview for remix-serverless ready!

Name Link
🔨 Latest commit be39f04
🔍 Latest deploy log https://app.netlify.com/sites/remix-serverless/deploys/6792939bcb9d390009afe4c4
😎 Deploy Preview https://deploy-preview-475--remix-serverless.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.

Copy link

netlify bot commented Dec 10, 2024

Deploy Preview for remix-edge failed. Why did it fail? →

Name Link
🔨 Latest commit be39f04
🔍 Latest deploy log https://app.netlify.com/sites/remix-edge/deploys/6792939b2f75310008a6ad9f

kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 10, 2024
@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Dec 10, 2024
@renovate renovate bot force-pushed the renovate/remix-monorepo branch from b6db28a to 91b401c Compare December 13, 2024 14:41
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 13, 2024
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 13, 2024
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 17, 2024
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 19, 2024
@renovate renovate bot changed the title chore(deps): update remix monorepo to v2.15.1 chore(deps): update remix monorepo Dec 19, 2024
@renovate renovate bot force-pushed the renovate/remix-monorepo branch from bea1750 to c3b8730 Compare December 20, 2024 22:25
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 20, 2024
@renovate renovate bot changed the title chore(deps): update remix monorepo chore(deps): update remix monorepo to v2.15.2 Dec 20, 2024
@renovate renovate bot force-pushed the renovate/remix-monorepo branch from c3b8730 to da7799f Compare December 21, 2024 00:46
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 21, 2024
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 21, 2024
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 23, 2024
kodiakhq[bot]
kodiakhq bot previously approved these changes Dec 23, 2024
kodiakhq[bot]
kodiakhq bot previously approved these changes Jan 6, 2025
@renovate renovate bot force-pushed the renovate/remix-monorepo branch from 04ac8fa to be39f04 Compare January 23, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants