Skip to content

Commit 193b04d

Browse files
bump 4.x and up CL
1 parent fa42324 commit 193b04d

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1-
## [3.2.0](https://github.com/sketch7/signalr-client/compare/3.1.0...3.2.0) (2022-11-24)
1+
## [4.0.0](https://github.com/sketch7/signalr-client/compare/3.1.0...4.0.0) (2022-11-24)
22

33
### Features
44

55
- **deps** update `@microsoft/signalr: ^6.0.11`
66

7+
### BREAKING CHANGES
8+
9+
- **angular:** **KNOWN ISSUE**: usage directly with angular when listening to changes seems to require zone now (usage with state works fine, and its suggested)
10+
```ts
11+
this.connection.on<Hero>("HeroChanged").pipe(
12+
// ... change ui
13+
// tap(() => this.cdr.markForCheck()), // used to work
14+
tap(() => this.ngZone.run(() => this.cdr.markForCheck())), // with @microsoft/signalr 6.x is not working without zone
15+
).subscribe();
16+
```
17+
718
## [3.1.0](https://github.com/sketch7/signalr-client/compare/3.0.0...3.1.0) (2022-11-22)
819

920
### Features

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ssv/signalr-client",
3-
"version": "3.2.0",
3+
"version": "4.0.0",
44
"versionSuffix": "",
55
"description": "SignalR client library built on top of @microsoft/signalr. This gives you more features and easier to use.",
66
"homepage": "https://github.com/sketch7/signalr-client",

0 commit comments

Comments
 (0)