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

[C3] Bump create-remix from 1.19.3 to 2.0.0 in /packages/create-cloudflare/src/frameworks #3972

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 18, 2023

Bumps create-remix from 1.19.3 to 2.0.0.

Release notes

Sourced from create-remix's releases.

v2.0.0

Remix v2

We're so excited to release Remix v2 to you and we really hope this upgrade is one of the smoothest framework upgrades you've ever experienced! That was our primary goal with v2 - something we aimed to achieve through a heavy use of deprecation warnings and Future Flags in Remix v1.

If you are on the latest 1.x version and you've enabled all future flags and addressed all console warnings, then our hope is that you are 90% of the way to being upgraded for v2. There are always going to be a few things that we can't put behind a flag (like breaking type changes) or come up at the very last moment and don't have time to add as a warning or flag in 1.x.

If you're not yet on the latest 1.x version we'd recommend first upgrading to that and resolving any flag/console warnings:

> npx upgrade-remix 1.19.3

Breaking Changes

Below is a very concise list of the breaking changes in v2.

  • For the most thorough discussion of breaking changes, please read the Upgrading to v2 guide. This document provides a comprehensive walkthrough of the breaking changes that come along with v2 - and instructions on how to adapt your application to handle them
  • For additional details, you can refer to the Changes by Package section below

Upgraded Dependency Requirements

Remix v2 has upgraded it's minimum version support for React and Node and now officially requires:

Removed Future Flags

The following future flags were removed and their behavior is now the default - you can remove all of these from your remix.config.js file.

  • v2_dev - New dev server with HMR+HDR (#7002)
    • If you had configurations in future.v2_dev instead of just the boolean value (i.e., future.v2_dev.port), you can lift them into a root dev object in your remix.config.js
  • v2_errorBoundary - Removed CatchBoundary in favor of a singular ErrorBoundary (#6906)
  • v2_headers - Altered the logic for headers in nested route scenarios (#6979)
  • v2_meta - Altered the return format of meta() (#6958)
  • v2_normalizeFormMethod - Normalize formMethod APIs to uppercase (#6875)
  • v2_routeConvention - Routes use a flat route convention by default now (#6969)

Breaking Changes/API Removals

With deprecation warnings

The following lists other breaking changes/API removals which had deprecation warnings in Remix v1. If you're on the latest 1.19.3 release without any console warnings, then you're probably good to go on all of these!

... (truncated)

Changelog

Sourced from create-remix's changelog.

2.0.0

Major Changes

  • The create-remix CLI has been rewritten to feature a cleaner interface, Git repo initialization and optional remix.init script execution. The interactive template prompt and official Remix stack/template shorthands have also been removed so that community/third-party templates are now on a more equal footing. (#6887)
    • The code for create-remix has been moved out of the Remix CLI since it's not intended for use within an existing Remix application. This means that the remix create command is no longer available.
  • Stop passing isTypeScript to remix.init script (#7099)
  • Require Node >=18.0.0 (#6939)

Minor Changes

  • Remove empty directory checking in favor of overwrite prompt/flag (#7062)
    • create-remix now allows you to write into an existing non-empty directory. It will perform a file-level comparison and if the template will overwrite any existing files in the destination directory, it will prompt you if it's OK to overwrite those files. If you answer no (the default) then it will exit without copying any files. You may skip this prompt with the --overwrite CLI flag.
  • Support bun package manager (#7074)

Patch Changes

  • Allow dots in github repo shorthand notation folder names (i.e., npx create-remix --template remix-run/examples/socket.io) (#7277)
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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot requested review from a team as code owners September 18, 2023 20:25
@dependabot dependabot bot added c3 Relating to C3 (create-cloudflare) package dependency Relating to dependency updates labels Sep 18, 2023
@changeset-bot
Copy link

changeset-bot bot commented Sep 18, 2023

⚠️ No Changeset found

Latest commit: fa2c84c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Sep 18, 2023

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6228686263/npm-package-wrangler-3972

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6228686263/npm-package-wrangler-3972

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6228686263/npm-package-wrangler-3972 dev path/to/script.js
Additional artifacts:
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6228686263/npm-package-cloudflare-pages-shared-3972

Note that these links will no longer work once the GitHub Actions artifact expires.


[email protected] includes the following runtime dependencies:

Package Constraint Resolved
miniflare 3.20230904.0 3.20230904.0
workerd 1.20230904.0 1.20230904.0
workerd --version 1.20230904.0 2023-09-04

|

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Merging #3972 (fa2c84c) into main (34f7f4d) will increase coverage by 0.04%.
The diff coverage is n/a.

❗ Current head fa2c84c differs from pull request most recent head dab73c1. Consider uploading reports for the commit dab73c1 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3972      +/-   ##
==========================================
+ Coverage   75.08%   75.13%   +0.04%     
==========================================
  Files         195      195              
  Lines       11533    11533              
  Branches     3054     3054              
==========================================
+ Hits         8660     8665       +5     
+ Misses       2873     2868       -5     

see 3 files with indirect coverage changes

@dario-piotrowicz
Copy link
Member

@dependabot recreate

Bumps [create-remix](https://github.com/remix-run/remix/tree/HEAD/packages/create-remix) from 1.19.3 to 2.0.0.
- [Release notes](https://github.com/remix-run/remix/releases)
- [Changelog](https://github.com/remix-run/remix/blob/main/packages/create-remix/CHANGELOG.md)
- [Commits](https://github.com/remix-run/remix/commits/[email protected]/packages/create-remix)

---
updated-dependencies:
- dependency-name: create-remix
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/packages/create-cloudflare/src/frameworks/create-remix-2.0.0 branch from 2f7b016 to fa2c84c Compare September 18, 2023 22:17
@dario-piotrowicz dario-piotrowicz merged commit dac6950 into main Sep 19, 2023
21 of 23 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dependabot/npm_and_yarn/packages/create-cloudflare/src/frameworks/create-remix-2.0.0 branch September 19, 2023 20:54
@github-actions github-actions bot mentioned this pull request Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c3 Relating to C3 (create-cloudflare) package dependency Relating to dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant