@bymax-one/nest-realtime 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.6] - 2026-08-06
|
|
11
|
+
|
|
12
|
+
**Published-artifact change, not a behavioural one.** `dist/` differs from `1.0.5` — this
|
|
13
|
+
bundler preserves comments and the source gained mutation-suppression notes — but no runtime
|
|
14
|
+
path changed. Measured by building both revisions and diffing the output.
|
|
15
|
+
|
|
16
|
+
### Documentation
|
|
17
|
+
|
|
18
|
+
- The mutation badge said **99.27%**; the measured score is **100.00%**.
|
|
19
|
+
|
|
20
|
+
### Tests
|
|
21
|
+
|
|
22
|
+
- The SSE stream teardown is pinned: unsubscribing the outer stream leaves the merged subject
|
|
23
|
+
unobserved. RxJS reaches that through the subscriber linkage even without the explicit
|
|
24
|
+
`inner.unsubscribe()`, which the report records — the behaviour is worth pinning whichever way
|
|
25
|
+
it is achieved.
|
|
26
|
+
|
|
10
27
|
## [1.0.5] - 2026-08-04
|
|
11
28
|
|
|
12
29
|
### Security
|
|
@@ -213,6 +230,7 @@ First published release.
|
|
|
213
230
|
asked about NestJS and never put the same question to the other ten peers.
|
|
214
231
|
|
|
215
232
|
[Unreleased]: https://github.com/bymaxone/nest-realtime/compare/v1.0.5...HEAD
|
|
233
|
+
[1.0.6]: https://github.com/bymaxone/nest-realtime/compare/v1.0.5...v1.0.6
|
|
216
234
|
[1.0.5]: https://github.com/bymaxone/nest-realtime/compare/v1.0.4...v1.0.5
|
|
217
235
|
[1.0.4]: https://github.com/bymaxone/nest-realtime/compare/v1.0.3...v1.0.4
|
|
218
236
|
[1.0.3]: https://github.com/bymaxone/nest-realtime/compare/v1.0.2...v1.0.3
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<a href="https://www.npmjs.com/package/@bymax-one/nest-realtime"><img src="https://img.shields.io/npm/dm/@bymax-one/nest-realtime?style=flat-square&colorA=000000&colorB=000000" alt="npm downloads" /></a>
|
|
15
15
|
<a href="https://github.com/bymaxone/nest-realtime/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/bymaxone/nest-realtime/ci.yml?branch=main&style=flat-square&colorA=000000&label=CI" alt="CI status" /></a>
|
|
16
16
|
<a href="https://github.com/bymaxone/nest-realtime/actions/workflows/ci.yml"><img src="https://img.shields.io/badge/coverage-100%25-brightgreen?style=flat-square&colorA=000000" alt="coverage" /></a>
|
|
17
|
-
<a href="https://github.com/bymaxone/nest-realtime/blob/main/docs/mutation_testing_results.md"><img src="https://img.shields.io/badge/mutation-
|
|
17
|
+
<a href="https://github.com/bymaxone/nest-realtime/blob/main/docs/mutation_testing_results.md"><img src="https://img.shields.io/badge/mutation-100.00%25-brightgreen?style=flat-square&colorA=000000" alt="mutation score" /></a>
|
|
18
18
|
<a href="https://scorecard.dev/viewer/?uri=github.com/bymaxone/nest-realtime"><img src="https://api.scorecard.dev/projects/github.com/bymaxone/nest-realtime/badge?style=flat-square" alt="OpenSSF Scorecard" /></a>
|
|
19
19
|
<a href="https://github.com/bymaxone/nest-realtime/blob/main/LICENSE"><img src="https://img.shields.io/github/license/bymaxone/nest-realtime?style=flat-square&colorA=000000&colorB=000000" alt="license" /></a>
|
|
20
20
|
<a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-strict-3178C6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript" /></a>
|
|
@@ -461,8 +461,8 @@ When integrating `@bymax-one/nest-realtime` in production, verify each of the fo
|
|
|
461
461
|
A realtime channel fails in ways that are hard to reproduce — dropped streams, races between reconnect and revocation, one instance not seeing another's emit. The suite is built so those failures are caught by a test, not by a user.
|
|
462
462
|
|
|
463
463
|
- ✅ **100% coverage** — statements, branches, functions, and lines, enforced as a release gate
|
|
464
|
-
- ✅ **
|
|
465
|
-
- ✅ **
|
|
464
|
+
- ✅ **100.00% mutation score** — 655 killed and 7 timed out, zero survivors, verified with [Stryker](https://stryker-mutator.io/) (break threshold 95)
|
|
465
|
+
- ✅ **626 tests** — 593 unit and integration across 37 suites, plus 33 end-to-end across 6
|
|
466
466
|
- ✅ **Cross-instance e2e** — real Redis pub/sub fan-out between two live instances, not a mocked channel
|
|
467
467
|
- ✅ **Bundle-size gate** — the SSE-only React bundle is measured on every build and fails over budget
|
|
468
468
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bymax-one/nest-realtime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Realtime backend → frontend communication for NestJS — dual-transport SSE (default) and WebSocket (opt-in) with a unified server-side API.",
|
|
5
5
|
"author": "Bymax One <support@bymax.one>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"tsup": "^8.0.0",
|
|
207
207
|
"typescript": "^5.6.0"
|
|
208
208
|
},
|
|
209
|
-
"packageManager": "pnpm@11.
|
|
209
|
+
"packageManager": "pnpm@11.20.0",
|
|
210
210
|
"engines": {
|
|
211
211
|
"node": ">=24.0.0"
|
|
212
212
|
},
|