Skip to content

Commit 3963f65

Browse files
committed
Release v4.5.0
1 parent d4817a1 commit 3963f65

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [4.5.0] - 2023-05-11
9+
10+
### Added
11+
12+
- `forceNew` option
13+
14+
### Update
15+
16+
- Bump `@angular` dependencies to v16.0.0.
17+
- Bump `ng-packagr` dependencies to v16.0.0.
818

919
## [4.4.0] - 2022-11-17
1020

@@ -103,7 +113,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
103113

104114
### Changed
105115

106-
- Pack library to `ng-packagr` from `ngc-rollup`. ([@GregOnNet](https://github.com/GregOnNet)
116+
- Pack library to `ng-packagr` from `ngc-rollup`.
107117

108118
### Fixed
109119

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-socket-io",
3-
"version": "4.4.0",
3+
"version": "4.5.0",
44
"description": "Socket.IO module for Angular",
55
"main": "index.ts",
66
"scripts": {
@@ -31,19 +31,19 @@
3131
"zone.js": "~0.11.4"
3232
},
3333
"peerDependencies": {
34-
"@angular/common": "^15.0.0",
35-
"@angular/core": "^15.0.0",
34+
"@angular/common": "^16.0.0",
35+
"@angular/core": "^16.0.0",
3636
"rxjs": "^7.0.0"
3737
},
3838
"devDependencies": {
39-
"@angular/compiler": "^15.0.0",
40-
"@angular/compiler-cli": "^15.0.0",
41-
"@angular/core": "^15.0.0",
39+
"@angular/compiler": "^16.0.0",
40+
"@angular/compiler-cli": "^16.0.0",
41+
"@angular/core": "^16.0.0",
4242
"@types/node": "^12.7.1",
4343
"@types/socket.io": "^2.1.2",
4444
"@types/socket.io-client": "^1.4.32",
4545
"husky": "^6.0.0",
46-
"ng-packagr": "^15.0.0",
46+
"ng-packagr": "^16.0.0",
4747
"prettier": "^2.2.1",
4848
"rxjs": "^7.0.0",
4949
"tslint": "^5.18.0",

src/config/socket-io.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ export interface SocketIoConfig {
129129
* decide whether to trigger disconnect event when reloading the page or not
130130
* */
131131
closeOnBeforeunload?: boolean;
132-
132+
133133
/**
134134
* Whether to create a new Manager instance. Default value: false
135135
*/
136-
forceNew ?: boolean;
136+
forceNew?: boolean;
137137

138138
// Additional options for NodeJS Engine.IO clients omitted: https://socket.io/docs/client-api/
139139
};

0 commit comments

Comments
 (0)