edfcore 0.4.325 → 0.4.327

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.325";
112
+ export declare const VERSION = "0.4.327";
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.325';
82
+ export const VERSION = '0.4.327';
83
83
  //# sourceMappingURL=constants.js.map
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,41 @@ 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.327
10
+
11
+ - **Changed** how publishing is triggered: `publish.yml` now runs on a pushed **tag** rather than
12
+ on a published GitHub release. The two had been the same thing, which made a GitHub release a
13
+ mandatory step in shipping a patch version rather than an announcement — a hundred of them for
14
+ changes of two or three lines each, burying anything worth reading. The tag was already the
15
+ per-version record; now it is also the door to npm.
16
+ - **Added** `npm run announce`, which cuts ONE release for a whole batch. Its range runs from the
17
+ newest tag that already has a release to the newest tag, so running it twice is a no-op and an
18
+ interrupted batch is picked up by the next run. The notes are the changelog entries for those
19
+ versions verbatim, and a tag in the range with no entry stops it rather than being announced
20
+ past.
21
+ - **Reordered** `scripts/release.mjs` so the gate got stricter rather than weaker. It now pushes
22
+ main, waits for CI to go green on that exact commit, and only then creates and pushes the tag.
23
+ Before, the tag was already public while CI ran, so a red commit spent the version number and
24
+ the fix had to become the next one. Now a failure leaves the number free: the repair is an
25
+ ordinary commit on top and another run, and the changelog entry already written stays true.
26
+ - Nothing about the per-version contract moved. One commit, one tag, one npm publish, and the
27
+ script still refuses to exit until the version is installable.
28
+
29
+ ## 0.4.326
30
+
31
+ - **Added** the last unchecked section of `physical-values.md`: the four conditions that leave a
32
+ signal with no scale. Each row's code is produced by building the signal the row describes and
33
+ catching what `toPhysical` refuses it with, and the table's introduction — "checked in this
34
+ order" — is exercised against signals that trip two conditions at once, because the order is
35
+ what decides which code such a signal reports.
36
+ - The page's second verbatim message block is pinned the way 0.4.316 pinned the first: only the
37
+ hard wraps are undone, since the runs of spaces inside it are the raw eight-byte fields quoted as
38
+ the file holds them. Also checked is the asymmetry the section turns on — an inverted physical
39
+ range keeps its scale, because a negative amplifier gain has a documented meaning, and an
40
+ inverted digital range does not and is refused.
41
+ - With this, `edf-format.md` and `physical-values.md` are no longer the two pages nothing in the
42
+ suite reads.
43
+
9
44
  ## 0.4.325
10
45
 
11
46
  - **Added** a check for the claim `edf-format.md` closes with: "Every diagnostic edfcore emits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfcore",
3
- "version": "0.4.325",
3
+ "version": "0.4.327",
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",
@@ -75,6 +75,7 @@
75
75
  "verify:site": "node scripts/check-site-output.mjs",
76
76
  "corpus:fetch": "node scripts/fetch-corpus.mjs",
77
77
  "release": "node scripts/release.mjs",
78
+ "announce": "node scripts/announce-batch.mjs",
78
79
  "prepublishOnly": "npm run check && npm run build"
79
80
  },
80
81
  "publishConfig": {
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.325';
96
+ export const VERSION = '0.4.327';