Skip to content

Commit 89241c5

Browse files
github-actions[bot]polRk
authored andcommitted
Version Packages
1 parent 85df091 commit 89241c5

File tree

12 files changed

+38
-38
lines changed

12 files changed

+38
-38
lines changed

.changeset/mghxjzdsqj.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/pcrhshgrdb.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"@bufbuild/protobuf": "^2.10.0",
1515
"@ydbjs/api": "^6.0.6",
16-
"@ydbjs/auth": "^6.1.0",
16+
"@ydbjs/auth": "^6.2.0",
1717
"@ydbjs/core": "^6.0.7"
1818
},
1919
"engines": {

examples/environ/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"@ydbjs/api": "^6.0.0",
15-
"@ydbjs/auth": "^6.1.0",
15+
"@ydbjs/auth": "^6.2.0",
1616
"@ydbjs/core": "^6.0.7"
1717
},
1818
"engines": {

examples/fsm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"start": "node index.js"
99
},
1010
"dependencies": {
11-
"@ydbjs/fsm": "^6.1.0"
11+
"@ydbjs/fsm": "^6.1.1"
1212
}
1313
}

examples/sls/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dev": "DEBUG=ydbjs:* node index.js"
1313
},
1414
"dependencies": {
15-
"@ydbjs/auth": "^6.1.0",
15+
"@ydbjs/auth": "^6.2.0",
1616
"@ydbjs/core": "^6.0.7",
1717
"@ydbjs/query": "^6.0.7"
1818
},

examples/tls/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"@ydbjs/api": "^6.0.6",
15-
"@ydbjs/auth": "^6.1.0",
15+
"@ydbjs/auth": "^6.2.0",
1616
"@ydbjs/core": "^6.0.7"
1717
},
1818
"engines": {

package-lock.json

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

packages/auth/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @ydbjs/auth
22

3+
## 6.2.0
4+
5+
### Minor Changes
6+
7+
- [`01777e2`](https://github.com/ydb-platform/ydb-js-sdk/commit/01777e2baa7ea0f0774392db3232ae63e29bbf3c) Thanks [@polRk](https://github.com/polRk)! - Fix memory leak in background token refresh caused by `AbortSignal.any()`
8+
9+
`AbortSignal.any()` registers event listeners on source signals but never removes them, causing a listener leak each time background token refresh is started. Replace it with `linkSignals` from `@ydbjs/abortable@^6.1.0`, which uses `Symbol.dispose` to clean up listeners when the refresh loop exits.
10+
11+
Additional fixes:
12+
- Pass `signal` from the retry callback into `#client.login()` so the login RPC is properly cancelled on abort instead of running unchecked
13+
- Update `@ydbjs/retry` dependency to `^6.2.0` to pick up the same signal-handling fixes in the retry loop
14+
315
## 6.1.0
416

517
### Minor Changes

packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ydbjs/auth",
3-
"version": "6.1.0",
3+
"version": "6.2.0",
44
"description": "Authentication providers for YDB: static credentials, tokens, anonymous, and cloud metadata. Integrates with the core driver for secure access.",
55
"keywords": [
66
"auth",

0 commit comments

Comments
 (0)