chore: Update version for release (pre) #6526
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-next, this PR will be updated.
release-nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonrelease-next.Releases
@remix-run/dev@1.17.0-pre.0
Minor Changes
built-in tls support (#6483)
New options:
--tls-key/tlsKey: TLS key--tls-cert/tlsCert: TLS CertificateIf both TLS options are set,
schemedefaults tohttpsExample
Install mkcert and create a local CA:
Then make sure you inform
nodeabout your CA certs:👆 You'll probably want to put that env var in your scripts or
.bashrc/.zshrcNow create
key.pemandcert.pem:See
mkcertdocs for more details.Finally, pass in the paths to the key and cert via flags:
or via config:
That's all that's needed to set up the Remix Dev Server with TLS.
🚨 Make sure to update your app server for TLS as well.
For example, with
express:Known limitations
remix-servedoes not yet support TLS.That means this only works for custom app server using the
-cflag for now.Add caching to PostCSS for regular stylesheets (#6505)
Reuse dev server port for WebSocket (Live Reload,HMR,HDR) (#6476)
As a result the
webSocketPort/--websocket-portoption has been obsoleted.Additionally, scheme/host/port options for the dev server have been renamed.
Available options are:
-c/--commandcommandremix-serve <server build path>--schemeschemehttp--hosthostlocalhost--portport--no-restartrestart: falserestart: trueNote that scheme/host/port options are for the dev server, not your app server.
You probably don't need to use scheme/host/port option if you aren't configuring networking (e.g. for Docker or SSL).
Patch Changes
Fix warnings when importing CSS files with
future.unstable_devenabled (#6506)Fix Tailwind performance issue when
postcss.config.jscontainsplugins: { tailwindcss: {} }andremix.config.jscontains bothtailwind: trueandpostcss: true. (#6468)Note that this was not an issue when the plugin function had been explicitly called, i.e.
plugins: [tailwindcss()]. Remix avoids adding the Tailwind plugin to PostCSS if it's already present but we were failing to detect when the plugin function hadn't been called — either because the plugin function itself had been passed, i.e.plugins: [require('tailwindcss')], or the plugin config object syntax had been used, i.e.plugins: { tailwindcss: {} }.Faster server export removal for routes when
unstable_devis enabled. (#6455)Also, only render modulepreloads on SSR.
Do not render modulepreloads when hydrated.
Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)better error message when
remix-serveis not found (#6477)restore color for app server output (#6485)
Fix route ranking bug with pathless layout route next to a sibling index route (#4421)
pathvalues since the number of slash-delimited segments counts towards route ranking so the trailing slash incorrectly increases the score for routesSupport sibling pathless layout routes by removing pathless layout routes from the unique route path checks in conventional route generation since they inherently trigger duplicate paths
fix dev server crashes caused by ungraceful hdr error handling (#6467)
Updated dependencies:
@remix-run/server-runtime@1.17.0-pre.0@remix-run/serve@1.17.0-pre.0@remix-run/react@1.17.0-pre.0
Minor Changes
Faster server export removal for routes when
unstable_devis enabled. (#6455)Also, only render modulepreloads on SSR.
Do not render modulepreloads when hydrated.
Force Typescript to simplify type produced by
Serialize. (#6449)As a result, the following types and functions have simplified return types:
Reuse dev server port for WebSocket (Live Reload,HMR,HDR) (#6476)
As a result the
webSocketPort/--websocket-portoption has been obsoleted.Additionally, scheme/host/port options for the dev server have been renamed.
Available options are:
-c/--commandcommandremix-serve <server build path>--schemeschemehttp--hosthostlocalhost--portport--no-restartrestart: falserestart: trueNote that scheme/host/port options are for the dev server, not your app server.
You probably don't need to use scheme/host/port option if you aren't configuring networking (e.g. for Docker or SSL).
Patch Changes
@remix-run/server-runtime@1.17.0-pre.0
Minor Changes
Add
errorHeadersparameter to the leafheaders()function to expose headers from thrown responses that bubble up to ancestor route boundaries. If the throwing route contains the boundary, thenerrorHeaderswill be the same object asloaderHeaders/actionHeadersfor that route. (#6425)Add optional
handleErrorexport for custom server-side error processing. This is a new optional export from yourentry.server.tsxthat will be called with any encountered error on the Remix server (loader, action, or render error): (#6524)Force Typescript to simplify type produced by
Serialize. (#6449)As a result, the following types and functions have simplified return types:
Added a new
future.v2_headersfuture flag to opt into automatic inheriting of ancestor routeheadersfunctions so you do not need to export aheadersfunction from every possible leaf route if you don't wish to. (#6431)Reuse dev server port for WebSocket (Live Reload,HMR,HDR) (#6476)
As a result the
webSocketPort/--websocket-portoption has been obsoleted.Additionally, scheme/host/port options for the dev server have been renamed.
Available options are:
-c/--commandcommandremix-serve <server build path>--schemeschemehttp--hosthostlocalhost--portport--no-restartrestart: falserestart: trueNote that scheme/host/port options are for the dev server, not your app server.
You probably don't need to use scheme/host/port option if you aren't configuring networking (e.g. for Docker or SSL).
Patch Changes
Automatically include set-cookie headers from bubbled thrown responses (#6475)
Properly handle thrown
ErrorResponseinstances inside resource routes (#6320)Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)Ensure un-sanitized server errors are logged on the server during document requests (#6495)
create-remix@1.17.0-pre.0
Patch Changes
@remix-run/dev@1.17.0-pre.0@remix-run/architect@1.17.0-pre.0
Patch Changes
@remix-run/node@1.17.0-pre.0@remix-run/cloudflare@1.17.0-pre.0
Patch Changes
Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)Updated dependencies:
@remix-run/server-runtime@1.17.0-pre.0@remix-run/cloudflare-pages@1.17.0-pre.0
Patch Changes
@remix-run/cloudflare@1.17.0-pre.0@remix-run/cloudflare-workers@1.17.0-pre.0
Patch Changes
@remix-run/cloudflare@1.17.0-pre.0@remix-run/css-bundle@1.17.0-pre.0
Patch Changes
@remix-run/dev@1.17.0-pre.0@remix-run/deno@1.17.0-pre.0
Patch Changes
Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)Updated dependencies:
@remix-run/server-runtime@1.17.0-pre.0@remix-run/eslint-config@1.17.0-pre.0
Patch Changes
Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)@remix-run/express@1.17.0-pre.0
Patch Changes
@remix-run/node@1.17.0-pre.0@remix-run/netlify@1.17.0-pre.0
Patch Changes
@remix-run/node@1.17.0-pre.0@remix-run/node@1.17.0-pre.0
Patch Changes
Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)Fix
request.clone() instanceof Requestreturning false. (#6512)Updated dependencies:
@remix-run/server-runtime@1.17.0-pre.0@remix-run/serve@1.17.0-pre.0
Patch Changes
Add
HeadersArgstype to be consistent with loaders/actions/meta and allows for using afunctiondeclaration in addition to an arrow function expression (#6247)Updated dependencies:
@remix-run/node@1.17.0-pre.0@remix-run/express@1.17.0-pre.0@remix-run/testing@1.17.0-pre.0
Patch Changes
@remix-run/react@1.17.0-pre.0@remix-run/node@1.17.0-pre.0@remix-run/vercel@1.17.0-pre.0
Patch Changes
@remix-run/node@1.17.0-pre.0remix@1.17.0-pre.0
remixSee the
CHANGELOG.mdin individual Remix packages for all changes.