Skip to content

Commit

Permalink
Merge pull request #304 from Workiva/release_over_react_codemod_2.34.0
Browse files Browse the repository at this point in the history
RM-276934 Release over_react_codemod 2.34.0
  • Loading branch information
rmconsole6-wk authored Oct 24, 2024
2 parents aaff70f + af13cb6 commit 8b4e889
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 2.34.0
- Null safety codemod improvements
- Don't add migrator tool hint comments to files that have already been migrated to null safety
- 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))
- 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)
- Note: defaulted prop hints are now added via the `null_safety_required_props` executable instead of via `null_safety_migrator_companion`
- Add optional (`/*?*/`) hint to non-defaulted state fields, just like for props
- `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)
- Unpin `meta` dependency

## 2.33.0
- 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)

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: over_react_codemod
version: 2.33.0
version: 2.34.0
homepage: https://github.com/Workiva/over_react_codemod

description: >
Expand Down

0 comments on commit 8b4e889

Please sign in to comment.