v1.7.3
What Changed
Patch Changes
-
<Form />now respects theformMethodattribute 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.pngwill 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_modulesthat reference their own relative files. -
We updated the
@remix-run/web-fetchdependency 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 ofagentfromhttpandhttps. -
Added support for setting
moduleResolutiontonode,node16ornodenextintsconfig.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