node-cqrs 1.1.0-beta.4 → 1.1.0
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 +12 -45
- package/README.md +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,48 +1,4 @@
|
|
|
1
|
-
# [1.1.0
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Internal Fixes
|
|
5
|
-
|
|
6
|
-
* Allow disposing worker projection proxy more than once ([768f73a](https://github.com/snatalenko/node-cqrs/commit/768f73a28a8a1a572449122f5046c102435dd5bd))
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
# [1.1.0-beta.3](https://github.com/snatalenko/node-cqrs/compare/v1.1.0-beta.2...v1.1.0-beta.3) (2026-05-04)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
### Changes
|
|
13
|
-
|
|
14
|
-
* Deliver events to worker in batches during restoring phase ([212e353](https://github.com/snatalenko/node-cqrs/commit/212e3535b22e6a763a7e0fd1f81036f9ef776ec0))
|
|
15
|
-
|
|
16
|
-
### Documentation
|
|
17
|
-
|
|
18
|
-
* Add index.html for publishing with gh pages ([cac88ed](https://github.com/snatalenko/node-cqrs/commit/cac88edaaef1c9457af48fd7477daf8ae624eb43))
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# [1.1.0-beta.2](https://github.com/snatalenko/node-cqrs/compare/v1.1.0-beta.1...v1.1.0-beta.2) (2026-04-25)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
### Changes
|
|
25
|
-
|
|
26
|
-
* Allow extra command parameters to be passed to AbstractAggregate handler as 3rd argument ([ae11b7e](https://github.com/snatalenko/node-cqrs/commit/ae11b7eb709e658fbc910aadb1376bc8a3fade1b))
|
|
27
|
-
|
|
28
|
-
### Build System
|
|
29
|
-
|
|
30
|
-
* Add "rebuild" npm script ([2e5e977](https://github.com/snatalenko/node-cqrs/commit/2e5e9771f760d15cc1cbbc2f68bc680cd6b97de3))
|
|
31
|
-
|
|
32
|
-
### Internal Fixes
|
|
33
|
-
|
|
34
|
-
* Make `getHandler` to throw error if handler is not defined ([ecbd73e](https://github.com/snatalenko/node-cqrs/commit/ecbd73e0604c74eb85a946b15a4b872b688da01e))
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
# [1.1.0-beta.1](https://github.com/snatalenko/node-cqrs/compare/v1.1.0-beta.0...v1.1.0-beta.1) (2026-04-23)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Internal Fixes
|
|
41
|
-
|
|
42
|
-
* Expose `viewLocker` on WorkerProxyProjection ([628fbe3](https://github.com/snatalenko/node-cqrs/commit/628fbe3c7af141443092cdf1fb6c0824c19a6324))
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
# [1.1.0-beta.0](https://github.com/snatalenko/node-cqrs/compare/v1.0.2...v1.1.0-beta.0) (2026-04-21)
|
|
1
|
+
# [1.1.0](https://github.com/snatalenko/node-cqrs/compare/v1.0.2...v1.1.0) (2026-05-26)
|
|
46
2
|
|
|
47
3
|
|
|
48
4
|
### Features
|
|
@@ -62,6 +18,8 @@
|
|
|
62
18
|
* Use `Identifier` as id type in redis and sqlite views ([dfbe964](https://github.com/snatalenko/node-cqrs/commit/dfbe9648a8ea8e7e5550aa40e0094ca8af1758ef))
|
|
63
19
|
* Add default queueName for RabbitMqCommandBus ([ee4b5a1](https://github.com/snatalenko/node-cqrs/commit/ee4b5a170e44db6227e76d2ffb1695b6dfaef6e4))
|
|
64
20
|
* Add error handling and drain functionality to event publishing process ([d23ea62](https://github.com/snatalenko/node-cqrs/commit/d23ea621c8a71e2cda4baaf091166534c4f5af2e))
|
|
21
|
+
* Allow extra command parameters to be passed to AbstractAggregate handler as 3rd argument ([ae11b7e](https://github.com/snatalenko/node-cqrs/commit/ae11b7eb709e658fbc910aadb1376bc8a3fade1b))
|
|
22
|
+
* Deliver events to worker in batches during restoring phase ([212e353](https://github.com/snatalenko/node-cqrs/commit/212e3535b22e6a763a7e0fd1f81036f9ef776ec0))
|
|
65
23
|
|
|
66
24
|
### Fixes
|
|
67
25
|
|
|
@@ -74,12 +32,21 @@
|
|
|
74
32
|
* Add detailed documentation for redis and mongodb modules ([72e66f5](https://github.com/snatalenko/node-cqrs/commit/72e66f5508a6df6c0a4a341e752cfab76830478a))
|
|
75
33
|
* Detailed sqlite and rabbitmq instructions ([dd242fd](https://github.com/snatalenko/node-cqrs/commit/dd242fd73018bcfa0583ab1ddd12518c4f3a4777))
|
|
76
34
|
* Minor spec update ([6a2883a](https://github.com/snatalenko/node-cqrs/commit/6a2883adc7b6a7a48bb5f62562c2242826860e89))
|
|
35
|
+
* Add index.html for publishing with gh pages ([cac88ed](https://github.com/snatalenko/node-cqrs/commit/cac88edaaef1c9457af48fd7477daf8ae624eb43))
|
|
36
|
+
* Fix homepage styles cdn ([6ab1ff2](https://github.com/snatalenko/node-cqrs/commit/6ab1ff28246b4496a7fc0b2911c01c8960f9959e))
|
|
37
|
+
|
|
38
|
+
### Build System
|
|
39
|
+
|
|
40
|
+
* Add "rebuild" npm script ([2e5e977](https://github.com/snatalenko/node-cqrs/commit/2e5e9771f760d15cc1cbbc2f68bc680cd6b97de3))
|
|
77
41
|
|
|
78
42
|
### Internal Fixes
|
|
79
43
|
|
|
80
44
|
* Rename telemetry metadata span field to `otelSpan`, enhance typings ([2ca2494](https://github.com/snatalenko/node-cqrs/commit/2ca2494625ea8dde11f86fdf078d85c1d848d10a))
|
|
81
45
|
* Compiled AbstractWorkerProjection type compatibility ([bf8ca08](https://github.com/snatalenko/node-cqrs/commit/bf8ca08a09faacb4cbf0da141dd4f09d4647e86e))
|
|
82
46
|
* Enhance message payload typing ([7911acc](https://github.com/snatalenko/node-cqrs/commit/7911accce07cba7c30ae4f5825a6e26e0934b8dc))
|
|
47
|
+
* Expose `viewLocker` on WorkerProxyProjection ([628fbe3](https://github.com/snatalenko/node-cqrs/commit/628fbe3c7af141443092cdf1fb6c0824c19a6324))
|
|
48
|
+
* Make `getHandler` to throw error if handler is not defined ([ecbd73e](https://github.com/snatalenko/node-cqrs/commit/ecbd73e0604c74eb85a946b15a4b872b688da01e))
|
|
49
|
+
* Allow disposing worker projection proxy more than once ([768f73a](https://github.com/snatalenko/node-cqrs/commit/768f73a28a8a1a572449122f5046c102435dd5bd))
|
|
83
50
|
|
|
84
51
|
|
|
85
52
|
## [1.0.2](https://github.com/snatalenko/node-cqrs/compare/v1.0.1...v1.0.2) (2026-04-03)
|
package/README.md
CHANGED
|
@@ -415,6 +415,17 @@ interface ISaga {
|
|
|
415
415
|
Swap implementations by registering different classes in the DI container.
|
|
416
416
|
All modules below implement the same interfaces - pick what fits your deployment.
|
|
417
417
|
|
|
418
|
+
### Capability Matrix
|
|
419
|
+
|
|
420
|
+
| Module | Event storage | Object view storage | Projection wiring / execution | Message buses |
|
|
421
|
+
| ------------------- | -------------------------------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------- |
|
|
422
|
+
| `node-cqrs` | `InMemoryEventStorage`, `InMemorySnapshotStorage` | `InMemoryView`, `InMemoryLock` | `AbstractProjection` | `InMemoryMessageBus` |
|
|
423
|
+
| `node-cqrs/sqlite` | `SqliteEventStorage` | `SqliteObjectView`, `SqliteObjectStorage`, `SqliteViewLocker`, `SqliteEventLocker` | `AbstractSqliteObjectProjection`, `AbstractSqliteView` | - |
|
|
424
|
+
| `node-cqrs/mongodb` | `MongoEventStorage` | `MongoObjectView`, `MongoObjectStorage`, `MongoViewLocker`, `MongoEventLocker` | `AbstractMongoObjectProjection`, `AbstractMongoView` | - |
|
|
425
|
+
| `node-cqrs/redis` | - | `RedisView`, `RedisObjectStorage`, `RedisViewLocker`, `RedisEventLocker` | `AbstractRedisProjection` | - |
|
|
426
|
+
| `node-cqrs/rabbitmq` | - | - | - | `RabbitMqGateway`, `RabbitMqCommandBus`, `RabbitMqEventBus` |
|
|
427
|
+
| `node-cqrs/workers` | - | - | `AbstractWorkerProjection`, `WorkerProxyProjection` | - |
|
|
428
|
+
|
|
418
429
|
### Event Storage
|
|
419
430
|
|
|
420
431
|
Where aggregate events are persisted and replayed from.
|
package/package.json
CHANGED