Skip to content

Commit ad74a8d

Browse files
authored
docs: add deprecation steps for EOL package versions (#21248)
1 parent 3c3ae53 commit ad74a8d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎docs/src/maintain/manage-releases.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,16 @@ In this phase, we should also prepare infrastructure for v9.x maintenance:
161161
- In the `eslint/eslint.org` repository, submit a PR to update the Current Release Lines table in `src/content/pages/version-support.md`: update v9.x Release Line column with concrete versions (e.g., v9.0.0-v9.39.2), update status to EOL, set Last Release date to the date of last released v9.x version, and update Commercial Support to HeroDevs. The PR should be reviewed and approved in time, but merged when the EOL date starts.
162162
- In the `eslint/eslint.org` repository, submit a PR to update the text in `src/_includes/partials/deprecation-notice.html` to "ESLint v9.x reached end-of-life on (insert date here) and is no longer maintained. Upgrade or consider long-term support options". The PR should be reviewed and approved in time, but merged when the EOL date starts.
163163
- In the `eslint/eslint` repository, submit a PR to update the text in `docs/src/_includes/partials/deprecation-notice.html` to "ESLint v9.x reached end-of-life on (insert date here) and is no longer maintained. Upgrade or consider long-term support options". The PR should target the `v9.x` branch (there is no need to also update the `v9.x-dev` branch since we will no longer be using it). The PR should be reviewed and approved in time, but merged when the EOL date starts.
164+
- Deprecate npm package versions associated with EOL releases. Log in to npm as the `eslintbot` user and run:
165+
> ```shell
166+
> npm deprecate "eslint@<10" "This version is no longer supported. Please see https://eslint.org/version-support for other options."
167+
> ```
168+
- Share a social media post announcing that v9.x has reached EOL, for example:
169+
> ```text
170+
> The ESLint v9.x line reached end of life on [insert date]. The packages are now deprecated and we encourage everyone to upgrade to v10.x.
171+
>
172+
> https://eslint.org/version-support/
173+
> ```
164174
165175
#### Nine Months after the Final Release
166176

0 commit comments

Comments
 (0)