Ghee/HISTORY.md
2023-09-20 15:07:14 -07:00

2.2 KiB

Ghee History

0.1.0

Initial release including commands to manipulate individual records: cp, mv, rm, get, set.

0.2.0

First command that operates on records as a group ("table"): idx.

Also generates shell completions for Bash, Fish, PowerShell, Elvish, and anything else that clap_complete supports.

Rename from Hatter to Mattress.

0.2.1

Implement setting of user.mattress.keyname

0.3.0

  • Make get recursive by default
  • SQL WHERE-style select clauses using -w --where
  • Rename from Mattress to Ghee. Third time's the charm, right?

0.4.0

Introduces the REPL and subcommands init, ins, del, and ls.

Both get and del now use the best available index to minimize traversals.

-[x] REPL -[x] ins for adding to table while maintaining related indexes -[x] ins from JSON -[x] del for removing from table while maintaining related indexes -[x] ls to show Ghee's view of the world -[x] init to initialize a directory as a full-fledged Ghee table (with specified key names) -[x] Sensible default destination for idx -[x] Make get stop listing nested indices -[x] Make get accelerate traversal using the best available index (a la del) -[x] Make get return paths from original index rather than the one used to accelerate -[x] Fix output order, making commands reproducible

0.5.0

Maintains soundness of indices when rming, seting, cping, and mving.

Makes rm and set recursive, with optional opt-out.

Unit tests all commands.

Introduces create; like init but creates the directory for you.

Adds the ability to insert from JSON on init.

-[x] init: allow ins-like insertion from JSON -[x] create to create directory and then init -[x] Test predicates using default key names, e.g. key0<10 -[x] rm: recursive by default -[x] rm: when removing indexed xattrs, update the relevant indices -[x] set: recursive by default -[x] set: when setting indexed xattrs, update the relevant indices -[x] Test cp_or_mv -[x] Test ls

0.5.1

Fixes a bug when indices were chained together but not reflected in all related indices' table info.

-[x] idx: ensure that indices beyond the second result in all related indices being declared as related