diff --git a/CHANGELOG.md b/CHANGELOG.md index 13c021a..e8d1ba7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ (all dates use the ISO-8601 format, which is YYYY/MM/DD) +## 2.3.1 (2023/5/10) + +* The `SlackHookOptions` type now extends `TransportStreamOptions`. This change is courtesy of [Pull #26](https://github.com/TheAppleFreak/winston-slack-webhook-transport/pull/26). Thanks @DominicRoyStang! + ## 2.3.0 (2023/4/5) * Added an option (`emitAxiosErrors`) to enable or disable emitting errors if Axios throws an error. Previously, if Axios returned an error for any reason, this would emit an error, which if unhandled would be treated as an unhandled exception. This includes potentially transient issues, such as if Slack would return an error for any reason, including API outages or `429 Too Many Requests` errors. This option requires the user to explicitly opt into this behavior, and is `false` by default. This closes [Issue #24](https://github.com/TheAppleFreak/winston-slack-webhook-transport/issues/24). Thanks @jbojbo for bringing this to my attention! @@ -101,4 +105,4 @@ * Reworked the logger so it uses [request](https://github.com/request/request) instead of the much heavier Slack API. * Added support for the new [Layout Blocks](https://api.slack.com/messaging/composing/layouts) formatting option that Slack recently introduced. * Implemented formatter suggestion from [Issue #2](https://github.com/TheAppleFreak/winston-slack-webhook-transport/issues/2) to tidy up the logger calls. -* Removed the old method of attaching attachments, also as a suggestion from Issue #2. \ No newline at end of file +* Removed the old method of attaching attachments, also as a suggestion from Issue #2. diff --git a/package.json b/package.json index a84926a..8609d04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "winston-slack-webhook-transport", - "version": "2.3.0", + "version": "2.3.1", "description": "A Slack transport for Winston 3 that logs to a channel via webhooks.", "main": "slackHook.js", "typings": "./slackHook.d.ts",