edfcore 0.4.390 → 0.4.391
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/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/docs/CHANGELOG.md +19 -0
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
|
|
|
109
109
|
readonly reserved: 224;
|
|
110
110
|
};
|
|
111
111
|
/** Published package version. Kept in sync with package.json by a test. */
|
|
112
|
-
export declare const VERSION = "0.4.
|
|
112
|
+
export declare const VERSION = "0.4.391";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,25 @@ alone does not tell you whether you were affected.
|
|
|
6
6
|
edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
|
|
7
7
|
defect; those are called out below.
|
|
8
8
|
|
|
9
|
+
## 0.4.391
|
|
10
|
+
|
|
11
|
+
- **Added** a check that the defaults the option tables print are the defaults the code applies.
|
|
12
|
+
Four reference pages carry a `Default` column, and between them they publish the numbers almost
|
|
13
|
+
every caller gets by passing nothing: 256 MiB for `maxMaterializeBytes`, 1 MiB blocks and a
|
|
14
|
+
64 MiB budget for `cachedSource`, four in-flight requests for `httpSource`.
|
|
15
|
+
- They are observed rather than imported. Comparing the tables with `DEFAULT_MAX_MATERIALIZE_BYTES`
|
|
16
|
+
would pass just as happily on a release where that constant is no longer what resolves — the
|
|
17
|
+
failure `options.ts` opens by describing, where the budget is resolved in six modules across the
|
|
18
|
+
stack. So the budget is read off the `EdfBudgetError` a refused allocation carries, the block
|
|
19
|
+
size off the read the cache issues, the LRU budget off the clamp it applies to an oversized
|
|
20
|
+
block, and the concurrency off the peak number of requests in flight.
|
|
21
|
+
- Finding out what 256 MiB is costs a few hundred bytes: the budget is checked against the header
|
|
22
|
+
geometry before anything is allocated, so the fixture is a header that declares 4,000 records of
|
|
23
|
+
120,000 bytes over a source that fabricates them.
|
|
24
|
+
- The last check is the closure. Every numeric cell in those `Default` columns has to be one of the
|
|
25
|
+
values observed here, so a newly documented number either gets an observation or fails and names
|
|
26
|
+
the page it is on.
|
|
27
|
+
|
|
9
28
|
## 0.4.390
|
|
10
29
|
|
|
11
30
|
- **Changed** the CLI's print cap from a literal repeated at four call sites to one
|
package/package.json
CHANGED
package/src/constants.ts
CHANGED