Skip to content

Tags: mrsarm/reqclient

Tags

2.4.0

Toggle 2.4.0's commit message
2.4.0

-----

* Added `forever` option to setup the `forever-agent`
  (to keep connections alive).
* Added `gzip` option to optimize network usage and speed up requests.
* Added `followRedirect`, `followAllRedirects` and `maxRedirects`
  options to follow HTTP 3xx responses as redirects
* Added `requestOptions` option, that allows to pass options
  to `request` module that are not covered by reqclient's options,
  like `cert`, `key`, `proxy`, `pool`, etc.
* Improved the doc, added `async` / `await` examples.
* Updated dependencies (it's not necessary to update
  dependencies in projects with oldest versions).

2.3.0

Toggle 2.3.0's commit message
2.3.0

-----

* Added `fullResponse` option to return the full response instead
  of just the body.

2.2.0

Toggle 2.2.0's commit message
2.2.0

-----

* Fixed array parameters in "query" object parsed as
  unique param in URIs.

2.1.0

Toggle 2.1.0's commit message
2.1.0

=====

* Use to output logs `logger.info()` instead of `logger.log()`
  to be compliant with external loggers.

2.0.2

Toggle 2.0.2's commit message
reqclient 2.0.2

===============

* Fixed OAuth2 login with unauthorized error response with JSON
  format are propagated as a string message error.
* Fixed OAuth2 token expiration check where there is no
  expiration defined.

2.0.1

Toggle 2.0.1's commit message
reqclient 2.0.1

===============

* Fixed quote character used when system environment variables are used in _cURL_ logging.

2.0.0

Toggle 2.0.0's commit message
reqclient 2.0.0

===============

* Added HTTP Authentication support.
* Added OAuth2 Authentication support.
* Added full URL parameter support on each call.
* If `debugResponse` is activated and a response has
  HTTP Status >= 400 it will log with `error` severity.
* Added an optional parameter `options` to all public method
  to override the default options.

* `_prepareOptions()` method now builds the request options in
  async mode returning a `Promise`, useful to add options obtained
  from external resources without blocking the execution, like an
  access token from an OAuth server.
* The new `options` parameter replace the `cacheTtl` parameter
  in the `get()` method. Now this parameter is a optional property
  inside the `options` parameter (eg. `{cacheTtl: 60, ...}`).

1.2.2

Toggle 1.2.2's commit message
reqclient 1.2.2

===============

* Fixed mutable header issue.

1.2.1

Toggle 1.2.1's commit message
reqclient 1.2.1

===============

* Fixed formData debug with `null` values.

1.2.0

Toggle 1.2.0's commit message
reqclient 1.2.0

===============

* Improvements in `form` and `formData` submits, useful
  to send files.
* Use `encodeURIComponent()` to encode query parameters.
* Added CHANGELOG file.