Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @remix-run/dev from 1.7.1 to 1.14.0 #382

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2023

Bumps @remix-run/dev from 1.7.1 to 1.14.0.

Release notes

Sourced from @​remix-run/dev's releases.

v1.14.0

New Development Server with HMR 🔥

You asked for it, and now we're stoked to deliver. We've got a brand new dev server that we think will dramatically improve the experience of running your Remix apps in development.

The new dev environment includes long-anticipated Hot Module Replacement (HMR) via React Refresh, as well as something we're calling Hot Data Revalidation (HDR)

HMR allows you to make changes to your UI or style code and see them reflected in your browser without having to refresh the page. This is different from our existing <LiveReload> component, as HMR will not reset client-side state between updates. This is particularly useful for highly-interactive apps where resetting state is disruptive and slows down the development process.

Now for HDR. Think of it as HMR for data loaders. With HDR you can make changes to your server code and see those updates reflected in your UI immediately without resetting client-side state, just like HMR.

This is an early release available under the unstable_dev future flag, but we're excited to get it into your hands, gather feedback and provide a first-class developer experience for apps at any scale. As of now, there are some known limitations to be aware of:

  • We don't yet expose an API for import.meta.hot
  • All route loaders are invalidated when changes are detected on the server
  • Loader changes do not account for changes in imported dependencies
  • It's doesn't work automatically with the Remix App Server, you'll want to bring in @remix-run/express for your server. This will not be a limitation when the unstable flag is removed.

Other notable changes

  • entry.server and entry.client files are now optional. If excluded, Remix will generate each entryfile with reasonable defaults at build-time.
  • For users using the v2_routeConvention flag, route conflicts will no longer throw errors. Instead, you'll see a helpful warning that points to the conflict, and the first match we find will be used.
    ⚠️ Route Path Collision: "/dashboard"
    The following routes all define the same URL, only the first one will be used
    🟢️️ routes/dashboard/route.tsx
    ⭕️️ routes/dashboard.tsx
    
    ⚠️ Route Path Collision: "/"
    The following routes all define the same URL, only the first one will be used
    🟢️️ routes/_landing._index.tsx
    ⭕️️ routes/_dashboard._index.tsx
    ⭕️ routes/_index.tsx
    

Miscellaneous

v1.13.0

This Valentine's Day, get that special someone in your life what they really want: more styling options—out of the box—in Remix 🥰

... (truncated)

Changelog

Sourced from @​remix-run/dev's changelog.

1.14.0

Minor Changes

  • Hot Module Replacement and Hot Data Revalidation (#5259)
    • Requires unstable_dev future flag to be enabled
    • HMR provided through React Refresh
    • Features:
      • HMR for component and style changes
      • HDR when loaders for current route change
    • Known limitations for MVP:
      • Only implemented for React via React Refresh
      • No import.meta.hot API exposed yet
      • Revalidates all loaders on route when loader changes are detected
      • Loader changes do not account for imported dependencies changing
  • Make entry.client and entry.server files optional (#4600)
    • we'll use a bundled version of each unless you provide your own

Patch Changes

  • Fixes flat route inconsistencies where route.{ext} wasn't always being treated like index.{ext} when used in a folder (#5459)

    • Route conflict no longer throw errors and instead display a helpful warning that we're using the first one we found.

      ⚠️ Route Path Collision: "/dashboard"
      

      The following routes all define the same URL, only the first one will be used

      🟢️️ routes/dashboard/route.tsx ⭕️️ routes/dashboard.tsx

      ⚠️ Route Path Collision: "/"
      

      The following routes all define the same URL, only the first one will be used

      🟢️️ routes/_landing._index.tsx
      ⭕️️ routes/_dashboard._index.tsx
      ⭕️ routes/_index.tsx

  • Log errors thrown during initial build in development. (#5441)

  • Sync FutureConfig interface between packages (#5398)

  • Add file loader for importing .csv files (#3920)

  • Updated dependencies:

    • @remix-run/server-runtime@1.14.0

1.13.0

... (truncated)

Commits
  • 73fc576 chore: Update version for release (#5605)
  • 23e2773 chore: Update version for release (pre) (#5596)
  • f3e0e75 chore(remix-dev): remove broken param collision check (#5560)
  • 1c276b3 chore: Update version for release (pre) (#5553)
  • f003827 chore: Update version for release (pre) (#5552)
  • 42a0817 feat(dev): HMR + Hot Data Revalidation (#5259)
  • 99aec15 fix(remix-dev): normalize /route routeId, update route collision warnings (...
  • 038d731 chore(remix-dev): remove duplicate console.log (#5491)
  • cc7b45f test(reveal): prevent jest from leaking logs (#5487)
  • 385b3c4 fix(remix-dev/compiler): fix typo in serverBareModulesPlugin message (#5482)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@remix-run/dev](https://github.com/remix-run/remix/tree/HEAD/packages/remix-dev) from 1.7.1 to 1.14.0.
- [Release notes](https://github.com/remix-run/remix/releases)
- [Changelog](https://github.com/remix-run/remix/blob/main/packages/remix-dev/CHANGELOG.md)
- [Commits](https://github.com/remix-run/remix/commits/@remix-run/dev@1.14.0/packages/remix-dev)

---
updated-dependencies:
- dependency-name: "@remix-run/dev"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@codesandbox
Copy link

codesandbox bot commented Mar 2, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@vercel
Copy link

vercel bot commented Mar 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
linjen ❌ Failed (Inspect) Mar 2, 2023 at 9:21AM (UTC)

@gitpod-io
Copy link

gitpod-io bot commented Mar 2, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants