- Revert react16_upgrade change in 1.4.0 that forced over_react to be added whenever just react was listed as a dependency
- Ignore
.g.dart
files in React 16 codemods.
- Fix a bug that would cause ErrorBoundary components with props to be wrapped in another ErrorBoundary.
- Update Component2 ComponentWillMountMigrator to migrate the componentWillMount lifecycle code to componentDidMount
- Add React 16 getDefaultProps & getInitialState Migrator
- Add React 16 Post Rollout Codemod
- Update React 16 pubspec updater to include over_react
- Enable the use of
// orcm_ignore
comments when running the react16 / component2 codemods.
- Fix a bug that would occur when parsing a pubspec version of "any"
-
Add a flag
--no-partial-upgrades
tocomponent2_upgrade
codemod that will prevent partial component upgrades from occurring. -
Fix a bug that could occur when parsing a pubsec version in
dependency_overrides
section.
-
Add
react16_upgrade
codemod- Fix compatibility issues common in react15 code.
- Update version upper bound of react and over_react in pubspec.yaml to allow for incoming react16 updates.
-
Add
component2_upgrade
codemod- Migrates components to
UiComponent2
(coming in over_react 3.1.0)
- Migrates components to
-
Add
react16_dependency_override_update
codemod- Adds dependency overrides to pubspec.yaml for testing wip branches of React 16
-
Add
react16_ci_precheck
codemod- Checks the version ranges of over_react and react and if they are in transition will run the codemod and fail if there are unaddressed issues.
-
Two additional changes are now made by the
dart2_upgrade
codemod when running without the--backwards-compat
flag:// orcm_ignore
comments are removed// ignore: uri_has_not_been_generated
comments that precede a.over_react.g.dart
part directive are removed
-
Fix a bug that could result in overlapping patches being suggested, which would cause the
dart2_upgrade
codemod to exit early unsuccessfully.
-
Provide additional output from the
dart2_upgrade
codemod in the following two scenarios:- When running with the
-h|--help
flag - When running with the
--fail-on-changes
flag
- When running with the
- Fix a bug with removing the
// ignore: undefined_identifier
comment from UI Factories when runningover_react_codemod:dart2_upgrade
without the--backwards-compat
flag.
- Initial release!