Releases: loichyan/nerdfix
Releases · loichyan/nerdfix
0.4.2 (2024-11-23)
Added
- Add a subcommand,
nerdfix completions <SHELL>
, to generate completions for your shell (#30). - Support comments in JSON files (#33).
- Add a new
codepoint:from/to
substitution type (#33). - Support checking dropped icons of Nerd Fonts v3.3.0 through the newly added
nerdfix --nf-version=3.3.0
option (#33, thanks @Finii and @hasecilu). - Add two new options,
--codepoint
and--name
, fornerdfix search
, useful for querying icon infos from the database non-interactively (#34).
0.4.1 (2024-07-14)
This release mainly addresses the high memory usage issue reported in #18: fixed a potential memory leak in #21, and implemented stream processing in #22.
Also, some UI changes were introduced in #21, as we switched the diagnostic reporter from codespan_reporting to miette.
Added
Changed
- Report the source paths of diagnostics (#23).
- Process files in bytes stream (#22).
- Use
miette
in place ofcodespan-reporting
as the diagnostic reporter (#21).
Fixed
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).
0.3.1 (2023-05-15)
0.3.0 (2023-05-12)
Added
- Support recursive directories traversal (#6).
- Support specify optional paths where patched contents are written to (ee9b398).
Changed
- [breaking] Deprecated
--yes
, use--write
and--select-first
to force non-interactive fixes (#4). - Streamline Nix package derivation (a9a3630).
Fixed
- Do not consider icons with
removed
label as obsolete (750ace5).
0.2.3 (2023-05-03)
0.2.2 (2023-05-02)
0.2.1 (2023-04-11)
0.2.0 (2023-03-30)
Added
- Support fix sources non-interactively through
--yes
(e2e4bc9). - Support structured format output through
--format=json
(#2). - Add
--replace
to autofix icons by name (#1). - Add
--verbose
to control log level (4830e37).
Changed
- Change the severity of obsolete fonts to NOTE (2debe0b).
Fixed
- Do not load builtin icons if users specify their own database (428b468).
0.1.0 (2023-03-25)
🎉 Initial release. See README for more details.