github remix-run/remix remix@1.7.3
v1.7.3

latest releases: remix@2.14.0-pre.0, create-remix@2.14.0-pre.0, @remix-run/testing@2.14.0-pre.0...
2 years ago

What Changed

Patch Changes

  • <Form /> now respects the formMethod 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 in node_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 is null. This update also adds additional Node.js-specific types to fetch() to support the use of agent from http and https.

  • Added support for setting moduleResolution to node, node16 or nodenext in tsconfig.json (#4034)

  • Added resources imported only by resource routes to assetsBuildDirectory (#3841)

Changes by package

New Contributors


Full Changelog: v1.7.2...v1.7.3

Don't miss a new remix release

NewReleases is sending notifications on new releases.