Repository navigation
Releases
Releases · amritk/nish
nish v0.42.0
Immutable
release. Only release title and notes can be modified.
Added
- cli: Link installed Nish packages' agent skills into .claude/skills (#1654)
- runtime: Http1Connection says when it is between requests (#1655)
- runtime: WP63 S2 — io_uring slot handles in nish:net (#1658)
- runtime: Add --debug-arena, which traps a stale arena reference (#1676)
- runtime: WP63 S3 — restricted io_uring rings under --sandbox (#1679)
- interop: WP63 S4 — HandlerLimits listen on io_uring rings, and the entry re-measured (#1678)
- runtime: Std/net/oidc — OpenID Connect discovery and a rotating JWKS key set (
afeddde)
Fixed
- cli: Stop the docs landing hero playing twice on a first load (#1670)
- cli: Link a package's agent skills only when the user accepts them (#1669)
- checker: NL9018 warns when a handler the loop calls drops a temporary (#1675)
- runtime: Keep each premade ring's number on its ring under --sandbox (#1695)
Performance
- interop: Measure mmap_size and a shared cache on the five-process entry (#1693)
Documentation
- Give the docs site a share card, page metadata and a clearer header (#1672)
- Draw one underline under the current header link (#1685)
- Keep release-note words in squash subjects, pin new diagnostics, and hold records to their code (#1691)
- roadmap: WP65 — the surface a lexer port asked for (#1673)
- Add an og:video share card recorded from the hero animation (#1696)
- roadmap: Propose WP48 again as 32-bit references for linked classes (#1687)
- Code that decides what a package may grant fails closed (#1677)
Tests
- spec: Pin vector 0.2.1 and run the spec tests in CI (#1659)
- spec: Hold nish/crypto/chacha20poly1305 to RFC 8439 with a vector contract (#1660)
- spec: Hold nish/crypto/hkdf to RFC 5869 with a vector contract (#1661)
- spec: Hold nish/crypto/hmac to RFC 4231 with a vector contract (#1663)
- spec: Hold nish/crypto/ed25519 to RFC 8032 with a vector contract (#1668)
- spec: Hold nish/crypto/x25519 to RFC 7748 with a vector contract (#1664)
- spec: Move to vector 0.3.1, restore hex's 96 samples, print the staleness check (#1681)
- spec: Hold ChaCha20-Poly1305 to RFC 8439 Appendix A under vector 0.3.1 (#1683)
- spec: Add RFC 7748's iterated X25519 vectors under vector 0.3.1 (#1682)
- spec: Declare HMAC's and HKDF's untested exports as outOfScope under vector 0.3.1 (#1688)
- spec: Hold Ed25519's RFC 8032 signatures to vector rows under vector 0.3.1 (#1684)
- spec: Add RFC 8439 A.3's eleven Poly1305 vectors under vector 0.4.0 (#1692)
Internal
- infra: Set custom domain to docs.nishlang.com (#1662)
nish v0.41.0
Immutable
release. Only release title and notes can be modified.
Added
- cli: Compatibility mode's machinery with no feature — the allow-list, nish.compat and the dialect in the IR (WP28 C0) (#1497)
- runtime: WP63 S1 — the io_uring ring layer, with no surface (#1649)
- std: Nish/temporal, TC39 Temporal's dates, times, instants and durations (WP64 S1) (#1650)
Fixed
- cli: Install.sh recognises its wrapper by its first two lines, so an arm or Apple-silicon compiler that names the marker is not overwritten (#1645)
- net: A prefork UDP group on port 0 never joins another reuseport group's port (#1646)
Documentation
nish v0.40.1
Immutable
release. Only release title and notes can be modified.
nish v0.39.0
Immutable
release. Only release title and notes can be modified.
Added
- runtime: Add parent/child regions (#1357)
- interop: Examples/wasm-arena and the ten-minute Chromium soak (WP50 stage 6) (#1372)
- checker: Object spread in object literals, lowered to field copies (#1373)
- cli: Explain which loops and functions keep their memory (--explain-memory) (#1375)
- checker: Refuse the mistakes every type accepts (#1380)
- checker: Read a Map or Set reached through a parallelMapInto element (#1388)
- runtime: Add spawnPipedWithin, a captured run with a deadline (#1387)
- std: Add toFixed and split with a limit to nish/text (#1396)
- runtime: Read a file a window at a time with fileOpen, fileReadAt, fileSize and fileClose (#1397)
- checker: Typed JSON decodes and encodes tagged unions (#1400)
- checker: References to capture-free top-level functions in fields, locals, arrays and returns (WP51 stage 1) (#1404)
- checker: Attribute dependency diagnostics and refuse hostless builtins on wasm32 (#1409)
- crypto: Expose x509 criticality, AKI issuer/serial and AIA to pki (#1452)
- net: Secp256r1 key shares and a carrier idle timeout on the TLS server (#1449)
- net: QUIC sends datagrams past 1,200 bytes after path MTU discovery (#1458)
- cli: The review tier of fix in --json (WP33 R5) (#1453)
- net: Record_size_limit on the TLS server (WP39 G3) (#1467)
- codegen: Declare class as a C struct layout, passed by pointer (WP27 S4.1) (#1455)
- checker: Function references as arguments,
| nullandMapvalues (WP51 stage 2) (#1428) - net: Cleartext HTTP/2 with prior knowledge (WP39 G7) (#1461)
- net: Postgres over TLS in the carrier (WP39 E6) (#1446)
- net: Steer QUIC packets to the owning process (WP39 G6) (#1470)
- codegen: ReadStruct copies a C-owned struct out of a CPtr (WP27 S4.2) (#1471)
- cli: A bare --compat that accepts nothing, and the erasure invariant that holds it (WP28 S3) (#1489)
- codegen: CErrno, errno zeroed before and saved after a foreign call (WP27 S5) (#1443)
Fixed
- runtime: Build the SHA-256 and AES stubs when the intrinsic headers are missing (#1371)
- std: Nish/regex no longer hangs under Node on a class or alternation (#1392)
- checker: A bodiless instance must state its write facts (#1394)
- runtime: A held HTTP/1 write keeps the write bit once a flush empties the output (#1420)
- runtime: Refuse a granted program's interpreter as a spawn target under --sandbox (WP37, SBX-1) (#1447)
- net: A lingering close for HTTP/1.1, SETTINGS and idle timeouts for HTTP/2, a session clock for WebTransport (#1454)
- runtime: Hold a granted program's descendants to the exec grant (#1486)
Performance
- bench: Measure the async TFB entry against the explicit one on plaintext, json and db (WP49 stage 6) (#1367)
- net: Serve answers pipelined requests in one write (WP49 stage 6, part 3) (#1378)
- net: The async Postgres pool pipelines queries across tasks (WP49 stage 6, part 5) (#1379)
- bench: The async TFB entry measured against the explicit one after the serve and pool fixes (WP49 stage 6) (#1399)
- runtime: Close the async serve gap on plaintext and json (WP49 stage 6) (#1421)
- net: Close the async Postgres pool gap on /db (WP49 stage 6) (#1419)
- net: Copy QUIC stream bytes by slice, not by byte (#1445)
- net: Serve the TechEmpower json and plaintext entry on every core (WP39 E5) (#1448)
- runtime: Ship the SSSE3 and NEON Adler-32 kernels (WP38 S8) (#1451)
- runtime: Trim the async request path's instructions per request (WP49 stage 6) (#1459)
- net: Parse an HTTP/1 request head a vector at a time (#1460)
- crypto: A safegcd field inversion and a windowed verify for P-256 (#1469)
- net: A whole answer drives its connection once (WP49 stage 6) (#1492)
- runtime: Recycle a finished task's frame and region instead of freeing them (WP49 stage 6) (#1493)
- net: Build a repeated HTTP/1 response head once per Date tick (#1457)
- codegen: Prove vector loads and stores in range and tag them as element data (#1480)
Documentation
- site: The hero unpacks the name into Native Instruction Static Host (#1369)
- runtime: One doc source for nish:secret and nish:region, and the platform facts back in LANGUAGE.md (#1370)
- roadmap: Publish the roadmap, one page per work package (#1376)
- WP51, references to capture-free top-level functions, measured (design only) (#1351)
- security: Record why Http3Server.slotAt builds slots 0..k (#1385)
- wp46: Give the safe reset and opt-in Rc the regions section's depth (#1386)
- Renumber Fast rebuilds for nish run from WP48 to WP52 (#1393)
- Show code in page titles, add a changelog RSS feed and a writing-nish agent skill (#1395)
- Accept WP48's recommendation and make the lean sibling layout the port convention (#1398)
- runtime: Stream a file through an HTTP/1.1 example with flat memory (WP44 F3) (#1403)
- Renumber Buffers and handles across declare function from WP40 to WP53 (#1413)
- runtime: Profile the async TFB entry against the explicit one on plaintext, json and db (WP49 stage 6) (#1410)
- Disable the Ask AI agent on the docs site (#1424)
- Print a negative http1-e2e saving as a cost, and name the baseline compiler (#1427)
- runtime: Profile the explicit TFB entry against uWS and go-fasthttp on plaintext and json (#1436)
- Compile the modules guide's multi-file examples, and split the P-256/P-384 module docs (#1434)
- Design note for one handler across HTTP/1.1, 2 and 3 (WP39 G7) (#1438)
- Design note for QUIC on more than one core (WP39 G6) (#1439)
- bench: HTTP/2 and HTTP/3 figures from the h2load harness (WP39 G8) (#1462)
- runtime: Re-measure WP49 stage 6's gate after the serve and pool fixes (#1465)
- bench: WP28 spike S5 — the price of --number-mode f64 on the benchmark suite (#1484)
- bench: WP28 spike S2 — async by contagion, counted on real TypeScript (#1481)
- bench: WP28 spike S6 — try/catch by landing pads against a Result desugaring (#1482)
- cli: Record x86-64-v4 and the AArch64 --cpu levels as measured, not built (WP38) (#1432)
- Tick WP34's finished stages and WP39's G1 and G2 (#1488)
- bench: WP28 spike S4 — Promise.all as a fork/join against parallelReduce (#1490)
Tests
- Bind the file_open_errors socket by a relative name (#1412)
- sync: Close the ring-in-place bench and test gaps (#1435)
- Fix the three intermittent failures in the test shards (#1450)
- runtime: The sessions server on regions holds memory flat over 2,000,000 requests (WP46 stage 3) (#1444)
- net: Curl and Autobahn for HTTP/1.1 and WebSocket, Chrome over HTTP/1.1, in the interop job (#1437)
- crypto: Read the ChaCha rou...
nish v0.38.0
Immutable
release. Only release title and notes can be modified.
Added
- net: Async fetch speaks https and resolves names without blocking (WP49 stage 5, part 6) (#1314)
- interop: Strings cross between a wasm module and its page (WP50 stage 4) (#1309)
- checker: A spawned task may reach the objects its spawner owns (WP49 stage 5, part 3) (#1307)
- net: Serve, one task and one region per request (WP49 stage 5, part 4) (#1322)
- net: The async Postgres pool (WP49 stage 5, part 5) (#1321)
- net: Cancel a task on hang-up, deadline or shutdown (WP49 stage 5, part 7) (#1323)
- codegen: Std/math.ts transcendentals and fmod, the lowering on freestanding wasm (#1334)
- bench: The TechEmpower plaintext and json entry as serve handlers (WP49 stage 6, part 1) (#1340)
- checker: A serve handler reaches its spawner's state and awaits the async Postgres pool (WP49 stage 5, part 8) (#1343)
- bench: The TechEmpower database entry on the async Postgres pool (WP49 stage 6, part 2) (#1354)
- std: Split, asciiUpper, asciiLower, padStart and padEnd in nish/text (#1361)
- checker: Array methods map, filter, some, every, findIndex and slice (#1358)
- cli: --deterministic, the same float bits on every target (WP50 stage 5b) (#1363)
Fixed
- bench: Build the C twins with the release hardening flags, and three bench reporting gaps (#1315)
- net: A DNS search fallback no longer masks a later NODATA, and resolveHost keeps an answered family at its timeout (#1304)
- codegen: Keep a Result made in a loop body and stored in an outer let alive past the pass's arena rewind (#1308)
- runtime: Give each awaitAll lane its own region (WP49 stage 5, HF-13) (#1320)
- test: Prefork reap race, security index totals, and the nish-cmp declaration rule (#1332)
- interop: A wasm-size guard that holds with wasm-opt, and nish/vite's two silent failures (#1336)
- interop: Host-module tests, nish.host diagnostics and the HostHandle reference (#1335)
- codegen: Two awaitAlls whose lanes return arrays no longer crash the compiler (#1359)
- runtime: An explicitly set enc.mss wins over the socket MSS (#1356)
- site: A solid phone menu that lists the guide on every page (#1366)
- runtime: Refuse a response that carries two Date fields (#1360)
Performance
- codegen: Cache TBAA nodes per module (#1318)
- codegen: Cache guard-name shadowing and intern metadata refs (#1342)
- codegen: Propagate attribute facts over an index worklist (#1341)
Documentation
- plan: Plan the rest of WP49 stage 5 around what a spawned task may reach (#1298)
- Restore what npm test covers in AGENTS.md, repoint the PR template, and reconcile the shard notes (#1310)
- runtime: Document Number, parseInt, parseFloat and Date.now in nish.d.ts and close its tag gaps (#1303)
- plan: Give async fetch https and a non-blocking name lookup, and isolate awaitAll lanes, in WP49 stage 5 (#1305)
- guide: A native string carries arbitrary bytes, and two follow-ups from the docs polish (#1311)
- net: Qualify PgBatcher's flat per-key cost for colliding int keys, and pin it with a test (#1313)
- site: The new Nish mark, a gradient canvas, motion and an animated landing hero (#1345)
- site: Make the landing page a home page (#1355)
- runtime: One @PARAM per lane on the nish:simd constructors (#1365)
Tests
- std: Specify nish/hex and freeze its contract before the code (#1288)
- net: Close the Unix-socket acceptance gaps — fd leaks, a two-process exchange, and seqpacket rows (#1302)
- interop: Pin --deny ffi on a string-returning foreign call, and fix three stale FFI lines (#1312)
- net: Pin the TLS client's data exchange and close_notify per suite and group against openssl s_server (#1301)
- self: Refuse a nish-cmp declaration that names no program, file or undo (#1319)
- Pin isIntegral's spellings against Node, the WebTransport rebind's new address, and the rounding edges (#1317)
- net: Bound the relay soak's waves by the clock, not by turns of the loop (#1364)
Build
- Regenerate package-lock.json for v0.37.0 (#1316)
- release: Pin the platform packages at pack time, not in package.json (#1329)
CI
nish v0.37.0
Immutable
release. Only release title and notes can be modified.
Added
- runtime: The async executor and nish:async readable, writable and sleep (WP49 stage 5, part 1) (#1283)
- cli: Colour diagnostics on a terminal (#1290)
- net: Async fetch in nish/net/fetch (WP49 stage 5, part 2) (#1293)
- interop: Module storage, buffer windows and panics a wasm page can read (WP50 stage 3) (#1273)
Fixed
- docs: Language index cards and pinned citations after the reference split (#1294)
Performance
- net: Scan HTTP/1 request heads sixteen bytes at a time (#1287)
Documentation
- reference: Generate the diagnostic index and the command-line reference (#1274)
- plan: Plan WP49 stage 5 and bring the WP49 plan statuses up to date (#1279)
- std: Document or internalise std/net's undocumented public fields (#1281)
- reference: Polish the generated pages, split diagnostics and the spec, group the sidebar (#1292)
- guide: Fix the hand-written pages' layout on the rendered site (#1289)
- site: The Nish logo and a theme built around it (#1291)
Tests
- net: Measure Http1Server CPU per request end to end, 0.34.1 vs 0.35.0 (#1282)
Build
nish v0.36.0
Immutable
release. Only release title and notes can be modified.
Added
- interop: Link a wasm module for a page and load it without fetch (WP50 stage 1) (#1243)
- interop: Import a wasm module's host functions from the page's TypeScript (WP50 stage 2) (#1264)
Performance
- runtime: Benchmark a consumer-only in-place ring mode (#1237)
Documentation
- std: Mark regex internals private and document its API (#1240)
- std: Mark http client internals private and document its API (#1246)
- std: Mark http server internals private and document its API (#1248)
- runtime: Document the global builtins in nish.d.ts (#1245)
- std: Mark json internals private and document its API (#1247)
- crypto: Recommend one bcrypt batcher per process on several cores (#1256)
- std: Mark quic internals private and document its API (#1251)
- std: Mark tls internals private and document its API (#1253)
- std: Mark postgres, dns and sqlite internals private and document their API (#1255)
- std: Mark elliptic-curve crypto internals private and document their API (#1258)
- std: Mark yaml and term internals private and document their API (#1260)
- std: Mark http2 and http3 internals private and document their API (#1261)
- std: Mark symmetric crypto and hash internals private and document their API (#1263)
- std: Mark pki, x509, rsa and jwt internals private and document their API (#1262)
- Generate the library reference from source (#1242)
- runtime: Document the nish: modules in JSDoc on nish.d.ts (#1244)
- std: Mark core std internals private and document their API (#1265)
- std: Close the std API-visibility acceptance gaps (#1268)
Tests
- runtime: Echo WebTransport streams after the client's address changes (#1239)
Build
- Regenerate package-lock.json for v0.35.0 (#1241)
nish v0.35.0
Immutable
release. Only release title and notes can be modified.
Added
- checker: Async and await, the checker (WP49 stage 4, part 1) (#1160)
- checker: Run an entry module's top-level code as
main(#1203) - codegen: Lower async functions to frame state machines (WP49 stage 4, part 2) (#1202)
- checker: Allow null as the default of a nullable parameter (#1205)
- interop: Let a PgBatcher skip the ordinal sort (#1207)
- interop: Emit async functions as TypeScript async/await (WP49 stage 4, part 3) (#1212)
- runtime: Shared-region windows and a two-buffer netWrite (#1214)
- runtime: Follow a QUIC peer's address change with path validation (#1218)
- runtime: Send an Http1Connection body from a caller's buffer (#1223)
- runtime: Reserve, commit, peek and release on SpscRing (#1224)
Fixed
- runtime: Let Http1Connection.sendBody take a readonly u8[] (#1227)
Performance
- codegen: Read an arrow's captures as arguments to it (#1215)
- net: Fewer cache misses per request on cold Http1Server keep-alive connections (#1211)
- runtime: Benchmark ring records copied versus in place (#1229)
Documentation
- Bring the docs up to date with captures, async, top-level code and defaults (#1216)
- Add WP50, a WebAssembly module a TypeScript page drives (#1213)
- Show every guide section in the Scalar sidebar (#1220)
- runtime: Complete the SpscRing in-place notes (#1228)
- Publish the install, library and security pages on the docs site (#1222)
Tests
- cli: Bound the wide-tree parse by a same-process ratio, and show stdout when a runner case exits wrong (#1198)
- interop: Fix the std_dns port collision, postgres-live's ready line and a stale emit-ts row (#1217)
Build
- Regenerate package-lock.json for v0.34.1 (#1197)
CI
- self: Deal the suite's tail eight ways to keep each shard near ten minutes (#1200)
nish v0.34.1
Immutable
release. Only release title and notes can be modified.
Performance
- crypto: Take bcrypt's lane bytes as low-and-second-byte pairs (#1190)
- net: Write the HTTP/1.1 response head with sixteen-byte stores (#1187)
- crypto: Decode base64url four characters a step (#1188)
- net: Read Postgres int8 columns with one load and a byte swap (#1191)
- codegen: Store one-byte parts of a join instead of calling memcpy (#1192)
- net: Lowercase and token-check HTTP/1.1 field names sixteen bytes at a time (#1193)
- codegen: Box fresh array fields of unknown length as { len, data } (#1189)
- net: Write Postgres integer parameters' digits once, two a step (#1194)
Documentation
- runtime: SHA-256 AVX2 message schedule — measured, not built (#1186)
Tests
- self: Measure S3's bar with nish:simd on mat-vec and both depth documents (#1182)
Build
- Regenerate package-lock.json for v0.34.0 (#1184)
nish v0.34.0
Immutable
release. Only release title and notes can be modified.
Added
- checker: Add nish:simd lane operations, masks and constant-count shifts and rotates (#1171)
Fixed
- net: Pin and baseline the Http1Connection benchmark (#1178)
Performance
- net: Keep Http1Connection's per-request path on hot fields (#1176)
- net: Scan HTTP/1.1 request heads a vector at a time (#1179)
- runtime: ChaCha20 keystream on AVX2 and NEON behind a CPU check (#1181)
Tests
- self: Measure SHA-256's block function against OpenSSL and hold HMAC to it under both NISH_SHA256 settings (#1174)
Build
- Regenerate package-lock.json for v0.33.0 (#1170)