Skip to content

Commit

Permalink
Add changelog entry for 2.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf committed Oct 24, 2024
1 parent 4fd60d4 commit bd77707
Showing 1 changed file with 10 additions and 0 deletions.
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
- Add required prop validation ignores for `connect`-ed props, matching (see more info in [migration guide](https://github.com/Workiva/over_react/blob/master/doc/null_safety/null_safe_migration.md#connect))
- Don't add migrator tool hint comments to files that have already been migrated to null safety
- 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

0 comments on commit bd77707

Please sign in to comment.