Skip to content

Commit 4a07ec5

Browse files
Merge pull request #792 from Workiva/release_over_react_4.6.0
RM-164256 RM-164255 Release over_react 4.6.0
2 parents 010a377 + ee7009e commit 4a07ec5

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# OverReact Changelog
22

3+
## [4.6.0](https://github.com/Workiva/over_react/compare/4.5.0...4.6.0)
4+
#### Analyzer Plugin
5+
- [#788] Add new `over_react_hooks_exhaustive_deps` diagnostic that validates the dependency lists of React hooks such as `useEffect`, `useMemo`, and `useCallback`.
6+
7+
Ported/forked from the JS eslint-plugin-react-hooks `react-hooks/exhaustive-deps` rule
8+
([info from the React docs](https://reactjs.org/docs/hooks-effect.html#:~:text=If%20you%20use%20this%20optimization%2C%20make%20sure%20the%20array%20includes),
9+
[package](https://www.npmjs.com/package/eslint-plugin-react-hooks),
10+
[source](https://github.com/facebook/react/blob/main@%7B2020-10-16%7D/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js)),
11+
this Dart diagnostic aims to provide parity with the dev experience of the JS lint rule, with some tweaks to work better with Dart and over_react's flavor of React APIs.
12+
313
## [4.5.0](https://github.com/Workiva/over_react/compare/4.4.4...4.5.0)
414
- [#785] Add utilities for jsifying/unsifying context props
515

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: over_react
2-
version: 4.5.0
2+
version: 4.6.0
33
description: A library for building statically-typed React UI components using Dart.
44
homepage: https://github.com/Workiva/over_react/
55
environment:

tools/analyzer_plugin/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
# Upon release, this should be pinned to the over_react version from ../../pubspec.yaml
1414
# so that it always resolves to the same version of over_react that the user has pulled in,
1515
# and thus has the same boilerplate parsing code that's running in the builder.
16-
over_react: 4.5.0
16+
over_react: 4.6.0
1717
path: ^1.5.1
1818
source_span: ^1.7.0
1919
yaml: ^3.0.0

0 commit comments

Comments
 (0)