Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: fioncat/otree

v0.6.2

15 Oct 10:10
57a4083

Choose a tag to compare

Features

  • Data block now support wrap mode, this will disable horizontal scrolling, and
    long text will be split to a new line. You can enable this by --wrap or
    -w command line option. To change the default behavior, add data.wrap = true in config file. (#104)
image

What's Changed

  • build(deps): bump the all group across 1 directory with 6 updates by @dependabot[bot] in #105
  • feat(data): support wrap mode by @fioncat in #108

Full Changelog: v0.6.1...v0.6.2

v0.6.1

26 Aug 08:45

Choose a tag to compare

Features

  • Improve footer display when the terminal width is narrow. (#96)
  • Show section name when using toml objects and arrays. (#98)
  • Support hcl. (#99)
  • Add --to or -o command line option, to convert current data to another schema. (#100)
    • For example, convert current data from JSON to TOML: otree /path/to/file.json -o toml.
    • This will print TOML content to stdout.
  • Upgrade various dependencies.

What's Changed

  • feat(ui): enhance footer display logic for root paths by @fioncat in #96
  • feat(parse): improve syntax highlighting for toml by @fioncat in #98
  • build(deps): bump crossterm from 0.28.1 to 0.29.0 in the all group by @dependabot[bot] in #97
  • feat(parse): support hcl by @fioncat in #99
  • feat(cmd): support convert data to another schema by @fioncat in #100

Full Changelog: v0.6.0...v0.6.1

v0.6.0

25 Aug 08:40

Choose a tag to compare

Features

  • Highlighting for filter keywords (#94)

    • The default filter behavior has changed: instead of hiding unmatched items, all items are now displayed, with matches highlighted. This makes it easier to distinguish filtered results without losing context.
    • If you prefer the old behavior (hiding unmatched items), you can enable it by setting filter.exclude_mode = true.
  • Filter navigation actions (#95). In filter mode, you can now quickly jump between matches using the new actions:

    • filter_next_match (default key: n)
    • filter_prev_match (default key: N)
  • 🎉 All items in the roadmap have been completed!

Screenshot of highlighting in filter mode (now it looks like vim 😄):

image

What's Changed

  • feat(ui): support highlighting filter keyword in tree by @fioncat in #94
  • feat(ui): support filter navigation by @fioncat in #95

Full Changelog: v0.5.2...v0.6.0

v0.5.2

25 Aug 02:37
bb8f819

Choose a tag to compare

Features

Add new XML parser!

XML will be parsed in the same way as yq.

In short:

  • If an XML element contains attributes, they will be represented in the tree as String items, with their keys prefixed by "@" for distinction.
  • If an XML element has attributes, then even if its value is a string, it will be expanded into an object. The element's text value will be stored in a special field called "#text".

For example:

<outer attr="value">
  <inner>1</inner>
  <inner attr="value">2</inner>
  <inner>3</inner>
</outer>

Will be parsed as:

{
  "outer": {
    "inner": [
      "1",
      {
        "@property": "value",
        "#text": "2"
      },
      "3"
    ]
  },
  "@property": "value"
}

What's Changed

  • build(deps): bump the all group across 1 directory with 4 updates by @dependabot[bot] in #91
  • feat(parse): support xml by @fioncat in #92

Full Changelog: v0.5.1...v0.5.2

v0.5.1

20 Aug 02:42
6131429

Choose a tag to compare

Fixes

  • Fix panic when using action expand_children for empty object. (#87)

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.5.1

v0.5.0

08 Aug 03:26

Choose a tag to compare

Features

  • Add filter (filter by keys and values, default binding to /), filter_key (filter by key, default binding to ?) and filter_value (filter by values, default binding to *) actions to filter items. (#82)
  • Add show_help (default binding to H) action to show help message (all actions and their bindings) in popup widget. (#83)
  • Add expand_children (default binding to x) and expand_all (default binding to X) actions. (#84)

What's Changed

  • feat: support filtering by key or value by @fioncat in #82
  • feat: support help action by @fioncat in #83
  • feat: add expand_children and expand_all actions by @fioncat in #84

Full Changelog: v0.4.1...v0.5.0

v0.4.1

05 Aug 09:16

Choose a tag to compare

What's Changed

  • build(deps): bump the all group across 1 directory with 5 updates by @dependabot[bot] in #73
  • build(deps): bump the all group across 1 directory with 3 updates by @dependabot[bot] in #76
  • feat(ui): when copying simple values, use pure text by @fioncat in #80

Full Changelog: v0.4.0...v0.4.1

v0.4.0

31 Mar 03:40

Choose a tag to compare

Features

  • Command: Add new flag --debug, to write some debug logs to a file.
  • UI: Add --live-reload option, to watch file changes and update tui (#63).
  • Release: Add Windows prebuilt binary (unstable, require more testing).

What's Changed

  • feat(cmd): support --debug flag to write debug logs by @fioncat in #67
  • feat: support live-reload tui when file is changed by @fioncat in #68

Full Changelog: v0.3.1...v0.4.0

v0.3.1

21 Jan 03:16

Choose a tag to compare

  1. Updated dependencies.
  2. Added linux/arm64 binary in release.

v0.3.0

28 Oct 10:59

Choose a tag to compare

New Features

  • Support jsonl.
  • Add Homebrew instructions.

Bug Fixes

  • Allow reading from stdin on macOS.

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0