Skip to content

Releases

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 08:27
Immutable release. Only release title and notes can be modified.
d046306

What's Changed

Full Changelog: v0.1.2...v0.2.0

v0.2.0-rc.1

v0.2.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:33
Immutable release. Only release title and notes can be modified.
f698cb5

What's Changed

Full Changelog: v0.1.2...v0.2.0-rc.1

v0.1.3-rc.1

v0.1.3-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 06:26
Immutable release. Only release title and notes can be modified.
20ea565

What's Changed

Full Changelog: v0.1.2...v0.1.3-rc.1

v0.1.2

Choose a tag to compare

@markusmazurczak markusmazurczak released this 04 Nov 18:17
675717a

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. parseJson now rejects Unicode noncharacters, as RFC 7493 requires. Existing audit logs stay valid under the correction in Section 14, and parseRecorded reads 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

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@markusmazurczak markusmazurczak released this 03 Nov 13:37
3ab51da

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

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@markusmazurczak markusmazurczak released this 02 Nov 19:02
764a018

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); vocabulary v0.1 with alarm.arm modes and range setpoints.
  • Selection: validSubject (an invalid subject is an invalid_request), revoked names the single valid revoked mandate when nothing else fits.
  • Succession: needsConfirmation, narrows and entersAuditMode decide whether an offered successor needs a human confirmation; the harness answers confirm: true and knows stored_revoked.
  • Signed mandates require audience and expires; Ed25519 keys and signatures must be canonical (public key and R below the field prime, S below the group order), the algorithm must match the key.
  • Audit verifier: former values, sets of areas, truncated/exported ranges, vocabulary.id consistency, the signed checkpoint time, CR before LF, integers below 2^53; vocabularies need an id.

Exports: validSubject, needsConfirmation, narrows, entersAuditMode, vocabularyId, vocabularyVersion, RuleText.

What's Changed

Full Changelog: v0.1.0-rc.4...v0.1.0

v0.1.0-rc.4

v0.1.0-rc.4 Pre-release
Pre-release

Choose a tag to compare

@markusmazurczak markusmazurczak released this 29 Oct 08:48
32182b2

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

New Contributors

Full Changelog: v0.1.0-rc.3...v0.1.0-rc.4

v0.1.0-rc.3

v0.1.0-rc.3 Pre-release
Pre-release

Choose a tag to compare

@markusmazurczak markusmazurczak released this 21 Oct 09:00
8087093

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

Full Changelog: v0.1.0-rc.1...v0.1.0-rc.3

v0.1.0-rc.1

v0.1.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@markusmazurczak markusmazurczak released this 13 Oct 14:37
87c5b8c

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

Full Changelog: v0.1.0-alpha.4...v0.1.0-rc.1

v0.1.0-alpha.4

Choose a tag to compare

@markusmazurczak markusmazurczak released this 10 Oct 11:03
618a201

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