Skip to content

Commit d15376d

Browse files
committed
add 2.11.0 changelog
1 parent 60454de commit d15376d

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

CHANGELOG.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# OverReact Test Changelog
22

3+
## 2.11.0
4+
5+
* Added support for searching within ShadowDOM roots to `queryByTestId` and `queryAllByTestId`.
6+
37
## 2.10.2
48

5-
* Widen over_react and react version constraints in preparation for v4.0.0 and v6.0.0, respectively.
9+
* Widen over_react and react version constraints in preparation for v4.0.0 and v6.0.0, respectively.
610

711
## 2.10.1
812

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

1317
## 2.9.6
1418
* Fix prop forwarding tests false positives
15-
19+
1620
Tests that had `commonComponentTests.getUnconsumedPropKeys()` returning a list of
1721
keys that included keys within mixins that were actually being consumed by the component
1822
were not failing as expected.
19-
23+
2024
e.g. this situation should have resulted in test failures, but it did not:
21-
25+
2226
Component's consumedProps:
2327
```dart
2428
@override
2529
get consumedProps => propsMeta.forMixins({
2630
SomePropsMixin,
2731
});
2832
```
29-
33+
3034
Component's commonComponentTests:
31-
```dart
35+
```dart
3236
group('common component tests', () {
3337
commonComponentTests(ComponentFactory, getUnconsumedProps: (propsMeta) => [
3438
...propsMeta.forMixin(SomePropsMixin).keys,
3539
]);
3640
});
37-
```
41+
```
3842

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

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

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

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

6670
## 2.6.0
67-
* Drop support for React 15
71+
* Drop support for React 15
6872
* Support Component2 in commonComponentTests
6973

7074
## 2.5.2

0 commit comments

Comments
 (0)