From 4710db74950b79b797f08e999880e259c5503c7e Mon Sep 17 00:00:00 2001 From: Andras Date: Tue, 16 Mar 2021 02:30:08 -0400 Subject: [PATCH] update changelog, readme cleanups, bump to v0.13.0 --- README.md | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f0851cf..96b4ee2 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,8 @@ Options that control the behavior of `microreq` (all other options are passed to received bytes in a Buffer. The usual toString() encodings can be specified, and also `'json'` to JSON.parse the response and return the decoded object (or the utf8 response string if unable to parse). -- `auth` - http Basic auth credentials as either the colon-separated `username:password` - string, or an object `{username: , password: }`. The credentials +- `auth` - http Basic auth credentials as either a colon-separated `username:password` + string, or a `{username: , password: }` object. The credentials are used to generate an `Authorization: Basic ` header. Default no auth. - `maxRedirects` - how many 30x redirects to follow by replaying the request against the redirected-to location. This is very simplistic, so use advisedly. Default `0`, @@ -78,7 +78,7 @@ It is possible to build new callers that inherit defaults from their builder. Change Log ---------- -- **0.13.0** - `followRedirects` option +- **0.13.0** - `maxRedirects` option - **0.12.0** - `defaults` method, `auth` option - **0.11.1** - emit timeout errors if noResListen, faster req launch - **0.11.0** - `timeout` option, depend on qmock diff --git a/package.json b/package.json index 6af5746..654d80e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "microreq", - "version": "0.12.1", + "version": "0.13.0", "description": "tiny convenience wrapper around http.request", "main": "index.js", "license": "Apache-2.0",