Skip to content

nish v0.14.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 20:37
· 990 commits to main since this release
3b97223

Breaking changes

  • checker: Refuse forbidden statements by their rule, not NL0001 (#292)

Added

  • checker: Export an enum and import it into another module (#296)
  • std: X25519 in nish/crypto/x25519 (#289)
  • std: SHA-384 and SHA-512 in nish/crypto/sha512 (#291)
  • std: A constant-time compare and base64url in nish/crypto (#294)
  • std: SHA-256 in nish/crypto/sha256 (#288)
  • checker: The portability diagnostic class, NL8xxx, behind --warn-portability (#293)
  • std: HMAC and HKDF over SHA-256 and SHA-384 in nish/crypto (#298)
  • checker: Portability warnings for integer and libm divergences (#301)
  • checker: Export a type alias and import it into another module (#300)
  • checker: Portability warnings for record copies into arrays and stores over a live element (#302)
  • checker: Portability warnings where UTF-8 string offsets meet an outside fact (#304)
  • checker: Byte plumbing — u8[] set and fill, readFileBytesSync (WP34 N2) (#295)
  • codegen: Constant-time ctSelect and ctEq behind an optimisation barrier (WP34 N6) (#310)
  • checker: Refuse forbidden expressions by their rule, not NL0001 (#311)
  • checker: Refuse forbidden declarations by their rule, not NL0001 (#313)
  • checker: Refuse forbidden function and binding forms by their rule, not NL0001 (#314)
  • runtime: Date.now, crypto.getRandomValues, statMtimeSync and a signal descriptor (WP34 N3) (#312)
  • checker: Refuse forbidden class, interface and enum forms by their rule, not NL0001 (#315)

Fixed

  • checker: A refused const reports once, not at every later use (#290)
  • codegen: Fold a negated integer literal into its constant (#297)

Documentation

  • Make the RUN_UNDER_NODE command call main (#285)
  • std: Document nish/crypto and list it where the library is listed (#299)
  • Agent guidelines for runtime units, self-golden conflicts and reviews (#318)

Tests

  • checker: Pin the T | null twins of the keeps-proof refusals (#286)
  • std: Hold modules in std/ subdirectories to the same gates as top-level ones (#287)

Build

  • Regenerate package-lock.json for v0.13.0 (#284)