Skip to content

Releases: antonmedv/fx

39.1.0

07 Sep 12:17
758a717
Compare
Choose a tag to compare

Fx is terminal JSON viewer & processor.

fx preview

In this release:

  • Added filter shortcut: ?.foo > 42 (transformed to .filter(x => x.foo > 42))
  • Added delete with dd in interactive mode
  • Added TOML support with --toml flag
  • Added 3 new themes
  • Better autocomplete for zsh
  • Fixed stringify now returns null for undefined
  • Fixed quoted fields in autocomplete

39.0.4

31 Aug 11:34
7ba8f92
Compare
Choose a tag to compare
  • Added FX_INDENT env variable.
  • Fixed terminal JSON field completion in Zsh for brew installation.

39.0.3

28 Aug 12:31
af0c0ac
Compare
Choose a tag to compare
  • Fixed bug with goto ref on collapsed nodes #365

39.0.2

21 Aug 18:40
f8406ef
Compare
Choose a tag to compare

Fx is terminal JSON viewer & processor.

fx preview

In this release:

  • Fixed: only check escape chars in --strict mode.
  • Fixed --slurp tailing whitespace parsing.

39.0.1

08 Aug 20:22
d3483a2
Compare
Choose a tag to compare

Fx is terminal JSON viewer & processor.

fx preview

In this release:

  • Fixed $ref view pretty printing.
  • Fixed parsing of whitespaces at eof.

39.0.0

08 Aug 19:27
6dbc999
Compare
Choose a tag to compare

Fx is terminal JSON viewer & processor.

fx preview

In this release:

  • Inlining (#359)

    Now, then pretty printing JSON with:

    fx example.json .
    

    fx will inline (printing object in single line) some objects and arrays for improved readability.

    image
  • Added yank of key + value (#358)

  • Added search caching (#355)

  • Fixed waiting of first JSON object in JSONL parsing.

  • Fixed panic of missing JSON object.

  • Improved speed of bash autocomplete on huge JSON files.

  • Fixed keys autocompletion in some cases.

38.0.0

22 Jul 09:10
e0d4b16
Compare
Choose a tag to compare
  • Added support for undefined values in interactive JSON mode.
  • Improved error messages: better newline handling and clearer JSON errors in interactive mode.
  • Fixed line number parsing in --raw mode.
Терминал 2025-07-22 09 10 14

37.0.1

11 Jul 20:06
a3b5f5a
Compare
Choose a tag to compare
  • Goto line centers screen in the middle #352

37.0.0

23 Jun 21:11
d491a7c
Compare
Choose a tag to compare

In this release:

🔢 Go To Line (Vim-Style)

Quickly jump to any line using :42 syntax.

image

🧮 JSON Parsing Enhancements

  • Support for special values: Infinity, -Infinity, NaN
  • New --strict flag to enforce standard-compliant JSON only
image

🛠 Fixes & Improvements

  • Corrected object node previews
  • More precise error messages
$ fx .anton/events.json --strict
Unexpected character 'I' on line 290519.

      "confidence": Infinity,
  ..................^

🏃‍♂️ Data Utilities

  • Added walk function for recursive data transformation:
walk(x => typeof x === "number" ? x.toString() : x)
  • The map function now supports object mapping.

36.0.4

18 Jun 20:23
5dec42b
Compare
Choose a tag to compare

This update introduces several small but meaningful improvements to fx:

  • When opening an empty file, the spinner now stops immediately—making it clear that the file is, in fact, empty.
    No more pointless spinning. 🙂
  • I’ve removed a confusing indexing label from the status bar when loading large files.
  • The spinner has been relocated to the right corner for better clarity.
  • Additionally, in streaming mode, the spinner will now keep spinning until the end of the file is reached.
Терминал 2025-06-18 22 16 38