diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f34b49..f4f3cfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [4.5.0] - 2023-05-11 + +### Added + +- `forceNew` option + +### Update + +- Bump `@angular` dependencies to v16.0.0. +- Bump `ng-packagr` dependencies to v16.0.0. ## [4.4.0] - 2022-11-17 @@ -103,7 +113,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed -- Pack library to `ng-packagr` from `ngc-rollup`. ([@GregOnNet](https://github.com/GregOnNet) +- Pack library to `ng-packagr` from `ngc-rollup`. ### Fixed diff --git a/package-lock.json b/package-lock.json index 52023ea..9290499 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ngx-socket-io", - "version": "4.4.0", + "version": "4.5.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 20cce87..e29a5a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-socket-io", - "version": "4.4.0", + "version": "4.5.0", "description": "Socket.IO module for Angular", "main": "index.ts", "scripts": { @@ -31,19 +31,19 @@ "zone.js": "~0.11.4" }, "peerDependencies": { - "@angular/common": "^15.0.0", - "@angular/core": "^15.0.0", + "@angular/common": "^16.0.0", + "@angular/core": "^16.0.0", "rxjs": "^7.0.0" }, "devDependencies": { - "@angular/compiler": "^15.0.0", - "@angular/compiler-cli": "^15.0.0", - "@angular/core": "^15.0.0", + "@angular/compiler": "^16.0.0", + "@angular/compiler-cli": "^16.0.0", + "@angular/core": "^16.0.0", "@types/node": "^12.7.1", "@types/socket.io": "^2.1.2", "@types/socket.io-client": "^1.4.32", "husky": "^6.0.0", - "ng-packagr": "^15.0.0", + "ng-packagr": "^16.0.0", "prettier": "^2.2.1", "rxjs": "^7.0.0", "tslint": "^5.18.0", diff --git a/src/config/socket-io.config.ts b/src/config/socket-io.config.ts index 46ac143..353615e 100644 --- a/src/config/socket-io.config.ts +++ b/src/config/socket-io.config.ts @@ -129,11 +129,11 @@ export interface SocketIoConfig { * decide whether to trigger disconnect event when reloading the page or not * */ closeOnBeforeunload?: boolean; - + /** * Whether to create a new Manager instance. Default value: false */ - forceNew ?: boolean; + forceNew?: boolean; // Additional options for NodeJS Engine.IO clients omitted: https://socket.io/docs/client-api/ };