Repository navigation
Release v4.63.3
The Components migrator is safer to run on a source tree: it stays inside the folders it is given, rewrites files atomically and leaves code it cannot prove safe to change untouched.
Fixed
- The migrator only scans and writes files inside the requested folders, rejects paths that pass through a file, and scans overlapping inputs once (part of #597)
- Type information is read from the migrated file alone, without reading other files from disk (part of #597)
- Rewritten files are replaced atomically: a failed write leaves the original intact, a file edited during the run is not overwritten (best effort), and file permissions are preserved (part of #597)
- The JSX codemods only rewrite tags that refer to the imported component, not local components with the same name (part of #597)
- The Dropdown change-handler codemod reports handlers that may depend on the event instead of rewriting them (part of #597)
- The Button codemod only removes props whose values are constants, and reports the rest instead of dropping them (part of #597)
- Splitting a root re-export keeps quoted export aliases (part of #597)