Skip to content

Commit bf66f31

Browse files
committed
add 6.2.0 entry to CHANGELOG
1 parent ac73c14 commit bf66f31

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

CHANGELOG.md

+23-16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [6.2.0](https://github.com/cleandart/react-dart/compare/6.1.8...6.2.0)
2+
* Patch changes:
3+
* [#357] Export Suspense component
4+
* [#354] Raise analyzer minimum & unpin meta
5+
* [#355] Pin mockito 5
6+
* [#356] Unpin mockito, fix CI
7+
18
## [6.1.8](https://github.com/cleandart/react-dart/compare/6.1.7...6.1.8)
29
- [#350] Return `jsUndefined` instead of `null` when children prop is empty
310

@@ -57,16 +64,16 @@ The underlying `.js` files provided by this package are now ReactJS version `17.
5764
5865
## [5.7.1](https://github.com/cleandart/react-dart/compare/5.7.0...5.7.1)
5966

60-
- [#289] Update most deprecations that were slated for removal in v6.0.0 to be slated for removal in v7.0.0 instead. To keep the migration to v6.0.0 as easy as possible, only APIs that are known to be completely unused will be removed in v6.0.0. Therefore, most APIs that were marked for removal in v6.0.0 will remain until the v7.0.0 release. This PR updated deprecation annotations to reflect this.
61-
- [#287] Deprecate `SyntheticEvent.isFormEvent`. Because form events do not exist as their own type in ReactJS, this helper will be removed in v6.0.0. Instead, check for the expected [form event types](https://reactjs.org/docs/events.html#form-events).
67+
- [#289] Update most deprecations that were slated for removal in v6.0.0 to be slated for removal in v7.0.0 instead. To keep the migration to v6.0.0 as easy as possible, only APIs that are known to be completely unused will be removed in v6.0.0. Therefore, most APIs that were marked for removal in v6.0.0 will remain until the v7.0.0 release. This PR updated deprecation annotations to reflect this.
68+
- [#287] Deprecate `SyntheticEvent.isFormEvent`. Because form events do not exist as their own type in ReactJS, this helper will be removed in v6.0.0. Instead, check for the expected [form event types](https://reactjs.org/docs/events.html#form-events).
6269

6370
## [5.7.0](https://github.com/cleandart/react-dart/compare/5.6.1...5.7.0)
6471

65-
- [#282] Add `SyntheticEvent` helpers that eliminate the need to use synthetic event class constructors. Additionally, added utilities to assist in type checking events without manually using the `is` keyword.
72+
- [#282] Add `SyntheticEvent` helpers that eliminate the need to use synthetic event class constructors. Additionally, added utilities to assist in type checking events without manually using the `is` keyword.
6673

6774
## [5.6.1](https://github.com/cleandart/react-dart/compare/5.6.0...5.6.1)
6875

69-
- [#280] Update React dev JS files to include a [workaround](https://github.com/dart-lang/sdk/issues/43193) to a DDC bug when using Chrome 86+ (fixed in Dart 2.9.3)
76+
- [#280] Update React dev JS files to include a [workaround](https://github.com/dart-lang/sdk/issues/43193) to a DDC bug when using Chrome 86+ (fixed in Dart 2.9.3)
7077

7178
## [5.6.0](https://github.com/cleandart/react-dart/compare/5.5.1...5.6.0)
7279

@@ -87,8 +94,8 @@ __New Features__
8794

8895
- 🎉 🎉 🎉 __Support for function components, memo and hooks!!!__ 🎉 🎉 🎉
8996

90-
Sooooo much work from so many amazing people made this possible, but to summarize:
91-
97+
Sooooo much work from so many amazing people made this possible, but to summarize:
98+
9299
- [#221] Add support for function components
93100
- [#252] Add support for `memo` higher order component
94101
- Hooks, hooks, and more hooks!
@@ -104,40 +111,40 @@ __New Features__
104111
- [#246] useDebugValue
105112

106113
<p><br>It works like this...</p>
107-
114+
108115
Define the component:
109116
```dart
110117
import 'package:react/react.dart' as react;
111-
118+
112119
final SomeWidget = react.registerFunctionComponent(_SomeWidget, displayName: 'SomeWidget');
113-
120+
114121
_SomeWidget(Map props) {
115122
// You can use hooks in here, too!
116-
123+
117124
return react.div({}, [
118125
// Some children...
119126
]);
120127
}
121128
```
122-
129+
123130
Render the component _(exact same consumer API as a class-based component)_:
124131
```dart
125132
import 'package:react/react_dom.dart' as react_dom;
126133
import 'some_widget.dart'; // Where your component is defined
127-
134+
128135
main() {
129136
final renderedWidget = SomeWidget({
130137
// put some props here
131138
}, [
132139
// put some children here!
133140
]);
134-
141+
135142
react_dom.render(renderedWidget, querySelector('#idOfSomeNodeInTheDom'));
136143
}
137144
```
138-
145+
139146
> Check out all the [function component and hooks examples](https://github.com/cleandart/react-dart/blob/c9a1211d5d77a9e354b864e99ef8f52b60eeff85/example/test/function_component_test.dart) for more information!
140-
147+
141148
__Fixes / Updates__
142149
- [#253] Deprecate `setClientConfiguration`.
143150
- It is no longer necessary - and can be removed from your implementations
@@ -147,7 +154,7 @@ __Fixes / Updates__
147154
148155
__New Features__
149156
- [#244] Add support for [HTML Composition events](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent)
150-
- [#263] Add support for [`SyntheticEvent.persist()`](https://reactjs.org/docs/events.html#event-pooling)
157+
- [#263] Add support for [`SyntheticEvent.persist()`](https://reactjs.org/docs/events.html#event-pooling)
151158
152159
__Fixes / Updates__
153160
- [#261] Stop errors thrown within the call stack of `Component.render()` from being swallowed

0 commit comments

Comments
 (0)