Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps @remix-run/cloudflare from 1.11.1 to 1.14.0.

Release notes

Sourced from @​remix-run/cloudflare'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/cloudflare's changelog.

1.14.0

Patch Changes

  • Updated dependencies:
    • @remix-run/server-runtime@1.14.0

1.13.0

Patch Changes

  • Updated dependencies:
    • @remix-run/server-runtime@1.13.0

1.12.0

Minor Changes

  • Deprectated createCloudflareKVSessionStorage in favor of createWorkersKVSessionStorage (#2542)

Patch Changes

  • Updated RequestHandler type to match other adapter types (#4884)
  • Updated dependencies:
    • @remix-run/server-runtime@1.12.0
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)

Bumps [@remix-run/cloudflare](https://github.com/remix-run/remix/tree/HEAD/packages/remix-cloudflare) from 1.11.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-cloudflare/CHANGELOG.md)
- [Commits](https://github.com/remix-run/remix/commits/@remix-run/cloudflare@1.14.0/packages/remix-cloudflare)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 2, 2023
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 17c7b73
Status: ✅  Deploy successful!
Preview URL: https://441fd237.message-manager-site.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-remi-774f.message-manager-site.pages.dev

View logs

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

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant