20261206 v1.0.0
- Show generator results (e.g. queries that use
yield, new in jello v2.0.0) as JSON Lines. Items are produced only until the Viewer is full, so endless generators work - Suggest
jello -lfor generator queries on exit - Fix startup crash on Python 3.14
- Fix startup crash with jello v2.1.0 (No module named 'jello.dotmap')
- Show the jello version, Python version, and Python path in
-voutput - Read data from STDIN when no file is given, or start with no data (like
jello -e) when STDIN is a terminal - Add a Help window with the keyboard shortcuts and the jellex, jello, and Python versions: press F1 or Ctrl-O
- Fix crash in tab completion when a query returns a dict with keys that are not strings (e.g.
{1: 1}) - Faster queries on large data: only the part of the result shown in the Viewer and Schema windows is formatted (8.8s to 0.9s per keystroke for a 35MB file), and the schema is only built while the Schema window is shown
- Cut long output at the end of a line, and show
item size: 10000+ (output truncated)in the Status window when it is cut. For lists and dicts,item sizeis now the length of the JSON text - Make the Viewer and Schema windows read-only. Text can still be selected and copied (Ctrl-Space or mouse drag, then Alt-W) and pasted in the Editor (Ctrl-Y)
- Run queries in the background, so typing never waits for a query. The Status title shows when a query is running. A query that runs longer than 2 seconds is abandoned when the query text changes, so a query that never ends no longer freezes jellex
- Offer index completions for the first 1,000 items of a list only. Matching all the indexes of a 200,000 item list took 0.75s per keystroke
- Fix tab completion that offered nothing, depending on what was typed before: completions are now the keys of the value before the dot (e.g.
_.a[0]for_.a[0].na), not of the last query result that worked. Tab now always fills in the next completion (the first Tab filled in only what all completions share) - Tab after a dot with nothing after it (e.g.
_.or_.a[0].) offers all the keys, and Tab after a partial index (e.g._.a[1) offers the matching indexes - Scroll the Editor, Viewer, and Schema windows left and right with Shift + mouse wheel, a horizontal wheel, or a sideways trackpad swipe
- Scroll the Viewer (or the Schema, when it has focus) left and right by half its width with Shift-Left and Shift-Right, also while typing in the Editor
- Allow newer prompt-toolkit versions (was pinned to 3.0.36), e.g. so jellex installs alongside IPython (#9)
- Require Python 3.11 or newer