Releases: fioncat/otree
Releases · fioncat/otree
v0.6.2
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--wrapor
-wcommand line option. To change the default behavior, adddata.wrap = truein config file. (#104)
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
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
--toor-ocommand 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.
- For example, convert current data from JSON to TOML:
- 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
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 😄):
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
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
Fixes
- Fix panic when using action
expand_childrenfor empty object. (#87)
What's Changed
- fix(expand_children): set state even in error case by @MultisampledNight in #88
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #86
New Contributors
- @MultisampledNight made their first contribution in #88
Full Changelog: v0.5.0...v0.5.1
v0.5.0
Features
- Add
filter(filter by keys and values, default binding to/),filter_key(filter by key, default binding to?) andfilter_value(filter by values, default binding to*) actions to filter items. (#82) - Add
show_help(default binding toH) action to show help message (all actions and their bindings) in popup widget. (#83) - Add
expand_children(default binding tox) andexpand_all(default binding toX) 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
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
Features
- Command: Add new flag
--debug, to write some debug logs to a file. - UI: Add
--live-reloadoption, to watch file changes and update tui (#63). - Release: Add Windows prebuilt binary (unstable, require more testing).
What's Changed
- feat(cmd): support
--debugflag 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
- Updated dependencies.
- Added linux/arm64 binary in release.
v0.3.0
New Features
- Support jsonl.
- Add Homebrew instructions.
Bug Fixes
- Allow reading from stdin on macOS.
What's Changed
- docs(readme): add Homebrew instructions by @FnControlOption in #27
- refactor: migrate ratatui to 0.27.0 by @fioncat in #31
- build(deps): bump the all group with 2 updates by @dependabot in #33
- build(deps): bump the all group with 3 updates by @dependabot in #34
- build(deps): bump the all group with 5 updates by @dependabot in #35
- build(deps): bump the all group with 5 updates by @dependabot in #36
- build(deps): bump the all group across 1 directory with 6 updates by @dependabot in #39
- fix: allow reading from stdin on macOS by @tangowithfoxtrot in #42
- build(deps): bump the all group across 1 directory with 5 updates by @dependabot in #43
- build(deps): bump the all group across 1 directory with 4 updates by @dependabot in #46
- feat(parse): support jsonl format by @fioncat in #49
New Contributors
- @FnControlOption made their first contribution in #27
- @tangowithfoxtrot made their first contribution in #42
Full Changelog: v0.2.0...v0.3.0