@ddd-ts-kit/events 0.11.0 → 0.12.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.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -124,6 +124,11 @@ An adapter `implements OutboxStore` and never extends it: the port has abstract
124
124
  Without a container the same objects are built by hand:
125
125
  `new OutboxPublisher(store)`, `new OutboxRelay({ store, publisher: broker, clock })`.
126
126
 
127
+ The outbox also carries the purge requests of the HTTP caches (`CacheInvalidation` of the
128
+ kernel): the relay publishes through `new PurgingPublisher(purger, broker)`, which hands them to
129
+ the `CachePurger` instead of the broker. See "Cache tags and purge after the commit" in the
130
+ README of `@ddd-ts-kit/http`.
131
+
127
132
  `relay.tick()` claims a batch, publishes each event, marks it published, or schedules a retry
128
133
  with an exponential backoff; after `maxAttempts` the record is `dead` until
129
134
  `store.retryDead(ids, now)`. `store.stats()` gives `{ pending, failed, dead }` for a health
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/events",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Technology-agnostic integration events: typed declarations, registry, transactional outbox, AsyncAPI and catalog generation.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -30,8 +30,8 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@ddd-ts-kit/kernel": "0.11.0",
34
- "@ddd-ts-kit/validation": "0.11.0"
33
+ "@ddd-ts-kit/kernel": "0.12.0",
34
+ "@ddd-ts-kit/validation": "0.12.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "zod": "^4.6.5"