Skip to content

Commit

Permalink
Merge pull request #116 from Workiva/2.11.0-changelog-add
Browse files Browse the repository at this point in the history
add 2.11.0 changelog
  • Loading branch information
rmconsole5-wk authored Mar 31, 2021
2 parents 60454de + d15376d commit 1dd9327
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# OverReact Test Changelog

## 2.11.0

* Added support for searching within ShadowDOM roots to `queryByTestId` and `queryAllByTestId`.

## 2.10.2

* Widen over_react and react version constraints in preparation for v4.0.0 and v6.0.0, respectively.
* Widen over_react and react version constraints in preparation for v4.0.0 and v6.0.0, respectively.

## 2.10.1

Expand All @@ -12,29 +16,29 @@ _Re-tag of 2.10.0 release which was not released correctly_

## 2.9.6
* Fix prop forwarding tests false positives

Tests that had `commonComponentTests.getUnconsumedPropKeys()` returning a list of
keys that included keys within mixins that were actually being consumed by the component
were not failing as expected.

e.g. this situation should have resulted in test failures, but it did not:

Component's consumedProps:
```dart
@override
get consumedProps => propsMeta.forMixins({
SomePropsMixin,
});
```

Component's commonComponentTests:
```dart
```dart
group('common component tests', () {
commonComponentTests(ComponentFactory, getUnconsumedProps: (propsMeta) => [
...propsMeta.forMixin(SomePropsMixin).keys,
]);
});
```
```

## 2.9.5
* Add `Object.values` shim for MSIE 11.
Expand All @@ -47,10 +51,10 @@ _Re-tag of 2.10.0 release which was not released correctly_
* Fix typo in `logsPropError` matcher to ensure consumers can easily migrate from `throwsPropError` when appropriate.

## 2.9.2
* Move `isComponent2` call inside a `test` block to address consumer issues when the provided factory accesses values that are initialized within `setUp`.
* Move `isComponent2` call inside a `test` block to address consumer issues when the provided factory accesses values that are initialized within `setUp`.

## 2.9.1
* Move `getPropsMeta` call inside a `test` block to address consumer issues when the provided factory has required props that come from `setUp`-initialized variables.
* Move `getPropsMeta` call inside a `test` block to address consumer issues when the provided factory has required props that come from `setUp`-initialized variables.

## 2.9.0
* Add Component Version Auto Detection
Expand All @@ -64,7 +68,7 @@ _Re-tag of 2.10.0 release which was not released correctly_
* Add propTypes testing utilities

## 2.6.0
* Drop support for React 15
* Drop support for React 15
* Support Component2 in commonComponentTests

## 2.5.2
Expand Down

0 comments on commit 1dd9327

Please sign in to comment.