Repository navigation
Releases
v0.2.0
What's Changed
- ci: guard for npm and patches from release/X.Y by @markusmazurczak in #42
- ci: a tag publishes the release with its report, then npm by @markusmazurczak in #44
- ci: bump pnpm/action-setup from 6.1.0 to 6.1.1 in the actions group across 1 directory by @dependabot[bot] in #43
- feat: the Home-Mandate Specification v0.2.0-rc.3 in all five classes by @markusmazurczak in #48
- feat: verify an audit log as a stream, in bounded memory by @markusmazurczak in #50
- chore: spec-ts 0.2.0-rc.1 for the specification v0.2.0-rc.4 by @markusmazurczak in #51
- chore: spec-ts 0.2.0 for the specification v0.2.0 by @markusmazurczak in #52
Full Changelog: v0.1.2...v0.2.0
v0.2.0-rc.1
What's Changed
- ci: guard for npm and patches from release/X.Y by @markusmazurczak in #42
- ci: a tag publishes the release with its report, then npm by @markusmazurczak in #44
- ci: bump pnpm/action-setup from 6.1.0 to 6.1.1 in the actions group across 1 directory by @dependabot[bot] in #43
- feat: the Home-Mandate Specification v0.2.0-rc.3 in all five classes by @markusmazurczak in #48
- feat: verify an audit log as a stream, in bounded memory by @markusmazurczak in #50
- chore: spec-ts 0.2.0-rc.1 for the specification v0.2.0-rc.4 by @markusmazurczak in #51
Full Changelog: v0.1.2...v0.2.0-rc.1
v0.1.3-rc.1
What's Changed
- ci(0.1): a tag publishes the release with its report, then npm by @markusmazurczak in #45
- v0.1.3-rc.1 by @markusmazurczak in #46
Full Changelog: v0.1.2...v0.1.3-rc.1
v0.1.2
Implements the Home-Mandate Specification v0.1.1 and conforms to all classes of mandate-conformance@v0.1.1.
- Keys of small order (GHSA-grm8-w7m9-fxj9). The advisory concerns the Go package. spec-ts rejected every tested input, but for these keys only through OpenSSL in Node. It now checks the ten encodings of Section 7.1 itself, both when reading a key set and when verifying.
- Stricter reader.
parseJsonnow rejects Unicode noncharacters, as RFC 7493 requires. Existing audit logs stay valid under the correction in Section 14, andparseRecordedreads them. - Time zones. A zone name now has to be on the built-in list (tzdb 2025c) and known to
Intl. - Package. It now ships
spec/data/corrections-v0.json.
What's Changed
- ci: publish to npm only through the trusted publisher by @markusmazurczak in #35
- fix: reject noncharacters, exact spelling of time zones, numbers of any length by @markusmazurczak in #39
- feat: implement the Home-Mandate Specification v0.1.1 by @markusmazurczak in #40
Full Changelog: v0.1.1...v0.1.2
v0.1.1
First version on npm: npm install @home-mandate/spec.
The behaviour is the same as in v0.1.0. This release still implements the Home-Mandate Specification v0.1.0 and conforms to all classes of mandate-conformance@v0.1.0, also when run against the installed package.
- Package: compiled JavaScript with type declarations, because Node.js does not run TypeScript under
node_modules. No runtime dependencies. Node.js 24 or newer. - Publishing: a published release tests the package and publishes that tarball to npm with provenance.
What's Changed
- feat: publish the package to npm by @markusmazurczak in #34
Full Changelog: v0.1.0...v0.1.1
v0.1.0
TypeScript implementation of the Home-Mandate Specification v0.1.0, the release whose v0 formats are frozen (SPEC-v0 section 14). Conforms to all classes of mandate-conformance@v0.1.0 (evaluator 449/449, selection 28/28, signatures 46/46, audit 316/316, audit-anchored 15/15; manifest aa18f0f0…).
New since v0.1.0-rc.4, following the specification:
- Parameters: a request carries exactly the parameters the vocabulary declares (at most 16, names
^[a-z][a-z0-9_]{0,63}$), required parameters and alternatives (required_one_of); vocabularyv0.1withalarm.armmodes and range setpoints. - Selection:
validSubject(an invalid subject is aninvalid_request),revokednames the single valid revoked mandate when nothing else fits. - Succession:
needsConfirmation,narrowsandentersAuditModedecide whether an offered successor needs a human confirmation; the harness answersconfirm: trueand knowsstored_revoked. - Signed mandates require
audienceandexpires; Ed25519 keys and signatures must be canonical (public key andRbelow the field prime,Sbelow the group order), the algorithm must match the key. - Audit verifier: former values, sets of areas,
truncated/exportedranges,vocabulary.idconsistency, the signed checkpoint time,CRbeforeLF, integers below 2^53; vocabularies need anid.
Exports: validSubject, needsConfirmation, narrows, entersAuditMode, vocabularyId, vocabularyVersion, RuleText.
What's Changed
- feat: implement the Home-Mandate Specification v0.1.0 by @markusmazurczak in #33
Full Changelog: v0.1.0-rc.4...v0.1.0
v0.1.0-rc.4
TypeScript implementation of the Home-Mandate Specification v0.1.0-rc.4: in audit mode, a deny that is not enforced while a matching rule asks carries confirm: true and the approval settings of that rule (Result.approval). Conforms to all classes of mandate-conformance@v0.1.0-rc.4 (evaluator 419/419, selection 22/22, signatures 32/32, audit 250/250, audit-anchored 14/14). Also new since rc.3: fuzz tests, extension vocabularies for the audit verifier, the security policy and the conformance claim in the README.
What's Changed
- feat: extension vocabularies for the audit verifier by @markusmazurczak in #21
- chore: install only versions published at least 7 days ago by @markusmazurczak in #23
- docs: logo with tagline above the README; name and logo not covered by the license by @markusmazurczak in #25
- docs: link home-mandate.org by @markusmazurczak in #26
- fix: bump fast-uri to 3.1.9 by @markusmazurczak in #27
- Fuzz tests, short fuzzing in pull requests and long fuzzing twice a month by @markusmazurczak in #28
- docs: security policy and the conformance claim in the README by @markusmazurczak in #29
- ci: weekly grouped Dependabot updates by @markusmazurczak in #30
- ci: bump the actions group with 3 updates by @dependabot[bot] in #31
- feat: implement the Home-Mandate Specification v0.1.0-rc.4 by @markusmazurczak in #32
New Contributors
- @dependabot[bot] made their first contribution in #31
Full Changelog: v0.1.0-rc.3...v0.1.0-rc.4
v0.1.0-rc.3
TypeScript implementation of the Home-Mandate Specification v0.1.0-rc.3: sets of areas, integer and string parameters with one_of, checks against the vocabulary with exact numbers, and audit mode (enforce: false / enforced: false). Conforms to all classes of mandate-conformance@v0.1.0-rc.3 (evaluator 383/383, selection 19/19, signatures 30/30, audit 204/204, audit-anchored 14/14). The library API changes incompatibly: Resource.area becomes areas, parameter values are number | string.
What's Changed
- ci: attach the conformance report to every release by @markusmazurczak in #15
- feat: implement the Home-Mandate Specification v0.1.0-rc.3 by @markusmazurczak in #19
Full Changelog: v0.1.0-rc.1...v0.1.0-rc.3
v0.1.0-rc.1
Implements the Home-Mandate Specification v0.1.0-rc.1 (release candidate, for testing and review): temperatures in degrees Fahrenheit (vocabulary parameter temperature_f).
What's Changed
- docs: align versioning section with specification section 14 by @markusmazurczak in #13
- chore: implement the Home-Mandate Specification v0.1.0-rc.1 by @markusmazurczak in #14
Full Changelog: v0.1.0-alpha.4...v0.1.0-rc.1
v0.1.0-alpha.4
What's Changed
- feat: implement specification v0.1.0-alpha.4 (cancelled approval requests) by @markusmazurczak in #12
Full Changelog: v0.1.0-alpha.3...v0.1.0-alpha.4