Skip to content

Commit

Permalink
Merge pull request #107 from aaronlademann-wf/1.16.0-rc
Browse files Browse the repository at this point in the history
UIP-2588 Release over_react 1.16.0
  • Loading branch information
leviwith-wf authored Aug 14, 2017
2 parents bf6ca16 + 02792f8 commit 6946cbd
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 12 deletions.
30 changes: 25 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# OverReact Changelog

## 1.16.0

> [Complete `1.16.0` Changeset](https://github.com/Workiva/over_react/compare/1.15.1...1.16.0)
__Dependency Updates__

* w_common `^1.8.0` (was `^1.6.0`)
* w_flux `^2.9.0` (was `^2.7.1`)

__New Features__

* [#104]: Update `UiComponent` to implement `DisposableManagerV6`.


__Improvements__

* [#103]: `FluxUiComponent` redraws only once when store triggers along with ancestor rerender.


__Tech Debt__

* [#105]: Add warning for incorrect usage of `getDartComponent`.

 

## 1.15.1

> [Complete `1.15.1` Changeset](https://github.com/Workiva/over_react/compare/1.15.0...1.15.1)
Expand All @@ -15,11 +40,6 @@ __Tech Debt__

> [Complete `1.15.0` Changeset](https://github.com/Workiva/over_react/compare/1.14.0...1.15.0)
__Dependency Updates__

* over_react_test `^1.0.1` (was `^1.0.0`)
* test `^0.12.24` (was `^0.12.6+2`)

__New Features__

* [#88]: Add `validateProps` method to `UiComponent`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

```yaml
dependencies:
over_react: "^1.15.1"
over_react: "^1.16.0"
```
2. Add the `over_react` [transformer] to your `pubspec.yaml`.
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: over_react
version: 1.15.1
version: 1.16.0
description: A library for building statically-typed React UI components using Dart.
homepage: https://github.com/Workiva/over_react/
authors:
Expand All @@ -25,7 +25,7 @@ dev_dependencies:
coverage: "^0.7.2"
dart_dev: "^1.7.6"
mockito: "^0.11.0"
over_react_test: "^1.1.1"
over_react_test: "^1.2.0"
test: "^0.12.24"

transformers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ main() {
component.awaitBeforeDispose(completer.future);

// Add events to stream
component.manageDisposer(() async => streamController.add('disposalFuture'));
component.manageDisposer(() async => streamController.add('disposalFuture')); // ignore: deprecated_member_use
completer.future.then(streamController.add);

// Perform events out of order
Expand Down Expand Up @@ -783,7 +783,7 @@ main() {

test('should call managed disposers', () async {
var disposerCalled = false;
component.manageDisposer(() async => disposerCalled = true);
component.manageDisposer(() async => disposerCalled = true); // ignore: deprecated_member_use
expect(disposerCalled, isFalse);
await unmountAndDisposal();
expect(disposerCalled, isTrue);
Expand All @@ -806,7 +806,7 @@ main() {
count: 0,
reason: 'Did not expect event after cancelling subscription'));

component.manageStreamSubscription(streamSubscription);
component.manageStreamSubscription(streamSubscription); // ignore: deprecated_member_use
await unmountAndDisposal();

streamController
Expand Down
1 change: 0 additions & 1 deletion test/over_react/util/react_wrappers_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
@JS()
library react_wrappers_test;

import 'dart:async';
import 'dart:html';

import 'package:js/js.dart';
Expand Down

0 comments on commit 6946cbd

Please sign in to comment.