Skip to content

Releases: loichyan/nerdfix

0.4.2 (2024-11-23)

23 Nov 13:42
2ab60a5
Compare
Choose a tag to compare

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, for nerdfix search, useful for querying icon infos from the database non-interactively (#34).

0.4.1 (2024-07-14)

14 Jul 11:08
v0.4.1
e47ee82
Compare
Choose a tag to compare

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

  • Support filter out binary files (d1f29e4).
  • Support filter out files by size (db421eb).

Changed

  • Report the source paths of diagnostics (#23).
  • Process files in bytes stream (#22).
  • Use miette in place of codespan-reporting as the diagnostic reporter (#21).

Fixed

  • Fix subtract with overflow (aa29181).
  • Fix potential memory leaks (#21).

0.4.0 (2023-10-20)

20 Oct 03:58
v0.4.0
c8959d8
Compare
Choose a tag to compare

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:

  1. Use dump instead of cache to show all icons and substitutions in the runtime database.
  2. 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 both exact and prefix 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 to dump (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)

14 May 20:42
v0.3.1
d53d4d0
Compare
Choose a tag to compare

Fixed

0.3.0 (2023-05-12)

12 May 04:26
v0.3.0
6254e52
Compare
Choose a tag to compare

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)

03 May 04:58
v0.2.3
929d872
Compare
Choose a tag to compare

Added

Fixed

  • Write logs and diagnostics to different streams (0e7b3f6).

0.2.2 (2023-05-02)

02 May 02:30
fe5ccb9
Compare
Choose a tag to compare

Changed

  • Display brief error messages (8319fcb).
  • Use the same style of keyboard hints (e5a8975).

Fixed

  • Sync non-patched contents before autofix (44ad79d).

0.2.1 (2023-04-11)

11 Apr 11:43
Compare
Choose a tag to compare

Added

  • Show the name of a selected icon (48d7aff).

Fixed

  • Only use the first string of user input (f67f157).
  • Sort candidates by names for stable results (1529a4b).

0.2.0 (2023-03-30)

30 Mar 08:18
Compare
Choose a tag to compare

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)

25 Mar 10:00
Compare
Choose a tag to compare

🎉 Initial release. See README for more details.