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

fix(deps): update dependency remix to v1.19.0 #4106

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 19, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
remix (source) 1.18.1 -> 1.19.0 age adoption passing confidence

Release Notes

remix-run/remix (remix)

v1.19.0: v1.19.0

Compare Source

New Features

Improved Networking Options

When using the new v2_dev server, the --scheme and --host options have been deprecated and replaced with the REMIX_DEV_ORIGIN environment variable. For more information, refer to the v2 dev server docs (#​6724)

ESBuild metafiles

For bundle analysis, the esbuild metafiles are now written to your server build directory (build/ by default) and can be uploaded to https://esbuild.github.io/analyze/ for analysis (#​6772):

  • metafile.css.json
  • metafile.js.json (browser JS)
  • metafile.server.json (server JS)
New serverNodeBuiltinsPolyfill Config Option

When building for non-Node.js server platforms, you can now control which polyfills are included (or disbale them entirely) by setting serverNodeBuiltinsPolyfill in remix.config.js (#​6814, #​6859, #​6877).

// Disable all polyfills
exports.serverNodeBuiltinsPolyfill = { modules: {} };

// Enable specific polyfills
exports.serverNodeBuiltinsPolyfill = {
  modules: {
    crypto: true, // Provide a JSPM polyfill
    fs: "empty", // Provide an empty polyfill
  },
};

⚠️ Note that this behavior will be changing in v2. In v1, Remix will polyfill a certain set of modules for you if you do not specify serverNodeBuiltinsPolyfill. In v2, Remix will no longer include polyfills by default. You can prepare for your eventual migration by explicitly setting this config value in your v1 app.

Other Notable Changes

  • Exclude unimplemented polyfills from server build for non-Node.js server platforms (#​6814)
  • Ignore missing react-dom/client for react 17 (#​6725)
  • Warn if not using v2_dev (#​6818)
    • Rename --no-restart to --manual to match intention and documentation
    • --no-restart remains an alias for --manual in v1 for backwards compatibility
  • Ignore errors when killing already dead processes (#​6773)
  • Fix sourcemaps for v2_dev (#​6762)
  • Do not clear screen when dev server starts (#​6719)
    • On some terminal emulators, "clearing" only scrolls the next line to the top, while on others it erases the scrollback
    • Instead, let users call clear themselves (clear && remix dev) if they want to clear
  • Always rewrite css-derived assets during builds (#​6837)
  • Fix router race condition for HMR (#​6767)
  • Properly handle ?_data HTTP/Network errors that don't reach the Remix server and ensure they bubble to the ErrorBoundary (#​6783)
  • Support proper hydration of Error subclasses such as ReferenceError/TypeError in development mode (#​6675)
  • Properly return a 404 for a ?_data request that doesn't match any routes (#​6820)
  • Narrowed the type of fetcher.formEncType to use FormEncType from react-router-dom instead of string (#​6810)
  • Deferred promises that return undefined/void now surface a serialization error (#​6793)
  • Avoid re-prefetching stylesheets for active routes during a revalidation (#​6679)
  • Add generic type for useRouteLoaderData() (#​5157)
  • Submitted empty file inputs are now correctly parsed out as empty File instances instead of being surfaced as an empty string via request.formData() (via @remix-run/[email protected]) (#​6816)
  • Added some missing react-router-dom exports to @remix-run/react (createPath, matchPath, etc.) (#​6856)
  • Updated React Router dependencies:

Changes by Package 🔗


Full Changelog: 1.18.1...1.19.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Jul 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
monorepo-nextjs-app ⬜️ Ignored (Inspect) Jul 19, 2023 8:05pm
monorepo-vite-app ⬜️ Ignored (Inspect) Jul 19, 2023 8:05pm

@changeset-bot
Copy link

changeset-bot bot commented Jul 19, 2023

⚠️ No Changeset found

Latest commit: 8996c02

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codeclimate
Copy link

codeclimate bot commented Jul 19, 2023

Code Climate has analyzed commit 8996c02 and detected 0 issues on this pull request.

View more on Code Climate.

@ghost
Copy link

ghost commented Jul 19, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@belgattitude belgattitude merged commit 2e12942 into main Jul 19, 2023
11 checks passed
@belgattitude belgattitude deleted the renovate/tailwind branch July 19, 2023 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant