httpyac

Command Line Interface for *.http and *.rest files. Connect with http, gRPC, WebSocket and MQTT

MIT License

Downloads
27.7K
Stars
401
Committers
20

Bot releases are hidden (Show)

httpyac - v5.3.0

Published by AnWeber over 2 years ago

Breaking Changes

  • The default behavior of setting variables has been changed. Now the variables are evaluated directly (query evaluates to ?foo=foobar).
@bar=bar
@foo=foo{{bar}}

###
@bar=bar2
GET https://httpbin.org/anything?foo={{foo}} HTTP/1.1

The previous behavior can be enforced by means of := (query evaluates to ?foo=foobar2).

@bar=bar
@foo:=foo{{bar}}

###
@bar=bar2
GET https://httpbin.org/anything?foo={{foo}} HTTP/1.1

Features

  • allow simple transform response variables (#235)
GET https://httpbin.org/json

@foo={{response.parsedBody.slideshow.author}}

Fix

  • right order of cli output (#237)
httpyac - v5.2.3

Published by AnWeber over 2 years ago

Fix

  • Security fix for transitive Dependency minimist
httpyac - v5.2.2

Published by AnWeber over 2 years ago

Fix

  • OAuth2 uses only fallback, if prefixed value is undefined or null (#228)

Contributors
Thanks to @fredrikhr

httpyac - v5.2.1

Published by AnWeber over 2 years ago

Features

  • merge all responses on using repeat-mode and add count of status (httpyac.github.io#34)

Fix

  • Variable substitution did not work inside body of application/x-www-form-urlencoded (httpyac/httpyac.github.io#36)
  • revert modification of # @import and store imported http files in httpFileStore (AnWeber/vscode-httpyac#112)
httpyac - v5.2.0

Published by AnWeber over 2 years ago

Features

  • add RFC7636 OAuth2 Authorization Code Flow with PKCE support (#219)
  • add RFC8707 OAuth2 Resource Indicator support (#218)

Fix

  • # @import does not store file in httpFileStore, if it is not already loaded in the store (AnWeber/vscode-httpyac#110)

Contributors
Thanks to @fredrikhr and @thzink

httpyac - v5.1.0

Published by AnWeber over 2 years ago

Features

  • add workspace trust support (AnWeber/vscode-httpyac#104)
  • OAuth2 Authorization Code Flow and Password Flow supports public clients (#214)

Fixes

  • fixed parsing of meta data # @jwt
  • fix order of variable replacer (#216)

Contributors

Thanks to @fredrikhr

httpyac - v5.0.4

Published by AnWeber over 2 years ago

Fixes

  • multiple import of the same file does not abort processing (#212)
  • setClipboard on device_code OAuth2 flow does not throw exceptions (#211)
httpyac - v5.0.3

Published by AnWeber over 2 years ago

Fixes

  • OAuth2 does not use token exchange flow
httpyac - v5.0.2

Published by AnWeber over 2 years ago

Fixes

  • fix invalid protocol (#210)
httpyac - v5.0.1

Published by AnWeber over 2 years ago

Fixes

  • add mergeRawHttpHeaders to utils (#209)
httpyac - v5.0.0

Published by AnWeber over 2 years ago

Breaking Changes

  • The internal project structure was revised and a better separation of the plugin components was achieved. These are preparations to possibly provide an ESM build or support vscode.dev in the future.
  • Setting Got Options directly on the request will be removed in one of the next versions. Got checks in v12 whether only valid options are set. But since options and custom properties are mixed at the request object, such a separation would be difficult. Please change request[...] to request.options[...].
  • function interface of StreamLogger changed

Features

  • added RabbitMQ Support
  • add OAuth2 Variable Prefix to Session to allow cache of different user login (#207)

Fixes

  • transitive request references (@import) not being resolved (#205)
  • import of modified variables works when using @forceRef (#205)

Contributors

Thanks to @fredrikhr

httpyac - v4.10.2

Published by AnWeber over 2 years ago

Features

  • add Asciidoc Injection
  • add testFactory to utils (#194)
  • update to globby and clipboardy ESM Packages

Fix

  • use device_code instead of code in OAuth2 Device Code Flow
  • add more file extensions for Markdown Injection (Anweber/vscode-httpyac#102)
httpyac - v4.10.1

Published by AnWeber over 2 years ago

Fix

  • add fallback, if fsPath results in undefined/ error (AnWeber/httpbook#43)
  • Error parsing grpc URL starting with grpc fixed (mistaken for protocol)
httpyac - v4.10.0

Published by AnWeber over 2 years ago

Features

  • use Host Header as Url Prefix (#189)
  • add cookie to userSessionStore instead cookieStore
  • # @loop allows actions before execution of the loop (e.g. # @ref ...)
  • use all dotenv files between httpfile directory and rootDir (#174)

Fix

  • handle Windows directory separators in glob pattern (#175)

Thanks

@yanghua-ola and @fredrikhr for contributing

httpyac - v4.9.1

Published by AnWeber almost 3 years ago

Fix

  • GRPC name resolution problem when the path was set (#158)
httpyac - v4.9.0

Published by AnWeber almost 3 years ago

Features

  • support http codeblocks in markdown files (#164)
  • add raw headers to httpResponse (#165)
  • add special env setting request_rejectUnauthorized to ignore SSL Verification (#159)
  • add special env setting request_proxy to set proxy (#159)
  • proxy support of socks:// proxy (AnWeber/vscode-httpyac#91)

Thanks

@fredrikhr for contributing

httpyac - v4.8.2

Published by AnWeber almost 3 years ago

Fix

  • replace all whitespace in meta data name and use camelCase instead of underscore (#154)
  • support nested envDirName (AnWeber/vscode-httpyac#93)
  • allow hyphens in variable name (AnWeber/vscode-httpyac#95)
httpyac - v4.8.1

Published by AnWeber almost 3 years ago

Fix

  • really read all *.env.json as Intellij Environment Files (AnWeber/vscode-httpyac#94)
httpyac - v4.8.0

Published by AnWeber almost 3 years ago

Feature

  • @import supports variable substitution (#151)
  • render objects as JSON while replacing variables (#146)
  • add httpResponse as named variable with ${name}Response (#152)

Fix

  • read all *.env.json as Intellij Environment Files (AnWeber/vscode-httpyac#94)
  • Intellij client.global.set really changes variables for this run (#150)
httpyac - v4.7.4

Published by AnWeber almost 3 years ago

4.7.4 (2021-12-05)

Feature

  • add new Command httpyac oauth2 to support output of OAuth2 JWT Token (#138)

Fix

  • remove ?? to support NodeJS v12 (#123)
  • oauth2 variables are expanded
Package Rankings
Top 4.08% on Npmjs.org
Related Projects