Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RM-215032 Release react-dart 6.3.0 #374

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
#### Potential behavior breakages
- 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).

## [6.3.0](https://github.com/Workiva/react-dart/compare/6.2.1...6.3.0)
- [#372], [#374] Add and update deprecations in preparation for 7.0.0 release, add WIP changelog
- [#372] Add APIs in preparation for null safety:
- `htmlMain` - replacement for deprecated `react.main`, to be removed in 7.0.0
- `useRefInit` - `useRef` can't be used to create non-nullable-typed refs, but `useRefInit` can

## [6.2.1](https://github.com/Workiva/react-dart/compare/6.2.0...6.2.1)
- [#366] Fix lints and eliminate most implicit casts

Expand Down
3 changes: 3 additions & 0 deletions lib/react_client/react_interop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ class ReactClassConfig {
/// Interop class for the data structure at `ReactElement._store`.
///
/// Used to validate variadic children before they get to [React.createElement].
@Deprecated('For internal use only. Will be made private in 7.0.0.')
@JS()
@anonymous
class ReactElementStore {
Expand Down Expand Up @@ -681,6 +682,7 @@ class ReactDartContextInternal {
}

/// Creates a new JS Error object with the provided message.
@Deprecated('For internal use only. Will be made private in 7.0.0.')
@JS('Error')
class JsError {
external JsError(message);
Expand All @@ -706,6 +708,7 @@ external void throwErrorFromJS(error);
/// as a variadic child.
///
/// Offloaded to the JS to avoid dart2js interceptor lookup.
@Deprecated('For internal use only. Will be made private in 7.0.0.')
@JS('_markChildValidated')
external void markChildValidated(child);

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: react
version: 6.2.1
version: 6.3.0
description: Bindings of the ReactJS library for building interactive interfaces.
homepage: https://github.com/cleandart/react-dart
environment:
Expand Down
Loading