Skip to content

Commit 203ff56

Browse files
committed
Add support for React v19
1 parent e0e73b7 commit 203ff56

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.2.0] - 2025-01-03
11+
12+
### Added
13+
14+
- Compatibility with React v19.
15+
1016
## [2.1.0] - 2024-07-12
1117

1218
### Added
@@ -195,8 +201,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
195201

196202
- `ReCaptcha`: React component to render a Google reCAPTCHA v2 widget.
197203

198-
[unreleased]: https://github.com/matei-radu/react-recaptcha-v2/compare/v2.1.0...HEAD
199-
[2.0.1]: https://github.com/matei-radu/react-recaptcha-v2/compare/v2.0.1...v2.1.0
204+
[unreleased]: https://github.com/matei-radu/react-recaptcha-v2/compare/v2.2.0...HEAD
205+
[2.2.0]: https://github.com/matei-radu/react-recaptcha-v2/compare/v2.1.0...v2.2.0
206+
[2.1.0]: https://github.com/matei-radu/react-recaptcha-v2/compare/v2.0.1...v2.1.0
200207
[2.0.1]: https://github.com/matei-radu/react-recaptcha-v2/compare/v2.0.0...v2.0.1
201208
[2.0.0]: https://github.com/matei-radu/react-recaptcha-v2/compare/v1.0.10...v2.0.0
202209
[1.0.10]: https://github.com/matei-radu/react-recaptcha-v2/compare/v1.0.9...v1.0.10

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ will be removed, leaving a clean document:
2828

2929
## Compatibility
3030

31-
⚠️**This library will stop being supported on December 31st 2024.**
31+
⚠️**This library will stop being supported on January 31st 2025.**
3232

3333
| React | Library | Status | End-of-Life |
3434
| :---------------: | :---------------------------------------: | :-------------: | :---------: |
35-
| `16.8.0 - 18` | [![npm (scoped)][npm_shield]][npm] | **Maintenance** | 2024-12-31 |
35+
| `16.8.0 - 19` | [![npm (scoped)][npm_shield]][npm] | **Maintenance** | 2025-01-31 |
3636
| `16.0.0 - 16.7.x` | [![npm v1 (scoped)][npm_1_shield]][npm_1] | **EOL** | 2023-06-01 |
3737

3838
### Migrating from 1.x to 2.x

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@matt-block/react-recaptcha-v2",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "Google reCAPTCHA v2 React component that does not pollute the DOM",
55
"main": "lib/index.esm.js",
66
"types": "lib/index.d.ts",
@@ -47,6 +47,6 @@
4747
"typescript": "^4.9.5"
4848
},
4949
"peerDependencies": {
50-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
50+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
5151
}
5252
}

0 commit comments

Comments
 (0)