Skip to content

Add deprecation to website - #17008

Merged
rickhanlonii merged 2 commits into
mainfrom
rh/deprecation
Feb 14, 2025
Merged

Add deprecation to website#17008
rickhanlonii merged 2 commits into
mainfrom
rh/deprecation

Conversation

@rickhanlonii

@rickhanlonii rickhanlonii commented Jan 28, 2025

Copy link
Copy Markdown
Contributor
  • Adds a banner with deprecation notice
  • Adds a noindex meta tag to home page to remove from search
  • Add og meta info for when noindex is ignored

@julianv97 julianv97 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋

@devrchancay

Copy link
Copy Markdown

👋

@sagarpanda

Copy link
Copy Markdown

👏

@mikansc

mikansc commented Feb 2, 2025

Copy link
Copy Markdown

🫶🏻🎈

@ofmendez

ofmendez commented Feb 3, 2025

Copy link
Copy Markdown

👌🏻👌🏻

@nickserv

nickserv commented Feb 3, 2025

Copy link
Copy Markdown
Contributor

There's no need to spam everyone subscribed to this pull with emoji. Use reactions instead.

@Avila-Pato

Copy link
Copy Markdown

🎉🎉

@DaveLomber

Copy link
Copy Markdown

Let's 🚢 it!

@rickhanlonii
rickhanlonii merged commit b961be3 into main Feb 14, 2025
karlhorky pushed a commit to upleveled/create-react-app that referenced this pull request Mar 20, 2025
- Adds a banner with deprecation notice
- Adds a noindex meta tag to home page to remove from search
- Add og meta info for when noindex is ignored
karlhorky added a commit to upleveled/create-react-app that referenced this pull request Mar 20, 2025
* fix(babel-preset-react-app): add missing dependency (react#12364)

In react#11318 a change was made to `babel-preset-react-app` to require `@babel/plugin-proposal-private-property-in-object`, but no such dependency was added to `package.json`. This fixes that mistake by adding the dependency.

* Migrate from Azure Pipelines to GitHub Actions (react#13222)

Beyond just a pure migration, this also:

- Drops Node 14 usage from CI (which also removes the need for explicit
  npm 8 installs)
- Removes the "old node" test, which just checked that installing on old
  node failed. We shouldn't need to test that
- Consolidates the build & test workflows so we don't end up with
  a proliferation of workflows.

* Update running-tests.md

Update running-tests

* chore: upgrade RTL version to avoid peer-deps mismatch

* Update types from react#13725

Co-authored-by: Rajhans Jadhao <rajhans.jadhao@gmail.com>

* Fix tests

* Fix e2e tests

* Add act

* try this instead

* update react-scripts react devDep

* idk

* Update tests

* skip svg component test

* Deprecate Create React App officially by changing the README, and adding a message on init (react#17003)

It's probably time to make this project document its status as being
deprecated and not recommended for production usage.

To change it:

- I opted to add a header to the README saying its over and you should
go look at https://react.dev/learn/start-a-new-react-project

- I left a note saying that if you are following, it is maybe worth
carrying on. While I hear react 19 doesn't work with CRA, I wouldn't be
surprised that a good chunk of tutorials would still work. Open to being
a bit more hard-lined there but there was a lot of great resources for
learning react in that era and it seems like a waste to be making people
stop early?

- I added a message inside the CLI, it shows once and says "don't use
this, use the stuff in
https://react.dev/learn/start-a-new-react-project"

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>

* Update deprecation link (react#17015)

Updates to a shortlink that we can redirect as needed for old versions.
Currently 404

* Add deprecation to website (react#17008)

- Adds a banner with deprecation notice
- Adds a noindex meta tag to home page to remove from search
- Add og meta info for when noindex is ignored

* Publish

 - babel-plugin-named-asset-import@0.4.0
 - babel-preset-react-app@10.1.0
 - cra-template-typescript@1.3.0
 - cra-template@1.3.0
 - create-react-app@5.1.0
 - eslint-config-react-app@7.1.0
 - react-dev-utils@12.1.0
 - react-error-overlay@6.1.0
 - react-scripts@5.1.0

* Migrate from Azure Pipelines to GitHub Actions (react#13222)

Beyond just a pure migration, this also:

- Drops Node 14 usage from CI (which also removes the need for explicit
  npm 8 installs)
- Removes the "old node" test, which just checked that installing on old
  node failed. We shouldn't need to test that
- Consolidates the build & test workflows so we don't end up with
  a proliferation of workflows.

* Update running-tests.md

Update running-tests

* chore: upgrade RTL version to avoid peer-deps mismatch

* Update types from react#13725

Co-authored-by: Rajhans Jadhao <rajhans.jadhao@gmail.com>

* Fix tests

* Fix e2e tests

* Add act

* try this instead

* update react-scripts react devDep

* idk

* Update tests

* skip svg component test

* Deprecate Create React App officially by changing the README, and adding a message on init (react#17003)

It's probably time to make this project document its status as being
deprecated and not recommended for production usage.

To change it:

- I opted to add a header to the README saying its over and you should
go look at https://react.dev/learn/start-a-new-react-project

- I left a note saying that if you are following, it is maybe worth
carrying on. While I hear react 19 doesn't work with CRA, I wouldn't be
surprised that a good chunk of tutorials would still work. Open to being
a bit more hard-lined there but there was a lot of great resources for
learning react in that era and it seems like a waste to be making people
stop early?

- I added a message inside the CLI, it shows once and says "don't use
this, use the stuff in
https://react.dev/learn/start-a-new-react-project"

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>

* Update deprecation link (react#17015)

Updates to a shortlink that we can redirect as needed for old versions.
Currently 404

* Add deprecation to website (react#17008)

- Adds a banner with deprecation notice
- Adds a noindex meta tag to home page to remove from search
- Add og meta info for when noindex is ignored

* Publish

 - babel-plugin-named-asset-import@0.4.0
 - babel-preset-react-app@10.1.0
 - cra-template-typescript@1.3.0
 - cra-template@1.3.0
 - create-react-app@5.1.0
 - eslint-config-react-app@7.1.0
 - react-dev-utils@12.1.0
 - react-error-overlay@6.1.0
 - react-scripts@5.1.0

* Disable deprecation warning and version check

* Bump version

* Disable deleting folder after error

* Fix babel-plugin-named-asset-import version number

* Bump @upleveled/create-react-app to 5.1.2

* Bump version of @upleveled/react-scripts to 5.1.1

* Add back call to createApp()

* Bump version of @upleveled/create-react-app to 5.1.3

* Revert to published versions of react-scripts dependencies

* Bump version of @upleveled/react-scripts to 5.1.2

* Allow pnpm to build @parcel/watcher, ignore core-js builds

* Bump version of @upleveled/cra-template to 1.3.1

* Remove pnpm config from package.json, bump to @upleveled/cra-template@1.3.2

* Add pnpm built packages configuration in `package.json`

* Bump @upleveled/create-react-app to 5.1.4

---------

Co-authored-by: Brian Donovan <1938+eventualbuddha@users.noreply.github.com>
Co-authored-by: Paul O’Shannessy <paul@oshannessy.com>
Co-authored-by: Olexandr Radovenchyk <radole1203@gmail.com>
Co-authored-by: Edgardo Avilés-López <edgardo@meta.com>
Co-authored-by: Matan Borenkraout <matanbobi@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
Co-authored-by: Rajhans Jadhao <rajhans.jadhao@gmail.com>
Co-authored-by: Ricky <rickhanlonii@gmail.com>
Co-authored-by: Orta Therox <git@orta.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment