Releases: danielgtaylor/restish
v0.20.0
Changelog
- c4befd0 Merge pull request #223 from danielgtaylor/dependabot/go_modules/golang.org/x/net-0.17.0
- 2db8c10 Merge pull request #225 from exoscale/cached-transport
- c0f180c Merge pull request #226 from danielgtaylor/dependabot/go_modules/golang.org/x/image-0.10.0
- b75a307 Merge pull request #227 from cbliard/patch-1
- a92c7db Merge pull request #229 from danielgtaylor/redirect-url
- 21a9017 Merge pull request #233 from danielgtaylor/hide-secrets-input
- d16bdd7 Merge pull request #234 from danielgtaylor/clear-auth-cache
- 0a1f26c Update docs to use
go install
instead ofgo get
- 00b34d8 chore(deps): bump golang.org/x/image from 0.5.0 to 0.10.0
- 8135dc8 chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0
- ac559b9 chore: add configurable redirect_url, preserve default value
- 97c3636 feat: add command to clear auth token cache
- 13fe1aa fix(api): Do not cache server responses when refreshing API defs
- 1ecdb09 fix: hide secret input during API config, fixes #232
- 9a25266 fix: use better url parsing
v0.19.0
Overview
This release introduces support for retries & timeouts (see https://rest.sh/#/retries for details), and makes the management of bulk resources more resilient to partial failures along with a few small bug fixes.
Note: Some HTTP response codes (408, 425, 429, 500, 502, 503, 504) are now retried by default. Use --rsh-retry=0
or RSH_RETRY=0
to disable this behavior if needed.
What's Changed
- feat: retries & timeouts by @danielgtaylor in #219
- feat: bulk command resiliency improvements by @danielgtaylor in #220
- fix: gron output with special chars by @danielgtaylor in #221
Full Changelog: v0.18.0...v0.19.0
v0.18.0
Overview
This release brings a few important changes worth calling out:
-
Freedesktop conventions are now followed, meaning the location of configuration and cache files is now operating-system dependent. Files are automatically moved over when running the new Restish release. The new
restish api edit
command makes it easy to edit your API configuration, which will now be located:- Mac:
~/Library/Application Support/restish/apis.json
- Linux:
~/.config/restish/apis.json
- Windows:
%AppData%\restish\apis.json
More docs here: https://rest.sh/#/configuration
- Mac:
-
If no OpenAPI server locations match, the default operation base path is now the path component of the
base
configuration value. This can be overridden via theoperation_base
parameter. See docs at https://rest.sh/#/configuration?id=operation-base-path -
Local and remote references are now supported in OpenAPI, including relative refs with the base set to the location of the OpenAPI file. Restish can now officially load the DigitalOcean API spec.
What's Changed
- Various documentation fixes by @waldyrious in #173
- fix: bulk version inconsistency bug by @danielgtaylor in #181
- fix: use configured base as base path if no servers present by @danielgtaylor in #185
- docs: use capitalized forms of HTTP verbs by @waldyrious in #182
- chore(deps): bump golang.org/x/image from 0.1.0 to 0.5.0 by @dependabot in #175
- fix api show doc and add api configure command by @lalmeras in #184
- chore(deps): bump golang.org/x/net from 0.2.0 to 0.7.0 by @dependabot in #176
- fix: mermaid import which broke going ESM only by @danielgtaylor in #186
- fix: upgrade shorthand to fix nested field selection bug by @danielgtaylor in #187
- Correct occurrences of "Setup" that should say "Set up" instead by @waldyrious in #193
- docs: Improve API configuration documentation by @waldyrious in #192
- docs: link directly to section on registering APIs by @waldyrious in #191
- Clarify docs links in README by @waldyrious in #190
- Update openapi.go by @metadatadriven in #198
- feat: add gron greppable output format by @danielgtaylor in #196
- Adhere to freedesktop conventions (instead of ~/.restish) fixes #98 by @danielgtaylor in #200
- Adhere to freedesktop conventions (instead of ~/.restish) fixes #98 by @mterron in #177
- finished last bit of the gron outputter implementation by @traviscampbell in #206
- Expand installation instructions; add Nixpkgs option by @waldyrious in #204
- feat: API edit command; apis.json schema by @danielgtaylor in #208
- feat: operations base path config option by @danielgtaylor in #209
- feat: deflate support by @danielgtaylor in #210
- feat: document args/options schemas, fixes #157 by @danielgtaylor in #212
- fix: generate operation ID if not present, fixes #201 by @danielgtaylor in #213
- Support remote references in openapi by @danielgtaylor (really @zak905) in #211
New Contributors
- @dependabot made their first contribution in #175
- @lalmeras made their first contribution in #184
- @metadatadriven made their first contribution in #198
- @mterron made their first contribution in #177
- @traviscampbell made their first contribution in #206
Full Changelog: v0.17.0...v0.18.0
v0.17.0
What's Changed
- docs: reorder sections to start with the why by @eddiemonge in #159
- feat: allow uppercase HTTP verbs as commands by @danielgtaylor in #160
- fix: crash with certain --help commands by @danielgtaylor in #161
- feat: bulk list supports shorthand query filters by @danielgtaylor in #162
- fix: completion for multi-variable templates by @danielgtaylor in #163
- feat: upgrade to Shorthand v2.1.0 by @danielgtaylor in #164
- fix: properly support commas in headers by @danielgtaylor in #165
- Fix bug #128 by @james-maloney in #166
- fix: run tests on pulls by @danielgtaylor in #167
- fix: properly set error on panic recovery by @danielgtaylor in #168
- feat: set exit code from status code, fixes #125 by @danielgtaylor in #169
- fix: add test for combined path+op params and ref by @danielgtaylor in #171
- fix: upgrade to libopenapi 0.4.x by @danielgtaylor in #170
- fixes 'findApi' when the help command is used by @james-maloney in #172
New Contributors
- @eddiemonge made their first contribution in #159
- @james-maloney made their first contribution in #166
Full Changelog: v0.16.0...v0.17.0
v0.16.0
v0.15.2
What's Changed
- fix: print responses without a body by @danielgtaylor in #153
Full Changelog: v0.15.1...v0.15.2
v0.15.1
v0.15.0
Overview
This release includes BREAKING CHANGES which include output defaults behavior, replacing JMESPath as the query language, and replacing the low-level Open API library to support Open API 3.1. See further details below and in the linked PRs.
What's Changed
- feat(api): Group commands by openapi tag by @wdullaer in #131
- openapi: do not overflow the stack for circular types by @pyr in #133
- Add TLS Config before Auth by @MartyHub in #129
- fix: update dependencies, fix go vet issues by @danielgtaylor in #135
- fix: upgrade glamour to get highlighter fix by @danielgtaylor in #136
- fix: get dev version via os.Executable by @danielgtaylor in #137
- feat: mark & hide deprecated operations by @danielgtaylor in #138
- allow overriding base url in profiles by @pyr in #139
- feat!: switch to shorthand v2 by @danielgtaylor in #140
- feat: edit command now uses shorthand query by @danielgtaylor in #141
- auth: support deferring authentication to a third party script by @pyr in #132
- fix: casing so tests pass again by @danielgtaylor in #142
- docs: showcase the recent addition of external-tool auth by @pyr in #143
- feat!: revamp default output behavior by @danielgtaylor in #144
- fix: fix loader hints overriding the whole base url by @csm-thu in #146
- feat!: OpenAPI 3.1 support, fixes #115 by @danielgtaylor in #145
New Contributors
- @pyr made their first contribution in #133
- @MartyHub made their first contribution in #129
- @csm-thu made their first contribution in #146
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
- docs: update missed example.com reference by @danielgtaylor in #114
- Password prompt when user defined but not password by @kpetremann in #116
- api: add show and add missing sync documentation by @kpetremann in #117
- feat: render Markdown using glamour by @danielgtaylor in #118
- docs: various updates & config examples by @danielgtaylor in #119
- chore: adding some forgotten files by @danielgtaylor in #120
- fix: build on windows by @danielgtaylor in #121
New Contributors
- @kpetremann made their first contribution in #116
Demos
The new Markdown rendering feature looks like this (old on the left, new on the right):
Full Changelog: v0.13.3...v0.14.0
v0.13.3
What's Changed
- docs/configuration.md: Clarify equivalent commands by @waldyrious in #109
- fix: formatting, simplify dates by @danielgtaylor in #110
- fix: base64 handling of []byte and raw mode on structured input by @danielgtaylor in #111
- fix: combine all links for paginated responses by @danielgtaylor in #112
- docs: update guide & other docs by @danielgtaylor in #113
New Contributors
- @waldyrious made their first contribution in #109
Full Changelog: v0.13.2...v0.13.3