Releases: fioncat/otree
v0.6.5
Features
- Add
homeandendkeys and map them to scroll_{first,last}. (#126) - Add PageUp/PageDown support for Data Block view. (#125)
- Add clipboard functionality with terminal multiplexer support. (#123)
What's Changed
- feat: add clipboard functionality with terminal multiplexer support by @dferg in #123
- Add PageUp/PageDown support for Data Block view by @plaes in #125
- Home/end scrolling support by @plaes in #126
New Contributors
Full Changelog: v0.6.4...v0.6.5
v0.6.4
Fixes
- Remove
anyin command line options. - XML: Handle empty nodes containing fields correctly. (#121)
What's Changed
- fix(cmd): remove any in command line option by @fioncat in #113
- build(deps): bump the all group with 2 updates by @dependabot[bot] in #115
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #114
- fix(xml): handle empty node with fields by @fioncat in #121
Full Changelog: v0.6.3...v0.6.4
v0.6.3
Features
Enhanced automatic Content Type detection. Even when users don't provide file extensions, otree can now automatically detect the ContentType based on the data content.
For example, the following command is now available:
echo '{"key": "value"}' | otreeNow otree will try invoking all parsers in order for unknown content, and whichever parser succeeds determines the format.
What's Changed
Full Changelog: v0.6.2...v0.6.3
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