0.4.0 (2023-10-20)
This release introduces the predefined substitutions support suggested in #9 (thanks @Finii), and also brings some UX breaking changes. Here are some guides for migrating from v0.3
:
- Use
dump
instead ofcache
to show all icons and substitutions in the runtime database. - The Previous release supports use
--replace FROM:TO
to perform a prefix substitution, now it uses the newly add--sub TYPE:FROM/TO
argument to support bothexact
andprefix
substitutions. This means that you should use--sub prefix:FROM/TO
in place of the old one.
Added
- Add
-v/-q
to control log level (1294e24). - Support load predefined substitutions list (#10).
- Support parse the new cheat-sheet format (#10).
- Support read from and write to STDIO in more options (#7).
Changed
- [breaking] Rename subcommand
cache
todump
(f148638). - [breaking] Deprecated
--replace FROM:TO
, use--sub prefix:FROM/TO
instead (557c6fd). - Move
--sub
to global options (6c8808e). - Save database in JSON (e8a0ccf).
- Show source paths in logs (2699dd4).
- Strip
nf-
prefixes in messages, and generated databases (#12). - Warn usage of deprecated arguments (a783b7e).
Fixed
- Exit non-zero if any error occurs (#15).