From ee7842dfce4a8f9edd82a7e98cc47e7ff8ef72ff Mon Sep 17 00:00:00 2001 From: Shota Fuji Date: Sat, 12 Mar 2022 17:41:19 +0000 Subject: [PATCH] v2.0.0 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae26030..295fa90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] - 2022-03-13 + +### Changed + +- Change TypeScript typing for the return type of `parse` function from `Node` to `Root`. Since `Node` has been including `Root`, this is breaking only when you obtain `Node` interface type by inferencing the return type of `parse` function. (PR: [#27](https://github.com/pocka/slack-message-parser/pull/27)). + ## [1.1.0] - 2021-05-25 ### Added diff --git a/package.json b/package.json index c516919..a4b4608 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "slack-message-parser", - "version": "1.1.0", + "version": "2.0.0", "description": "Parser for Slack message", "main": "lib/index.js", "types": "lib/index.d.ts",