pietvanzoen / gifable

Self hostable gif and meme library manager.
https://www.gifable.club
GNU Affero General Public License v3.0
19 stars 0 forks source link

Bump @remix-run/react from 1.15.0 to 1.16.1 #55

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @remix-run/react from 1.15.0 to 1.16.1.

Release notes

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

v1.16.1

Continuing the work to stabilize features for v2, this release brings improvements to unstable_dev as well as a bunch of bug fixes.

Dev server power-ups πŸ¦ΎπŸ€–

We've made two huge improvements to πŸ”₯ Hot Data Revalidation πŸ”₯ in 1.16.1! For anyone who needs a refresher on HDR, its like HMR but for your server code. In Remix, that primarily means tracking loader changes.

In 1.16.0, Remix would trigger HDR even if only UI code had changed. Now in 1.16.1, Remix only triggers HDR when loaders have changed. (#6278)

Also, in 1.16.1, Remix now detects code changes that affect your loader anywhere in your app code. You can modify the loader itself, or a function that the loader calls, or hardcoded data. Remix now only triggers HDR to fetch new data from routes with loader changes. For example, if you changed your /products/$id loader, but not your /products loader, Remix only refetches data for /products/$id. (#6299)

If you want to dive deeper into how it works and get a mental model for the new dev server with HDR, check out πŸŽ₯ [Pedro's talk at Remix Conf][legendary-dx].

Dev server bug fixes

Thank you to everyone who's tried unstable_dev ❀️ . You've given us invaluable feedback that let us identify and fix the following bugs:

  • CSS-only changes now correctly trigger HMR (#6374)
  • Fixed a regression that caused the old dev server to hang on rebuilds (#6295)
  • Rebuilds no longer hang indefinitely for unstable_dev (#6294, #6295)
  • Fixed No loader for {.svg,.png, etc...} during HDR (#6396)
  • App server port no longer conflicts during rebuilds (#6289)
  • Windows: -c/--command option now has access to node_modules/.bin binaries (#6310)
  • Windows: App server process in no longer orphaned when dev server exits (#6395)
  • Windows: Changes in route files are now detected correctly for HMR/HDR (#6293)

Other notable changes

  • css: handle css imports in js files with jsx (#6309)
  • css: only process .css.{js,ts} if @vanilla-extract/css is installed (#6345)
  • lint: do not require display name in root route (#5450)
  • types: Typesafe destructuring of SessionStorage (#6330)
  • types: V2_MetaFunction can be undefined (#6231)
  • Remix commands no longer modify tsconfig (#6156)
  • re-export useMatch from react-router-dom (#5257)
  • Updated React Router dependencies to the latest versions:

Changes by Package πŸ”—

... (truncated)

Changelog

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

1.16.1

Patch Changes

  • Cross-module loader change detection for HDR (#6299)
  • Better opt-out of loader revalidation on UI only changes (#6278)
  • Add useMatch re-export from react-router-dom (#5257)
  • Fix data parameter typing on V2_MetaFunction to include undefined for scenarios in which the loader threw to it's own boundary. (#6231)
  • Updated dependencies:

1.16.0

Minor Changes

  • Enable support for CSS Modules, Vanilla Extract and CSS side-effect imports (#6046)

    These CSS bundling features were previously only available via future.unstable_cssModules, future.unstable_vanillaExtract and future.unstable_cssSideEffectImports options in remix.config.js, but they have now been stabilized.

    In order to use these features, check out our guide to CSS bundling in your project.

  • Stabilize built-in PostCSS support via the new postcss option in remix.config.js. As a result, the future.unstable_postcss option has also been deprecated. (#5960)

    The postcss option is false by default, but when set to true will enable processing of all CSS files using PostCSS if postcss.config.js is present.

    If you followed the original PostCSS setup guide for Remix, you may have a folder structure that looks like this, separating your source files from its processed output:

    .
    β”œβ”€β”€ app
    β”‚   └── styles (processed files)
    β”‚       β”œβ”€β”€ app.css
    β”‚       └── routes
    β”‚           └── index.css
    └── styles (source files)
        β”œβ”€β”€ app.css
        └── routes
            └── index.css
    

    After you've enabled the new postcss option, you can delete the processed files from app/styles folder and move your source files from styles to app/styles:

    .
    β”œβ”€β”€ app
    β”‚   └── styles (source files)
    β”‚       β”œβ”€β”€ app.css
    β”‚       └── routes
    β”‚           └── index.css
    

    You should then remove app/styles from your .gitignore file since it now contains source files rather than processed output.

... (truncated)

Commits


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)
dependabot[bot] commented 1 year ago

Looks like @remix-run/react is up-to-date now, so this is no longer needed.