@danieltmn/tamnora 0.11.1 → 0.11.2
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
CHANGED
|
@@ -5,6 +5,15 @@ Todos los cambios relevantes de este proyecto se documentan en este archivo.
|
|
|
5
5
|
El formato sigue [Keep a Changelog](https://keepachangelog.com/es-ES/1.1.0/)
|
|
6
6
|
y el proyecto usa [Versionado Semantico](https://semver.org/lang/es/).
|
|
7
7
|
|
|
8
|
+
## [0.11.2] - 2026-10-09
|
|
9
|
+
|
|
10
|
+
### Arreglado
|
|
11
|
+
|
|
12
|
+
- **CI en Node 22**: el backoff de `withRetry` usaba un timer `unref`, que dejaba
|
|
13
|
+
que el event loop se vaciara y `node:test` cancelara los tests de
|
|
14
|
+
`resilience.test.js` ("Promise resolution is still pending..."). Se quito el
|
|
15
|
+
`unref`: ahora el reintento mantiene el loop vivo y la suite pasa en Node 22.
|
|
16
|
+
|
|
8
17
|
## [0.11.1] - 2026-10-09
|
|
9
18
|
|
|
10
19
|
### Arreglado
|
|
@@ -26,8 +26,10 @@ export function isRetryableError(err) {
|
|
|
26
26
|
|
|
27
27
|
function sleep(ms, signal) {
|
|
28
28
|
return new Promise((resolve, reject) => {
|
|
29
|
+
// Sin `unref`: en Node 22 un timer sin referencias deja que el event loop se
|
|
30
|
+
// vacíe y `node:test` cancela los tests ("Promise resolution is still
|
|
31
|
+
// pending..."). Si abortan, el listener de abajo lo limpia.
|
|
29
32
|
const timer = setTimeout(resolve, ms);
|
|
30
|
-
timer.unref?.();
|
|
31
33
|
if (!signal) return;
|
|
32
34
|
if (signal.aborted) {
|
|
33
35
|
clearTimeout(timer);
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</head>
|
|
38
38
|
<body>
|
|
39
39
|
<header class="topbar">
|
|
40
|
-
<div class="brand"><span class="logo"><img src="/icons/logo.png" alt="Tamnora" /></span> <span class="ver">v0.11.
|
|
40
|
+
<div class="brand"><span class="logo"><img src="/icons/logo.png" alt="Tamnora" /></span> <span class="ver">v0.11.2</span></div>
|
|
41
41
|
<nav class="tabs">
|
|
42
42
|
<button class="tab active" data-tab="chat">chat</button>
|
|
43
43
|
<button class="tab" data-tab="providers">proveedores</button>
|
package/package.json
CHANGED