Skip to content

Commit 528b163

Browse files
committed
release: 2.8.1
1 parent 438badd commit 528b163

16 files changed

Lines changed: 58 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## v2.8.1 (2026-01-29)
2+
3+
### ✨ New
4+
5+
- Function component detection now supports identifying components that don't return a `ReactNode` but have a `'use memo'` or `'use no memo'` directive.
6+
The function in below example will be detected as a function component in relevant rules:
7+
```tsx
8+
function App() {
9+
"use memo";
10+
}
11+
12+
function App() {
13+
"use no memo";
14+
}
15+
```
16+
17+
### 🐞 Fixes
18+
19+
- Skip unstable value checks when `'use memo';` is present by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1441
20+
21+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v2.8.0...v2.8.1
22+
123
## v2.8.0 (2026-01-29)
224

325
### ✨ New

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.1-next.4
1+
2.8.1

apps/website/content/docs/changelog.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
title: Changelog
33
---
44

5+
## v2.8.1 (2026-01-29)
6+
7+
### ✨ New
8+
9+
- Function component detection now supports identifying components that don't return a `ReactNode` but have a `'use memo'` or `'use no memo'` directive.
10+
The function in below example will be detected as a function component in relevant rules:
11+
```tsx
12+
function App() {
13+
"use memo";
14+
}
15+
16+
function App() {
17+
"use no memo";
18+
}
19+
```
20+
21+
### 🐞 Fixes
22+
23+
- Skip unstable value checks when `'use memo';` is present by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1441
24+
25+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v2.8.0...v2.8.1
26+
527
## v2.8.0 (2026-01-29)
628

729
### ✨ New

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/monorepo",
3-
"version": "2.8.1-next.4",
3+
"version": "2.8.1",
44
"private": true,
55
"description": "Monorepo for eslint-plugin-react-[x, dom, web-api, hooks-extra, naming-convention].",
66
"keywords": [

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/core",
3-
"version": "2.8.1-next.4",
3+
"version": "2.8.1",
44
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
55
"homepage": "https://github.com/Rel1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-debug",
3-
"version": "2.8.1-next.4",
3+
"version": "2.8.1",
44
"description": "ESLint React's ESLint plugin for debugging related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-dom",
3-
"version": "2.8.1-next.4",
3+
"version": "2.8.1",
44
"description": "ESLint React's ESLint plugin for React DOM related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-hooks-extra/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-hooks-extra",
3-
"version": "2.8.1-next.4",
3+
"version": "2.8.1",
44
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-naming-convention/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-naming-convention",
3-
"version": "2.8.1-next.4",
3+
"version": "2.8.1",
44
"description": "ESLint React's ESLint plugin for naming convention related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-web-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-web-api",
3-
"version": "2.8.1-next.4",
3+
"version": "2.8.1",
44
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)