You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The renamer.rename API method is now asynchronous, returning a Promise. Previously it was synchronous.
The --plugin option has been renamed to --chain
This is because both replace chain and --view plugins are now accepted, making the previous name --plugin ambiguous.
New features
Added ability to create and use custom views
Added --silent mode
Added --view one-line which outputs just a summary line, nothing more. #49
Added some basic stats (e.g. 2 of 3 files renamed) to the built-in views
Added renamer.results async iterator to the core API.
Other changes
Source code rewritten as ECMAScript Modules.
All synchronous I/O rewritten as asynchronous, which should yield some performance improvements on large batch renames.
Dependency tree refreshed and updated
Wiki docs updated
Upgrade notes
Regular renamer CLI use (e.g. everything documented on the examples page) is unchanged. Only API consumers plus replace chain plugin authors and users will have any changes to make.