From 1d431e695283b3c6350401d4e7a86ff0100bdd51 Mon Sep 17 00:00:00 2001 From: Matthew W Date: Mon, 14 Aug 2023 21:04:10 +1000 Subject: [PATCH] docs: bump version to 0.9.0. add latest changes to changelog. --- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a7fae6..caccf37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 0.9.0 - 2023-08-14 + +### Added + +* Added the ability to type the `state` property of sessions registered with a [Channel](./docs/api.md#channel) via an optional second generic argument to the `Channel` constructor. +* Added the [`DefaultChannelState` interface](./docs/api.md#channelstate-state) that may be used via module augmentation to alter the default channel state type for all channels. + +### Changed + +* Update the [`SessionState` interface](docs/api.md#sessionstate-state) to be named `DefaultSessionState`. + ## 0.8.0 - 2022-06-02 ### Added diff --git a/package.json b/package.json index 2c7072c..63bb568 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "better-sse", "description": "Dead simple, dependency-less, spec-compliant server-side events implementation for Node, written in TypeScript.", - "version": "0.8.0", + "version": "0.9.0", "main": "./build/index.js", "types": "./build/index.d.ts", "license": "MIT",