Skip to content

Commit

Permalink
Release v4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rodgc committed Nov 8, 2023
1 parent 03e7808 commit 63fbe1a
Show file tree
Hide file tree
Showing 4 changed files with 1,066 additions and 4,494 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ 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.6.0] - 2023-11-08

### Added

- Optional callback to `ioSocket.connect` method.

### Update

- Bump `@angular` dependencies to v17.0.0.
- Bump `ng-packagr` dependencies to v17.0.0.
- Bump `postcss` dependencies to 8.4.31.
- Bump `zone.js` dependencies to 0.13.0.
- Bump `socket.io` dependencies to 4.7.2.
- Bump `socket.io-client` dependencies to 4.7.2.
- Bump `socket.io-client` dependencies to 4.7.2.
- Bump `@types/socket.io` dependencies to 2.1.13.
- Bump `@types/socket.io-client` dependencies to 1.4.36.

## [4.5.1] - 2023-05-11

### Added
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
Make sure you're using the proper corresponding version of socket.io on the server.

| Package Version | Socket-io Server Version | Angular version |
|-----------------|--------------------------|-----------------|
| --------------- | ------------------------ | --------------- |
| v3.4.0 | v2.2.0 | |
| v4.1.0 | v4.0.0 | 12.x |
| v4.2.0 | v4.0.0 | 13.x |
| v4.3.0 | v4.5.1 | 14.x |
| v4.4.0 | v4.5.1 | 15.x |
| v4.5.0 | v4.5.1 | 16.x |
| v4.6.0 | v4.7.2 | 17.x |

## How to use

Expand Down Expand Up @@ -62,7 +63,7 @@ export class ChatService {
this.socket.emit('message', msg);
}
getMessage() {
return this.socket.fromEvent('message').pipe(map((data) => data.msg));
return this.socket.fromEvent('message').pipe(map(data => data.msg));
}
}
```
Expand Down
Loading

0 comments on commit 63fbe1a

Please sign in to comment.