Skip to content

Commit

Permalink
Release v4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rodgc committed May 11, 2023
1 parent d4817a1 commit 3963f65
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/config/socket-io.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/
};
Expand Down

0 comments on commit 3963f65

Please sign in to comment.