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 contains the following updates:
1.1.1
->1.7.2
1.1.1
->1.7.2
1.1.1
->1.7.2
1.1.1
->1.7.2
Release Notes
remix-run/remix (@remix-run/dev)
v1.7.2
Compare Source
Patch Changes
@remix-run/server-runtime@1.7.2
@remix-run/serve@1.7.2
v1.7.1
Compare Source
Patch Changes
@remix-run/server-runtime@1.7.1
@remix-run/serve@1.7.1
v1.7.0
Compare Source
Minor Changes
.gql
and.graphql
files as plain text (#3923).zip
and.avif
files as resource URLs (#3985)Patch Changes
@remix-run/server-runtime@1.7.0
@remix-run/serve@1.7.0
v1.6.8
Compare Source
Patch Changes
.mjs
and.cjs
file extensions forremix.config
(#3675).sql
files as text content (#3190)@remix-run/server-runtime@1.6.8
@remix-run/serve@1.6.8
v1.6.7
Compare Source
Patch Changes
@remix-run/serve@1.6.7
@remix-run/server-runtime@1.6.7
v1.6.6
Compare Source
Patch Changes
.mdx
files (#3801)@remix-run/dev/server-build
virtual module (#3743)@remix-run/serve@1.6.6
@remix-run/server-runtime@1.6.6
v1.6.5
Compare Source
Patch Changes
serverBareModulesPlugin
warning to use full import path (#3656)--port
flag increate-remix
(#3694)@remix-run/server-runtime
@remix-run/serve
v1.6.4
Compare Source
What's Changed
🐛 Bug fixes
@remix-run/serve
and@remix-run/dev
(#3602)💅 Enhancements
watchPaths
option forremix.config
. This allows you to define custom directories to watch while runningremix dev
(#3188).New Contributors
Full Changelog: remix-run/remix@v1.6.3...v1.6.4
v1.6.3
Compare Source
This release fixes issues with some supported deep imports when bundling your server.
v1.6.2
Compare Source
What's Changed
🐛 Bug Fixes
create-remix
CLI (#2804)💅 Enhancements
New Contributors
Full Changelog: remix-run/remix@v1.6.1...v1.6.2-pre.0
v1.6.1
Compare Source
What's Changed
This release includes a few small bug fixes and DX improvements. Check out the full changelog to see what's new! ✨
New Contributors
Full Changelog: remix-run/remix@v1.6.0...v1.6.1
v1.6.0
Compare Source
What Changed?
☠️ Deprecated
Imports from the
remix
package are now officially deprecated. We added ESLint warnings to help you catch these (#3285). We also provide a codemod to make the necessary changes to prepare for a future breaking change. Runnpx @​remix-run/dev migrate
to initiate the codemod.See the release notes for v1.4.0 for more details on this change.
💅 Enhancements
@remix-run/react
(#2876)--port
flag to theremix dev
script (#3447)🐛 Bug fixes
sameSite: "lax"
to better align with browsers (#2388)imageSrcSet
/imageSizes
props forlinks
depending on the React version used (#2944)@remix-run/dev
(#3413)New Contributors
Full Changelog: remix-run/remix@v1.5.1...v1.6.0
v1.5.1
Compare Source
What's Changed
💅 Enhancements
create-remix
CLI 🦕 (#3233)Full Changelog: remix-run/remix@v1.5.0...v1.5.1
v1.5.0
Compare Source
Welcome to version 1.5 of Remix. Can you believe that we are already 1.5
yearsversions old? Time flies when you're building fun web frameworks!We've got a few things that we're excited to share with this one, so let's get started 💿 💿 💿
Official support for Deno
Dr. Ian Malcolm, Jurassic Park
A short while ago we rolled out a new adapter with experimental support for building on top of Deno. At long last, the mad scientists at Remix are now ready to announce a major breakthrough:
Remix now officially supports Deno. 🦕
Apart from compiler-related changes, Deno support comes in the form of:
@remix-run/deno
packagenpx create-remix@latest --template deno
)We couldn't be more excited to see what Deno enables for your future Remix projects. Deno takes a very different approach than most other JS runtimes, and we learned some big lessons while implementing our adapter. For those curious, check out a some tricky Deno-related decisions we made along the way.
It was tough going at times, but as Dr. Malcolm would say:
🦖Moving closer to The Platform™
One of our driving forces with Remix is to use web standards and get to connect developers more closely to them with our APIs.
In the olden days, the only JavaScript runtime was the one implemented by browsers, but Node changed the game for everyone. In those days, many standards and APIs necessary to build a proper JS server runtime didn't exist, so the good folks working on Node had to invent them for us. Or in many cases we'd get "polyfills" for new standards from third-party libraries like
node-fetch
.These were innovative times, and moving quickly allowed devs to ship more quickly. But inconsistency between runtimes also created a lot of problems. Thankfully we are getting closer than ever to consensus-driven solutions, and Remix is moving towards this new, more standardized approach.
We have removed our dependency on
node-fetch
and moved forward with our own implementation that gets closer to the living Fetch Standard. This opens the door to new features in your loaders and actions—you can now returnReadableStream
in the body of your response, which allows you to stream data from your server and paves the way for the new streaming APIs in React 18.This comes at an exciting time for the web, as just a few weeks ago we saw the formation of a new Web-interoperable Runtimes Community Group. We've never been more optimistic about the web, and we see this change as a necessary first step to embrace its future.
What's Changed
✨ Features
node-fetch
with@remix-run/web-fetch
for a more standards-based fetch implementation (#2736)💅 Enhancements
🐛 Bug fixes
.js
route files (#3059)packageExports
map (#3189)loader
calls when usingprefetch-intent
(#2938)unstable_parseMultipartFormData
no longer operates on a Node.jsstream
, this has been changed to anAsyncIterable<Uint8Array>
calleddata
to bring this functionality to all platforms (#2736)unstable_parseMultipartFormData
no longer parses fields automatically for you; instead useunstable_composeUploadHandlers
to combine multiple upload handlers (#2736)New Contributors
Full Changelog: remix-run/remix@v1.4.3...v1.5.0
v1.4.3
Compare Source
This release reverts #2875, which cleans build directories before starting a new build. This behavior caused some unintended problems for some folks using external processes. See https://github.com/remix-run/remix/pull/2875#issuecomment-1111515063
v1.4.2
Compare Source
What's Changed
🐛 Bug fixes
<LiveReload />
that prevented it from running without scripts hydration (#2874)tsconfig.json
settings when creating a new project to fix compiler issues (#2786)💅 Enhancements
New Contributors
Full Changelog: remix-run/remix@v1.4.1...v1.4.2-pre.0
v1.4.1
Compare Source
What's Changed
🐛 Bug fixes
LiveReload
(#2783)migrate
script (#2784, #2787, #2790)create-remix
to use the correct path separator for Windows users (#2763)fetchActionRedirect
(#2838)@remix-run/deno
: Fixed a property read error in causing the dev server to crash (#2805)@remix-run/deno
: Removed theplatform
arg increateRequestHandler
(#2818)New Contributors
Full Changelog: remix-run/remix@v1.4.0...v1.4.1
v1.4.0
Compare Source
In this release, we have decided on what we think is a better way to implement or to import our modules in your Remix projects. What exactly does this mean?
Upcoming changes to module imports
Today you can import all Remix modules from the
remix
package, whether they are server side or client side, node.js or cloudflare:Link
is actually coming from@remix-run/react
json
is coming from either@remix-run/node
or@remix-run/cloudflare
We call these "magic imports" because they work with a bit of magic in the
remix setup
script.In this release, we are encouraging you to update your imports to the actual packages that the modules come from with a
migrate
script that will do the work for you:What do I do next?
This release doesn't break your existing code. Your old imports are still supported. Because magic imports will eventually be deprecated, this release includes a
migrate
script to get your code updated beforehand. This script will:To execute the script in your project:
@remix-run/dev
to v1.4.0 (should be in yourdevDependencies
)npx @​remix-run/dev@latest migrate
from your project root and follow the promptsThat's it, you're done!
Background
Because Remix runs in multiple platforms as well as in the browser, we thought it would make development easier to not have to worry about the server environment or browser when importing modules: everything could be imported from
remix
.To make this work, the
remix setup
script copied the exports from@remix-run/react
and@remix-run/{runtime}
(@remix-run/node
,@remix-run/cloudflare
,@remix-run/deno
) tonode_modules/remix
. This way it didn't matter which environment you were deploying to, everything came fromremix
.While this is nice when importing modules, it has a number of problems:
node_modules
differently, and getting things to "just work" has created issues with deploying to those platformsremix setup
manually way more often than we'd likeBecause of this, we'll soon be deprecating the "magic imports". This release does not deprecate them, it simply provides the migration script so you can move off of magic imports sooner than later.
What's Changed
✨ Features
@remix-run/dev
: Introduce themigrate
command to replaceremix
imports with specific@remix-run
modules (#2670)🐛 Bug fixes
create-remix
(#2562)create-remix
when the conflict with local files with the same name (#2733)💅 Enhancements
remix-serve
to prevent crashing on various Node signals (#2528, #1822)getDependenciesToBundle
more resilient to misconfiguredpackages.json
(#2593)New Contributors
Full Changelog: remix-run/remix@v1.3.5...v1.4.0
v1.3.5
Compare Source
What's Changed
🐛 Bug fixes
path
aliases other than~
intsconfig.json
(#2412)LiveReload
during development (#2662)@remix-run/arc
adapter (#1537)request.formData()
in route actions (#2595)@remix-run/arc
,@remix-run/node
and@remix-run/netlify
with multipartformData
(#2495, #2657)💅 Enhancements
serverDependenciesToBundle
(#2558)nonce
prop toLiveReload
andScrollRestoration
components to work with nonce-based CSPs (#2043)@remix-run/cloudflare-workers
adapter for@cloudflare/workers-types
v3 (#2530)@remix-run/cloudflare-pages
(#2513)New Contributors
Full Changelog: remix-run/remix@v1.3.4...v1.3.5
v1.3.4
Compare Source
What's Changed
🐛 Bug fixes
deno
adapter! 🦕 (#2514)@remix-run/server-runtime
will now throw error when a cookie limit is reached (#2155)New Contributors
Full Changelog: remix-run/remix@v1.3.3...v1.3.4
v1.3.3
Compare Source
What's Changed
💅 Enhancements
remix setup
command. This will eventually enable better cross-platform runtime support and work more consistently with package managers like pnpm and Yarn PnP. (#2359, #2434) We'll have more to say about this soon!🐛 Bug fixes
meta
export that were undefined would previous render a meta tag without a value. Empty meta values will no longer render a tag. (#2411)New Contributors
Full Changelog: remix-run/remix@v1.3.2...v1.3.3
v1.3.2
Compare Source
This release fixes a bug in the
create-remix
CLI for Windows users working with the base templates.New Contributors
Full Changelog: remix-run/remix@v1.3.1...v1.3.2
v1.3.1
Compare Source
This release addresses a hot-fix for a bug in the
create-remix
CLI. See release notes for version 1.3.0 for details!v1.3.0
Compare Source
Buckle up folks, we've got a big new feature to talk about. Let's geat ready for...
🥞 New Feature: Remix Stacks
We're excited to announce the official release of Remix Stacks! Stacks allow you to quickly create templates for Remix projects, pre-configured with some of our favorite tools in the ecosystem. You can think of our basic templates as a set of AA batteries, whereas Stacks are lithium ion 🔋⚡️. Even better, you can create your own stack and bootstrap it just as easily!
We think this will help you get started with Remix faster and easier than ever. Start using Stacks with
npx create-remix@latest
and choose "A pre-configured stack ready for production". Read more about stacks in the stacks docs page.🧪 Experimental: Improved Deno support
In v1.2.0 we announced experimental support for build Remix on Deno. While it's still early days, this release builds on those foundations and fixes several issues we found working closely with the Deno core team.
We're excited to chart these wide open waters. Deno still feels new to a lot of us, but that's largely because our tools haven't caught up and we're aiming to change that. Deno has been stable for over a year and has an incredible team behind it. If you're as excited about it as we are, we'd love it if you'd help us kick the tires by bootstrapping your next app with
npx create-remix@latest --template deno-ts
. 🦕TLDR: What Changed?
✨ Features
actionRedirect
type foruseFetcher
(#2188). This represents when the action from anactionSubmission
returns a redirect and the page is transitioning to the new location. It corrects fetcher action redirects to follow the same lifecycle as navigation transitions. Read more about this change and managing complex transitions in Transition Manager Flows.💅 Enhancements
@remix-run/netlify
: Updates theserverBuildPath
to use Netlify's internal functions directory (#2291)🐛 Bug fixes
@remix-run/architect
: Added the missing module exportcreateArcTableSessionStorage
to the coreremix
package (#1970)New Contributors
Full Changelog: remix-run/remix@v1.2.3...v1.3.0
v1.2.3
Compare Source
What's Changed
🐛 Bug fixes
Form
andfetcher.Form
submissions would throw if an input was namedaction
ormethod
(#1854)node:
would send unneccesary warning messages (#1232)<link prefetch />
would only work as expected for routes with a loader (#2096)💅 Enhancements
create-remix
using the new@remix-run/eslint-config
(#2089)remix dev
will now load environment variables from.env
usingdotenv
without additional configuration (#2063)@remix-run/express
when running in watch mode to restart the dev server more quickly (#2094)New Contributors
Full Changelog: remix-run/remix@v1.2.2...v1.2.3
v1.2.2
Compare Source
What Changed?
This release fixes a few pesky bugs, simplifies the default caching strategy in our Express starter, and improves a few error messages. Enjoy!
🐛 Bug fixes
default
from modules that don't expose a default export may have worked before and break after an update. Fixing this will require a small refactor:<ScrollRestoration />
where routes with a hash restored to the hashed element instead of the user's last scroll position. This fix improves the default UX for forward/back navigation. (#1937).client
files to be included in server builds (#2019)window
as a global variable (#2025)💅 Enhancements
New Contributors
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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.