Skip to content

Commit 8b4e889

Browse files
Merge pull request #304 from Workiva/release_over_react_codemod_2.34.0
RM-276934 Release over_react_codemod 2.34.0
2 parents aaff70f + af13cb6 commit 8b4e889

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 2.34.0
2+
- Null safety codemod improvements
3+
- Don't add migrator tool hint comments to files that have already been migrated to null safety
4+
- Add required prop validation ignores for `connect`-ed props (see more info in [migration guide](https://github.com/Workiva/over_react/blob/master/doc/null_safety/null_safe_migration.md#connect))
5+
- Only make defaulted class component props required when they're not public, to avoid breakages and align with [migration guide guidance](https://github.com/Workiva/over_react/blob/master/doc/null_safety/null_safe_migration.md#prop-requiredness-and-nullability)
6+
- Note: defaulted prop hints are now added via the `null_safety_required_props` executable instead of via `null_safety_migrator_companion`
7+
- Add optional (`/*?*/`) hint to non-defaulted state fields, just like for props
8+
- `useRef<…>(null)` is now migrated to `useRef<…>()` instead of `useRefInit<…>(null)` (the old behavior wasn't problematic, just not as clean as it could have been)
9+
- Unpin `meta` dependency
10+
111
## 2.33.0
212
- Add `null_safety_required_props` executable to help [migrate over_react props to nulls safety](https://github.com/Workiva/over_react/blob/master/doc/null_safety/null_safe_migration.md)
313

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: over_react_codemod
2-
version: 2.33.0
2+
version: 2.34.0
33
homepage: https://github.com/Workiva/over_react_codemod
44

55
description: >

0 commit comments

Comments
 (0)