v1.7.3
What Changed
Patch Changes
-
<Form />
now respects theformMethod
attribute set on the submitter element (#4053)<Form> <button type="submit">GET request</button> <button type="submit" formMethod="post"> POST request </button> </Form>
-
Assets referenced in CSS files are now hashed and copied to the
assetsBuildDirectory
(#4130).Before this change, a CSS declaration like
background: url('./relative-path/image.png')
that references the file./relative-path/image.png
will not copy that file to the build directory. This can be a problem if you use a custom build directory, or when dealing with third-party stylesheets innode_modules
that reference their own relative files. -
We updated the
@remix-run/web-fetch
dependency for@remix-run/node
(#4277). This fixes issues with{Request | Response}.clone()
throwing when body isnull
. This update also adds additional Node.js-specific types tofetch()
to support the use ofagent
fromhttp
andhttps
. -
Added support for setting
moduleResolution
tonode
,node16
ornodenext
intsconfig.json
(#4034) -
Added resources imported only by resource routes to
assetsBuildDirectory
(#3841)
Changes by package
New Contributors
- @markdalgleish made their first contribution in #4173
- @wtlin1228 made their first contribution in #4224
- @ryanjames1729 made their first contribution in #4241
- @runofthemill made their first contribution in #4268
- @kamtugeza made their first contribution in #4041
- @freeman made their first contribution in #4159
- @johnmberger made their first contribution in #4329
- @kevlened made their first contribution in #4053
- @KingSora made their first contribution in #4130
Full Changelog: v1.7.2...v1.7.3