edfcore 0.4.282 → 0.4.284

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.
@@ -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.282";
112
+ export declare const VERSION = "0.4.284";
113
113
  //# sourceMappingURL=constants.d.ts.map
package/dist/constants.js CHANGED
@@ -79,5 +79,5 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
79
79
  reserved: 224,
80
80
  };
81
81
  /** Published package version. Kept in sync with package.json by a test. */
82
- export const VERSION = '0.4.282';
82
+ export const VERSION = '0.4.284';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,37 @@ 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.284
10
+
11
+ - **Added** a check that the README's first badge and `/api.json` are the same contract. The badge
12
+ URL carries a JSONPath — `query=%24.exports.total` — against an endpoint generated from the three
13
+ built entry points, and that design exists so the number is counted rather than typed: the site
14
+ footer read "Version 0.1.0" for three minor series. The two halves had never been compared.
15
+ Renaming `total` in the endpoint leaves the badge querying a path that is gone, and shields.io
16
+ does not fail loudly for that — it renders an empty value in the corner of the README, which is
17
+ the one place nobody looks after the first week.
18
+ - The path is extracted from the badge and walked through the object the endpoint builds, the URL
19
+ is checked against `package.json`'s `homepage`, and the total is checked against the API surface
20
+ row it should agree with. The endpoint is read as text rather than imported, because it lives
21
+ under `website/` and importing it would pull in a tsconfig CI does not install — the boundary
22
+ 0.4.264 exists to hold.
23
+
24
+ ## 0.4.283
25
+
26
+ - **Added** a check that the sidebar order is a total order. `content.config.ts` requires `section`
27
+ and `order` on every page so "a new page cannot silently land at the bottom of the wrong group",
28
+ and it cannot require the thing that makes the order deterministic: that no two pages in a
29
+ section share a number. `DocsNav.astro` sorts by it and `Array.prototype.sort` is stable, so a
30
+ tie falls back to whatever order the collection loader returned — a filesystem detail. Two pages
31
+ would swap places between machines and nobody would call it a bug, because nothing said what the
32
+ right order was.
33
+ - The same numbers are the reading order `llms.txt` and `llms-full.txt` hand an agent, which is
34
+ where a tie stops being cosmetic: "the guides, in order" is the only structure those files have.
35
+ Titles and descriptions are checked for uniqueness for the same reason — both are addresses
36
+ rather than prose, and two pages sharing either are two pages a reader cannot tell apart from
37
+ outside. Contiguous numbering is checked as well, which is a judgement rather than a rule: a gap
38
+ breaks nothing, and it is what a deleted page leaves behind.
39
+
9
40
  ## 0.4.282
10
41
 
11
42
  - **Fixed** the corpus manifest calling one field two names. Five of the seven entries recorded
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.282",
3
+ "version": "0.4.284",
4
4
  "description": "Modern, typed, zero-dependency reader for EDF, EDF+, BDF and BDF+ biosignal files. Works in browsers and Node with true random access.",
5
5
  "keywords": [
6
6
  "edf",
package/src/constants.ts CHANGED
@@ -93,4 +93,4 @@ export const SIGNAL_FIELD_BLOCK_OFFSETS = {
93
93
  } as const;
94
94
 
95
95
  /** Published package version. Kept in sync with package.json by a test. */
96
- export const VERSION = '0.4.282';
96
+ export const VERSION = '0.4.284';