From 9ccfd7f0b0dd6b6d41f3fc0ba9cbf91af58d04e7 Mon Sep 17 00:00:00 2001 From: rmconsole-readonly-wk Date: Thu, 17 Apr 2025 22:27:26 +0000 Subject: [PATCH 1/3] react-dart_7.3.0 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 964b498b..dc7f82ed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: react -version: 7.2.0 +version: 7.3.0 description: Bindings of the ReactJS library for building interactive interfaces. homepage: https://github.com/cleandart/react-dart environment: From 5565b6854599a04d13d759186c45c60e6483e592 Mon Sep 17 00:00:00 2001 From: Greg Littlefield Date: Thu, 17 Apr 2025 15:42:06 -0700 Subject: [PATCH 2/3] Add changelog entry for 7.3.0 --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a133ce0a..f8a8035d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 7.3.0 +- Add new, opt-in React 18 JS files (see [README](https://github.com/Workiva/react-dart#html) for more info) + - The preexisting JS files that use React 17 are now deprecated, and will be removed in the next major version, 8.0.0. +- Raise SDK constraint from `<3.0.0` to `<4.0.0`, run CI on Dart 3 + ## 7.2.0 - Add Dart wrapper for React [lazy](https://react.dev/reference/react/lazy) From fbaef40ac54fb441c52bc1d00bd2bd1f35b83c45 Mon Sep 17 00:00:00 2001 From: Greg Littlefield Date: Thu, 17 Apr 2025 15:46:08 -0700 Subject: [PATCH 3/3] Adjust README verbiage to align with changelog entry --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 43ef9294..271b5390 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,9 @@ In a `.html` file, include the javascript libraries _(provided with this library for compatibility reasons)_ within your `.html` file, and also add an element with an `id` to mount your React component. -This library is in the process of migrating to React 18, but while this is happening it will continue to support both React 17 and React 18. The React 17 js files are deprecated but available to ease migration and will be removed at some point in a future major version. +This package now supports both React 17 and React 18. To opt into React 18, replace usages of this package's JS files with their new, React 18 versions (see table below). + +The React 17 JS files are now deprecated, and will be removed in the next major version of this package, 8.0.0. ##### React 18 | Mode | Library | JS File Name |