Skip to content

Commit

Permalink
Prepare for v3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DABH committed Jun 21, 2020
1 parent 9354721 commit b6bc918
Show file tree
Hide file tree
Showing 5 changed files with 3,247 additions and 2,100 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -13,9 +13,9 @@ script:
- npm test
- ./node_modules/.bin/tsc --version ; ./node_modules/.bin/tsc -p test

matrix:
allow_failures:
- node_js: "14"
#matrix:
# allow_failures:
# - node_js: "14"

notifications:
email:
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,23 @@
# CHANGELOG

## v3.3.0 / 2020-06-21

- [#1779] Fix property name in rejection handler.
- [#1768] Exclude extraneous files from NPM package.
- [#1364], [#1714] Don't remove transport from logger when transport error
occurs.
- [#1603] Expose `child` property on default logger.
- [#1777] Allow HTTP transport to pass options to request.
- [#1662] Add bearer auth capabilities to HTTP transport.
- [#1612] Remove no-op in file transport.
- [#1622], [#1623], [#1625] Typescript fixes.
- (Minor) [#1647], [#1793] Update CI settings.
- (Minor) [#1600], [#1605], [#1593], [#1610], [#1654], [#1656], [#1661],
[#1651], [#1652], [#1677], [#1683], [#1684], [#1700], [#1697], [#1650],
[#1705], [#1723], [#1737], [#1733], [#1743], [#1750], [#1754], [#1780],
[#1778] README, Transports.md, other docs changes.
- [#1672], [#1686], [#1772] Update dependencies.

## v3.2.1 / 2019-01-29
### UNBOUND PROTOTYPE AD INFINITUM EDITION

Expand Down
2 changes: 1 addition & 1 deletion lib/winston/transports/http.js
Expand Up @@ -180,7 +180,7 @@ module.exports = class Http extends TransportStream {
// Prepare options for outgoing HTTP request
const headers = Object.assign({}, this.headers);
if (auth && auth.bearer) {
headers['Authorization'] = `Bearer ${auth.bearer}`;
headers.Authorization = `Bearer ${auth.bearer}`;
}
const req = (this.ssl ? https : http).request({
...this.options,
Expand Down

0 comments on commit b6bc918

Please sign in to comment.