chore: Update version for release #6550
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.
Releases
@remix-run/dev@1.17.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,
scheme
defaults tohttps
Example
Install mkcert and create a local CA:
Then make sure you inform
node
about your CA certs:👆 You'll probably want to put that env var in your scripts or
.bashrc
/.zshrc
Now create
key.pem
andcert.pem
:See
mkcert
docs 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-serve
does not yet support TLS.That means this only works for custom app server using the
-c
flag 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-port
option has been obsoleted.Additionally, scheme/host/port options for the dev server have been renamed.
Available options are:
-c
/--command
command
remix-serve <server build path>
--scheme
scheme
http
--host
host
localhost
--port
port
--no-restart
restart: false
restart: true
Note 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_dev
enabled (#6506)Fix Tailwind performance issue when
postcss.config.js
containsplugins: { tailwindcss: {} }
andremix.config.js
contains bothtailwind: true
andpostcss: 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_dev
is enabled. (#6455)Also, only render modulepreloads on SSR.
Do not render modulepreloads when hydrated.
Add
HeadersArgs
type to be consistent with loaders/actions/meta and allows for using afunction
declaration in addition to an arrow function expression (#6247)better error message when
remix-serve
is 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)
path
values 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
@remix-run/react@1.17.0
Minor Changes
Faster server export removal for routes when
unstable_dev
is 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-port
option has been obsoleted.Additionally, scheme/host/port options for the dev server have been renamed.
Available options are:
-c
/--command
command
remix-serve <server build path>
--scheme
scheme
http
--host
host
localhost
--port
port
--no-restart
restart: false
restart: true
Note 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
Minor Changes
Add
errorHeaders
parameter to the leafheaders()
function to expose headers from thrown responses that bubble up to ancestor route boundaries. If the throwing route contains the boundary, thenerrorHeaders
will be the same object asloaderHeaders
/actionHeaders
for that route. (#6425)Add optional
handleError
export for custom server-side error processing. This is a new optional export from yourentry.server.tsx
that 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_headers
future flag to opt into automatic inheriting of ancestor routeheaders
functions so you do not need to export aheaders
function 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-port
option has been obsoleted.Additionally, scheme/host/port options for the dev server have been renamed.
Available options are:
-c
/--command
command
remix-serve <server build path>
--scheme
scheme
http
--host
host
localhost
--port
port
--no-restart
restart: false
restart: true
Note 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
ErrorResponse
instances inside resource routes (#6320)Add
HeadersArgs
type to be consistent with loaders/actions/meta and allows for using afunction
declaration in addition to an arrow function expression (#6247)Ensure un-sanitized server errors are logged on the server during document requests (#6495)
Lock into react router 6.12.0 version (#6548)
create-remix@1.17.0
Patch Changes
@remix-run/dev@1.17.0
@remix-run/architect@1.17.0
Patch Changes
@remix-run/node@1.17.0
@remix-run/cloudflare@1.17.0
Patch Changes
Add
HeadersArgs
type to be consistent with loaders/actions/meta and allows for using afunction
declaration in addition to an arrow function expression (#6247)Updated dependencies:
@remix-run/server-runtime@1.17.0
@remix-run/cloudflare-pages@1.17.0
Patch Changes
@remix-run/cloudflare@1.17.0
@remix-run/cloudflare-workers@1.17.0
Patch Changes
@remix-run/cloudflare@1.17.0
@remix-run/css-bundle@1.17.0
Patch Changes
@remix-run/dev@1.17.0
@remix-run/deno@1.17.0
Patch Changes
Add
HeadersArgs
type to be consistent with loaders/actions/meta and allows for using afunction
declaration in addition to an arrow function expression (#6247)Updated dependencies:
@remix-run/server-runtime@1.17.0
@remix-run/eslint-config@1.17.0
Patch Changes
Add
HeadersArgs
type to be consistent with loaders/actions/meta and allows for using afunction
declaration in addition to an arrow function expression (#6247)@remix-run/express@1.17.0
Patch Changes
@remix-run/node@1.17.0
@remix-run/netlify@1.17.0
Patch Changes
@remix-run/node@1.17.0
@remix-run/node@1.17.0
Patch Changes
Add
HeadersArgs
type to be consistent with loaders/actions/meta and allows for using afunction
declaration in addition to an arrow function expression (#6247)Fix
request.clone() instanceof Request
returning false. (#6512)Updated dependencies:
@remix-run/server-runtime@1.17.0
@remix-run/serve@1.17.0
Patch Changes
Add
HeadersArgs
type to be consistent with loaders/actions/meta and allows for using afunction
declaration in addition to an arrow function expression (#6247)Updated dependencies:
@remix-run/node@1.17.0
@remix-run/express@1.17.0
@remix-run/testing@1.17.0
Patch Changes
@remix-run/react@1.17.0
@remix-run/node@1.17.0
@remix-run/vercel@1.17.0
Patch Changes
@remix-run/node@1.17.0
remix@1.17.0
remix
See the
CHANGELOG.md
in individual Remix packages for all changes.