Skip to content

Commit c53ebbd

Browse files
jaredwrayclaude
andauthored
cacheable - fix: upgrade qified and @qified/redis to 0.10.1 (#1631)
Upgrade qified and @qified/redis from 0.9.0 to 0.10.1. The qified 0.10 release renamed the Qified class's unsubscribe method to unsubscribeMessage (the topic/queue-level unsubscribe is now scoped). Update sync.ts to call unsubscribeMessage on namespace changes. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f93f91c commit c53ebbd

3 files changed

Lines changed: 67 additions & 52 deletions

File tree

packages/cacheable/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"devDependencies": {
3838
"@keyv/redis": "^5.1.6",
3939
"@keyv/valkey": "^1.0.11",
40-
"@qified/redis": "^0.9.0",
40+
"@qified/redis": "^0.10.1",
4141
"lru-cache": "^11.3.6",
4242
"tsup": "^8.5.1",
4343
"typescript": "^5.9.3"
@@ -47,7 +47,7 @@
4747
"@cacheable/utils": "workspace:^",
4848
"hookified": "^1.15.0",
4949
"keyv": "^5.6.0",
50-
"qified": "^0.9.0"
50+
"qified": "^0.10.1"
5151
},
5252
"keywords": [
5353
"cacheable",

packages/cacheable/src/sync.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export class CacheableSync extends Hookified {
8888
const oldSetEvent = this.getPrefixedEvent(CacheableSyncEvents.SET);
8989
const oldDeleteEvent = this.getPrefixedEvent(CacheableSyncEvents.DELETE);
9090

91-
void this._qified.unsubscribe(oldSetEvent);
92-
void this._qified.unsubscribe(oldDeleteEvent);
91+
void this._qified.unsubscribeMessage(oldSetEvent);
92+
void this._qified.unsubscribeMessage(oldDeleteEvent);
9393
}
9494

9595
this._namespace = namespace;

pnpm-lock.yaml

Lines changed: 63 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)