@stacksjs/defaults 0.75.215 → 0.75.217

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.
@@ -29,13 +29,19 @@ Response is a status-code enum, not the Fetch API Response constructor. Alias
29
29
  it when both are used. fetchWithBudget returns the real Fetch Response;
30
30
  non-2xx status is a response, not automatically an exception.
31
31
 
32
- The current helper adds an abort timer per fetch attempt (default 30 seconds),
33
- and retries 429/503 up to retry (default zero). Numeric Retry-After seconds or
34
- exponential delay is capped at 30 seconds between attempts. It does not parse
35
- HTTP-date Retry-After, impose one total deadline including all retries, or keep
36
- the timer active while the caller later streams the body. It supplies its own
37
- AbortController signal rather than composing an incoming signal. Check these
38
- bounds before depending on it for a whole multi-step provider operation.
32
+ The helper applies one timeout (default 30 seconds) across fetch attempts and
33
+ retry waits, composing the deadline with an incoming signal (including a
34
+ Request's signal). It retries 429/503 up to retry (default zero), honoring
35
+ numeric and HTTP-date Retry-After. A server delay that exceeds the remaining
36
+ budget ends in a timeout rather than an early retry. Missing or invalid delays
37
+ use exponential backoff capped at 30 seconds. Discarded response bodies are
38
+ cancelled before retrying. Retry counts must be non-negative safe integers;
39
+ timeouts must be positive, finite and within the platform timer range.
40
+
41
+ Retries need replayable buffered bodies and an idempotent operation. A streaming
42
+ body or a Request with a body is sent once, returning its original response;
43
+ use a URL plus buffered bytes for retryable uploads. The budget ends when final
44
+ response headers arrive, so the caller still owns subsequent body consumption.
39
45
 
40
46
  ## Httx client and fluent requests
41
47
 
@@ -55,7 +55,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
55
55
  | `@stacksjs/git` | [`stacks-git`](../stacks-git/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/git/src/index.ts) | 1 |
56
56
  | `@stacksjs/github` | [`stacks-git`](../stacks-git/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/github/src/index.ts) | 7 |
57
57
  | `@stacksjs/health` | [`stacks-health`](../stacks-health/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/health/src/index.ts) | 2 |
58
- | `@stacksjs/http` | [`stacks-http`](../stacks-http/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/http/src/index.ts) | 1 |
58
+ | `@stacksjs/http` | [`stacks-http`](../stacks-http/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/http/src/index.ts) | 2 |
59
59
  | `@stacksjs/i18n` | [`stacks-i18n`](../stacks-i18n/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/i18n/src/index.ts) | 4 |
60
60
  | `@stacksjs/image` | [`stacks-image`](../stacks-image/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/image/src/index.ts) | 2 |
61
61
  | `@stacksjs/lint` | [`stacks-lint`](../stacks-lint/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/lint/src/index.ts) | 3 |
@@ -537,7 +537,7 @@ Guidance: [`stacks-http`](../stacks-http/SKILL.md). Source: [storage/framework/c
537
537
 
538
538
  Declared runtime exports: `Response`, `fetchWithBudget`.
539
539
 
540
- Evidence directory: [1 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/http/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
540
+ Evidence directory: [2 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/http/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
541
541
 
542
542
  ### @stacksjs/i18n
543
543
 
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.75.215",
5
+ "version": "0.75.217",
6
6
  "description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.215",
5
+ "version": "0.75.217",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/stacksjs/stacks.git",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@iconify-json/f7": "^1.2.2",
46
46
  "@iconify-json/hugeicons": "^1.2.35",
47
- "@stacksjs/mobile": "0.75.215",
47
+ "@stacksjs/mobile": "0.75.217",
48
48
  "@stacksjs/sanitizer": "^0.2.534",
49
49
  "@xterm/addon-fit": "^0.11.0",
50
50
  "@xterm/xterm": "^6.0.0",