Skip to content

Commit ce56de9

Browse files
Merge pull request #374 from Workiva/more-v7-deprecations
RM-215032 Release react-dart 6.3.0
2 parents 5bfdb8f + e3b960c commit ce56de9

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
#### Potential behavior breakages
4141
- Component and Component2 members `props`/`state`/`jsThis` are late, will now throw instead of being null if accessed before initialized (e.g., in a constructor, final class field, or static lifecycle method).
4242

43+
## [6.3.0](https://github.com/Workiva/react-dart/compare/6.2.1...6.3.0)
44+
- [#372], [#374] Add and update deprecations in preparation for 7.0.0 release, add WIP changelog
45+
- [#372] Add APIs in preparation for null safety:
46+
- `htmlMain` - replacement for deprecated `react.main`, to be removed in 7.0.0
47+
- `useRefInit` - `useRef` can't be used to create non-nullable-typed refs, but `useRefInit` can
48+
4349
## [6.2.1](https://github.com/Workiva/react-dart/compare/6.2.0...6.2.1)
4450
- [#366] Fix lints and eliminate most implicit casts
4551

Diff for: lib/react_client/react_interop.dart

+3
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ class ReactClassConfig {
486486
/// Interop class for the data structure at `ReactElement._store`.
487487
///
488488
/// Used to validate variadic children before they get to [React.createElement].
489+
@Deprecated('For internal use only. Will be made private in 7.0.0.')
489490
@JS()
490491
@anonymous
491492
class ReactElementStore {
@@ -681,6 +682,7 @@ class ReactDartContextInternal {
681682
}
682683

683684
/// Creates a new JS Error object with the provided message.
685+
@Deprecated('For internal use only. Will be made private in 7.0.0.')
684686
@JS('Error')
685687
class JsError {
686688
external JsError(message);
@@ -706,6 +708,7 @@ external void throwErrorFromJS(error);
706708
/// as a variadic child.
707709
///
708710
/// Offloaded to the JS to avoid dart2js interceptor lookup.
711+
@Deprecated('For internal use only. Will be made private in 7.0.0.')
709712
@JS('_markChildValidated')
710713
external void markChildValidated(child);
711714

Diff for: pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: react
2-
version: 6.2.1
2+
version: 6.3.0
33
description: Bindings of the ReactJS library for building interactive interfaces.
44
homepage: https://github.com/cleandart/react-dart
55
environment:

0 commit comments

Comments
 (0)