Releases: noahgorstein/jqp
v0.7.0
Overview
Mostly small bug fixes and some performance improvements.
One new feature added is the ability to specify an optional query argument to jqp
cli that it will execute on startup.
curl "https://api.github.com/repos/jqlang/jq/issues" | jqp '.[] | {"title": .title, "url": .url}'
Screen.Recording.2024-06-09.at.6.14.53.PM.mov
@EmilyGraceSeville7cf also added a JSON schema for jqp's config which should help users create and edit their config files.
What's Changed
- typos suggestion by @ccoVeille in #59
- code review by @ccoVeille in #61
- Add Continuous Integration to GitHub actions by @ccoVeille in #63
- Add GitHub actions for checking typos by @ccoVeille in #62
- Add dependabot to GitHub Action by @ccoVeille in #64
- chore: address golangci-lint issues by @noahgorstein in #74
- chore(deps): bump github.com/itchyny/gojq from 0.12.13 to 0.12.15 by @dependabot in #72
- chore(deps): bump github.com/alecthomas/chroma/v2 from 2.12.0 to 2.13.0 by @dependabot in #73
- chore(deps): bump github.com/charmbracelet/bubbles from 0.16.1 to 0.18.0 by @dependabot in #71
- chore(deps): bump github.com/charmbracelet/lipgloss from 0.8.0 to 0.10.0 by @dependabot in #70
- chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.8.0 by @dependabot in #69
- chore(deps): bump github.com/spf13/viper from 1.13.0 to 1.18.2 by @dependabot in #68
- chore(deps): bump github.com/charmbracelet/bubbletea from 0.24.1 to 0.26.2 by @dependabot in #67
- chore(deps): bump actions/setup-go from 4 to 5 by @dependabot in #66
- chore: upgrade to go v1.22 by @noahgorstein in #75
- refactor: reduce complexity of various methods/functions by @noahgorstein in #76
- feat: add optional cli argument to specify initial query by @noahgorstein in #77
- bug: dont set viewport content on resize by @noahgorstein in #79
- chore(deps): bump github.com/itchyny/gojq from 0.12.15 to 0.12.16 by @dependabot in #85
- chore(deps): bump github.com/alecthomas/chroma/v2 from 2.13.0 to 2.14.0 by @dependabot in #80
- chore(deps): bump github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.0 by @dependabot in #82
- chore(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0 by @dependabot in #84
- chore(deps): bump github.com/charmbracelet/bubbletea from 0.26.2 to 0.26.4 by @dependabot in #83
- fix: revert to lipgloss v0.10.0 temporarily by @noahgorstein in #87
- fix: don't block while inputdata bubble initializes by @noahgorstein in #86
- fix: nil pointer dereference as a result of accessing state before queryinput initialized by @noahgorstein in #90
- fix: dynamically increase buffer size to handle processing large JSON lines by @noahgorstein in #93
- chore(deps): bump github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.0 by @dependabot in #89
- chore(deps): bump crate-ci/typos from 1.21.0 to 1.22.1 by @dependabot in #92
- feat: implement json schema for config by @EmilyGraceSeville7cf in #78
- chore: prep v0.7.0 release by @noahgorstein in #94
New Contributors
- @ccoVeille made their first contribution in #59
- @dependabot made their first contribution in #72
- @EmilyGraceSeville7cf made their first contribution in #78
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Maybe the most notable update here is the support for newline-delimited JSON (also known as NDJSON or JSON-lines) as input to jqp
.
Example input:
{"name": "Gilbert", "wins": [["straight", "7♣"], ["one pair", "10♥"]]}
{"name": "Alexa", "wins": [["two pair", "4♠"], ["two pair", "9♠"]]}
{"name": "May", "wins": []}
{"name": "Deloise", "wins": [["three of a kind", "5♣"]]}
jqp
:
Also some new catppuccin 🎨 themes added by @noahmayr (see catppuccin-macchiato
in use in above screenshot) and a nice way to save jqp
output to the clipboard when no file is provided when saving the output @rvictorino.
What's Changed
- feat(save): save to clipboard on empty output file path by @rvictorino in #49
- update chroma and add catppuccin color themes by @noahmayr in #51
- feat: add support for NDJSON/JSONL by @noahgorstein in #55
- fix: only log to stderr if there's an error reading the config file by @noahgorstein in #56
- chore: increase version to 0.6.0 by @noahgorstein in #57
- docs: 0.6.0 updates by @noahgorstein in #58
New Contributors
- @rvictorino made their first contribution in #49
- @noahmayr made their first contribution in #51
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Highlights
Mostly a maintenance release but also adds support for overriding non-syntax highlighting elements of the theme. Thanks @mluna-again!
Details can be found here in the readme: https://github.com/noahgorstein/jqp#chroma-style-overrides
Changelog
v0.4.0
Highlights
- Add basic command history. Pressing
↑
/↓
while the query section is active should cycle through your queries, similar to how one would cycle through past commands in you shell history. - Adds the ability to override specific parts of the Chroma themes available for use. See Available Configuration Options for additional details and an example.
Changelog
- b73ad78 config: option for overrides to chroma styles (#32)
- 968696b feat: add basic command history (#33)
Breaking Changes
- Remove
file
option from config file options - Move
theme
option totheme.name
in config file options
v0.3.0
Highlights
- Adds the ability for a user to configure
jqp
with a configuration file. - Introduces over 40+ light and dark themes for
jqp
. - Adds the ability to cancel a running query. Thanks @itchyny
Changelog
- b58f98d README: fix the id of gojq author (#18)
- ad42781 chore: refactor logic for resizing bubbles (#22)
- e3f9f08 chore: refactor updating section border colors and help state (#20)
- 8225e54 feat: add additional themes available in Chroma (#25)
- fec34da feat: add support for aborting running query (#19)
- 92ce6ee feat: add support for themes and specifying configuration via file (#21)
- f3445e3 ui: put space in between input/output on odd terminal width (#23)
- d028198 v0.3.0 (#26)
v0.2.0
Small fixes and 2 new small features:
shift+tab
to cycle through sections in reverse order. Thanks @NiloCKctrl+y
to copy the query to system clipboard
Changelog
- 95aac7d README: add MacPorts install info (#8)
- 56f4278 Update README demo gif
- 5e9141e add installation instructions to README
- 52f893b chore: bump Bubbles version (#12)
- 858ad66 feat: add support for copying query to system clipboard (#7)
- 4519fd9 feat: shifttab to cycle through sections in reverse
- 937b0ef fix: layout gets into messy state if help menu overflows to more than 1 line (#10)
- 6defb0e fix: query input cursor not blinking when it should (#15)
- 4539de2 v0.2.0 (#16)