Skip to content

nish v0.21.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 17:45
· 609 commits to main since this release
Immutable release. Only release title and notes can be modified.
d25b1ae

Breaking changes

  • checker: Refuse a dependency's unsafe, ffi, net and process.spawn unless the root package grants them (#905)

Added

  • std: Tell an integer-valued JSON number by its value (#837)
  • std: Add nish/term, terminal frames and key decoding with no I/O (#846)
  • runtime: Publish nish/runtime with a browser adapter and declarations (#851)
  • checker: Check the owned foreign handle class (#850)
  • std: Nish/yaml, a YAML parser with byte ranges, lines and paths (#852)
  • cli: Write a program back out as TypeScript with --emit-ts (#853)
  • std: Add nish/regex, a linear-time regex engine with a lazy DFA (#858)
  • std: Count code points in std/text (#838)
  • std: Nish/yaml paths follow merge keys, held to the yaml-test-suite (#857)
  • cli: Group and colour --help, and keep it plain for agents (#855)
  • cli: Translate the string rows in --emit-ts (#859)
  • runtime: Add nish:term, terminal input for real-time terminal programs (#854)
  • cli: Translate the number rows in --emit-ts (#866)
  • cli: Translate orReturn, Result and enums in --emit-ts (#864)
  • codegen: using of a handle class closes it at every exit of its block (#861)
  • std: Byte-class runs and copyBytes in nish/bytes, on runtime kernels (#862)
  • runtime: Add PBKDF2-HMAC-SHA256 to nish/crypto/hmac (#871)
  • codegen: Give Math.round, min and max JavaScript's -0 and NaN, and add atan2, tan, hypot, sign, imul and f32ToBits (#847)
  • runtime: Nish:term setTerminalRestore writes a mode reset on exit, panic and signal (#876)
  • std: One event stream from nish/term's KeyDecoder (#877)
  • std: Add nish/cli, and paint --help in the terminal theme's colours (#879)
  • cli: Vendor SQLite and link it when a program uses it (#870)
  • std: Nish/term-rate chooses the refresh rate a machine and link sustain (#906)
  • cli: Translate the array and record rows in --emit-ts (#867)
  • std: Nish/term-probe detects what a terminal can do (#903)
  • std: Framebuffer and the kitty, Sixel, half-block and ASCII backends (#911)
  • runtime: Add nish/sqlite, a SQLite client (#878)
  • std: Nish/term-io opens a terminal and runs a frame loop that adapts to it (#920)
  • cli: A capability lockfile that fails a build when a dependency reaches a new capability (#923)
  • runtime: Add nish/net/postgres, a sans-IO PostgreSQL client (#891)
  • crypto: Bcrypt hash and verify in nish/crypto/bcrypt (#884)

Fixed

  • checker: Tie NL8001's loop cursor to the string it counts (#845)
  • checker: Bind a declare function in a package to its bare C symbol (#869)
  • checker: A std/threads task may call a function that wipes memory the task allocated (#894)
  • runtime: Audit regex, term, bytes, PBKDF2 and the browser host (#904)
  • std: A deadline for an HTTP/1 head and HPACK decoding into caller storage (H1-1, H2-1) (#895)
  • runtime: Seed the string hash of every Map and Set (JSON-13) (#900)
  • std: Mark ECT on QUIC datagrams the carriers send (QUIC-10) (#914)
  • std: Nish/term-rate keeps its latency and bandwidth estimates apart on small frames (#925)

Performance

  • codegen: A foreign call does not resize an array (#836)
  • cli: Link the speed profile in parallel (#907)
  • tests: Link most tests/link programs under a cheaper profile (#909)
  • self: Run the tests/link programs through a worker pool (#913)
  • runtime: Measure nish/sqlite against C on the challenge schema (#921)
  • runtime: A JSON-plain byte class, and JsonWriter's byte writers on it (#892)

Changed

  • runtime: Split the Node runtime into a host-agnostic core and a Node adapter (#848)

Documentation

  • Add issue forms that ask for what a fix needs (#860)
  • Make CI's test shards the full-suite gate (#890)
  • security: Bring the audit index in line with the records (#919)

Tests

  • yaml: Vendor the yaml-test-suite as packed test data (#849)
  • bench: Compare nish/yaml with @amritk/yaml (#856)
  • checker: Pin use after close of a handle and its sibling shapes (#874)
  • security: LibFuzzer harness, sanitizer runtime build, CI fuzz jobs, JSON/URL/regex targets (#908)
  • codegen: An elision-off reference build and a soundness differential (#897)
  • runtime: A proof-shaped program generator and an AddressSanitizer build (#902)
  • std: Nish/term-io pins the restore of mouse and focus, the silent probe and the env overrides (#928)
  • security: Fuzz targets for TLS, QUIC, HPACK, HTTP/1, WebSocket and X.509 (#910)

Build

  • Regenerate package-lock.json for v0.20.0 (#835)

CI

  • Seed the interop image from a published release (#840)
  • Split runtime-net three ways and run only the platform's checks on macOS (#841)
  • Cache interop's tshark packages and retry them off the Azure mirror (#863)
  • Disable the macOS jobs (#865)
  • Refuse attacker-facing code that ships without its security record (#893)