Releases: s4wave/goscript
v0.2.8
GoScript v0.2.8
Go to TypeScript transpiler release.
Changelog
Bug Fixes
- a7bde57: fix(compiler): coerce bigint shift count to Number in number shifts (@paralin)
- 21f8603: fix(gs): normalize 64-bit runtime inputs (@paralin)
Other
- 4e5bbb2: docs(readme): bust comparison asset cache (@paralin)
- 36603ba: docs(readme): polish transpilation comparison (@paralin)
- b59dec5: docs(readme): show async channel transpilation (@paralin)
- 54217df: docs(readme): simplify comparison asset frame (@paralin)
- d9e027b: docs(readme): tighten hero copy (@paralin)
- a66e1be: fix(gs/builtin): route mixed number/bigint min/max through comparison (@paralin)
- 5068cc3: fix(gs/time): floor monotonic clock to integer nanoseconds (@paralin)
- e7f8754: release: v0.2.8 (@paralin)
- 3fd609c: test(gs/time): cover fractional monotonic Sub regression (@paralin)
Full Changelog: v0.2.7...v0.2.8
Installation
npm:
npm install goscript@0.2.8Binary:
Download the appropriate binary for your platform from the assets below.
v0.2.7
GoScript v0.2.7
Go to TypeScript transpiler release.
Changelog
Features
- 6131c6e: feat(builtin): route runtime faults through a GoPanic owner (@paralin)
- d5ec19a: feat(compiler): add package artifact cache (@paralin)
- 8869e6b: feat(compiler): bounds-check index reads with Go panic messages (@paralin)
- 897f385: feat(compiler): recover panics through the deferred defer stack (@paralin)
- 6aff3a4: feat(compiler): represent int64/uint64 as bigint (@paralin)
- 796e716: feat(compiler): require locatable behavior tests for real overrides (@paralin)
- 4338a44: feat(compiler): trim reflect-only type-info payload when reflect is absent (@paralin)
- 88a536c: feat(unicode): populate full Go tables and port case/fold algorithms (@paralin)
Bug Fixes
- a9e272e: fix(cmp): make Or return the first non-zero value for any comparable type (@paralin)
- 7286574: fix(compiler): require behavior evidence for real overrides (@paralin)
- 3e1a204: fix(fmt): honor # and sign flags, scope GoStringer to %#v, relax Sscanf (@paralin)
- 439d8b0: fix(io): return partial bytes from ReadAll on a non-EOF error (@paralin)
- 7aae8ca: fix(overrides): warn on missing behavior tests (@paralin)
- 8d66a41: fix(path): match Go path.Match star backtracking and bad-pattern check (@paralin)
- d703a5c: fix(slices): use Go comparable equality and lower-bound search (@paralin)
- ff54300: fix(strconv): decode escapes and control rules in Unquote/CanBackquote (@paralin)
- 035e0c1: fix(strconv): emit Go hex-float syntax for FormatFloat 'x' verb (@paralin)
- 536f2f0: fix(strconv): validate whole input and hex floats in ParseFloat (@paralin)
Other
- 0845dd1: feat(encoding/binary): support fixed-size structs and complex values (@paralin)
- b7903c8: feat(gs/json): stream-decode one value at a time with Go syntax offsets (@paralin)
- e6b8b40: fix(bytes,strings): match Go Replace for empty old and negative n (@paralin)
- 67577ca: fix(gs/json): preserve literal token spelling in Compact, Indent, Marshal (@paralin)
- 1726b19: fix(gs/math): width-correct bit counts and IEEE sign-bit edge cases (@paralin)
- db3959f: fix(gs/path/filepath): resolve host paths via cwd, lstat, and readlink (@paralin)
- 39ad877: fix(gs/path/filepath): simplify EvalSymlinks cursor (@paralin)
- b3223f3: fix(gs/sync): match Go lock and once semantics (@paralin)
- 633d0cf: fix(math/bits): split the Mul32 product exactly and backfill behavior tests (@paralin)
- e1b8973: fix(net/http): decode request URL paths (@paralin)
- ac1fbb9: fix(net/http): serve file byte ranges (@paralin)
- c17b557: fix(path/filepath): make Join, Match, Rel, and Localize match Go (@paralin)
- 16da9f4: refactor(gs): drop conc override and transpile from source (@paralin)
- f9a6ca9: release: v0.2.7 (@paralin)
- 873798b: speed up compiler cache replay (@paralin)
- 8847943: test(gs): add transpiled broadcast fanout concurrency fixture (@paralin)
- ed2b740: test(gs/net/http): cover HTTP wire parsers (@paralin)
- db8fa17: test(gs/net/http): cover handler helper behavior (@paralin)
- 16dfee3: test(gs/runtime): cover profile and trace helpers (@paralin)
- 175cfb5: test(io): backfill LimitReader, NewOffsetWriter, ReadAtLeast behavior tests (@paralin)
- 1b48d6e: test(strconv): backfill append/format/quote behavior tests (@paralin)
- cdd0a6d: test(time): backfill Parse, ParseInLocation, Since, Until behavior tests (@paralin)
Full Changelog: v0.2.6...v0.2.7
Installation
npm:
npm install goscript@0.2.7Binary:
Download the appropriate binary for your platform from the assets below.
v0.2.6
GoScript v0.2.6
Go to TypeScript transpiler release.
Changelog
Bug Fixes
Other
Full Changelog: v0.2.5...v0.2.6
Installation
npm:
npm install goscript@0.2.6Binary:
Download the appropriate binary for your platform from the assets below.
v0.2.4
GoScript v0.2.4
Go to TypeScript transpiler release.
Changelog
Features
Bug Fixes
- 0b35d45: fix(compiler): preserve method-value type metadata (@paralin)
- a21a3dc: fix: commit regenerated deps (@paralin)
Other
- bbfc95d: fix(io/fs): await Stat override implementations (@paralin)
- 32a731e: fix(io/fs): mark Lstat override async (@paralin)
- 3496e5d: fix(io/fs): preserve fallback Sub filesystem (@paralin)
- 3375761: fix(net/http): await async file response writers (@paralin)
- d5022bd: fix(net/http): await async fs open adapter (@paralin)
- 41092ba: fix(net/http): set file server content type (@paralin)
- eab4737: fix(net/http): stream file server bodies after headers (@paralin)
- c6792cb: fix(net/http): unwrap boxed headers (@paralin)
- aa9917d: fix(net/http): unwrap header refs (@paralin)
- 9f6b086: release: v0.2.4 (@paralin)
Full Changelog: v0.2.3...v0.2.4
Installation
npm:
npm install goscript@0.2.4Binary:
Download the appropriate binary for your platform from the assets below.
v0.2.3
GoScript v0.2.3
Go to TypeScript transpiler release.
Changelog
Bug Fixes
- 3bbdfbd: fix(compiler): preserve generic assertion metadata (@paralin)
- 2ac348b: fix(compiler): preserve imported zero value assertions (@paralin)
- 435b137: fix(compiler): propagate async interface calls (@paralin)
- 99ca8b2: fix(fs): await async readdir fallbacks (@paralin)
- 081ad9f: fix(hostio): make browser stderr fallback log-only (@paralin)
- 73ac7c3: fix(http): keep file system interface sync (@paralin)
- 1180933: fix(http): return after fetch response headers (@paralin)
- 8e2d678: fix(http): support goscript handler file servers (@paralin)
- 20642cb: fix(protobuf): preserve bound oneof branches (@paralin)
- 933548e: fix(runtime): keep browser stderr on console log (@paralin)
Other
- db4786d: chore(deps): update all dependencies to v0.49.18 (@renovate[bot])
- 80f70f0: refactor: run formatter on gs/ (@paralin)
- 0f6b7b9: release: v0.2.3 (@paralin)
- b5c5464: test(browser): prove stderr uses console log (@paralin)
- 5299a38: test(os): pin browser stderr console fallback (@paralin)
Full Changelog: v0.2.2...v0.2.3
Installation
npm:
npm install goscript@0.2.3Binary:
Download the appropriate binary for your platform from the assets below.
v0.2.2
GoScript v0.2.2
Go to TypeScript transpiler release.
Changelog
Bug Fixes
- 1aaffe1: fix(compiler): assert unsafe array pointer derefs (@paralin)
- 25a7007: fix(crypto): add browser aes and chacha overrides (@paralin)
- 4da984b: fix(deps): update all dependencies (@renovate[bot])
- d48c209: fix(goscript): close browser package runtime gaps (@paralin)
- 82f78ec: fix(io): preserve section reader async reads (@paralin)
Other
- 8a57938: chore(deps): update protobuf-es-lite to 1.1.0 (@paralin)
- 71666d1: docs(protobuf): explain typescript binding (@paralin)
- 8817c59: release: v0.2.2 (@paralin)
- 57c7758: test(compiler): keep protobuf binding fixture local (@paralin)
- fb2c8b3: test(compiler): prove protobuf binding method rewrites (@paralin)
- 0706c57: test(goscript): refresh generated snapshots (@paralin)
- 29c30f3: test(hostio): pin browser stderr console fallback (@paralin)
- 13bca88: test(srpc): cover rpcstream pressure (@paralin)
Full Changelog: v0.2.1...v0.2.2
Installation
npm:
npm install goscript@0.2.2Binary:
Download the appropriate binary for your platform from the assets below.
v0.2.1
GoScript v0.2.1
Go to TypeScript transpiler release.
Changelog
Features
Other
Full Changelog: v0.2.0...v0.2.1
Installation
npm:
npm install goscript@0.2.1Binary:
Download the appropriate binary for your platform from the assets below.
v0.2.0
GoScript v0.2.0
Go to TypeScript transpiler release.
Changelog
Features
- 707d335: feat(compiler): bind protobuf typescript output (@paralin)
- e7c0c2c: feat(gotest): add browser package test backend (@paralin)
- 946e112: feat(overrides): add stdlib parity ledgers (@paralin)
- d471a21: feat(overrides): expand http and generated dependency coverage (@paralin)
- fa3e019: feat(reflect): implement funcof type metadata (@paralin)
- aff093b: feat(reflect): implement makefunc callable abi (@paralin)
- b11418e: feat(reflect): implement sliceat owned pointers (@paralin)
- caa21bc: feat(reflect): implement structof dynamic structs (@paralin)
Bug Fixes
- 4bc888e: fix(compiler): annotate array pointer declarations (@paralin)
- 9f2c3b2: fix(compiler): terminate protobuf binding metadata (@paralin)
- 5ed7f90: fix(deps): update all dependencies (@renovate[bot])
- 4d65561: fix(gotest): avoid json runtime records (@paralin)
- f1c9aca: fix(reflect): close owned pointer review gaps (@paralin)
- 22ec00f: fix(reflect): close recursive metadata gaps (@paralin)
- 0b0e1a3: fix(reflect): emit method signature metadata (@paralin)
- 706777a: fix(reflect): enforce interface assignability (@paralin)
- 16fdce9: fix(reflect): preserve anonymous struct identity (@paralin)
- c3c5194: fix(reflect): preserve assignability metadata (@paralin)
- 7f984e9: fix(reflect): preserve descriptor identity (@paralin)
- 3a63490: fix(reflect): preserve dynamic function metadata (@paralin)
- a1e4543: fix(reflect): preserve recursive struct metadata (@paralin)
- 4a06bfc: fix(reflect): preserve struct identity semantics (@paralin)
- e294eb0: fix(reflect): reject legacy newat field tokens (@paralin)
Performance
- 7133c33: perf(compiler): allocate async method maps lazily (@paralin)
- 4f9d376: perf(compiler): append lowered statements directly (@paralin)
- 343413c: perf(compiler): avoid repeated runtime type dependency walks (@paralin)
- 158c88c: perf(compiler): cache generated import type walks (@paralin)
- f949250: perf(compiler): cache package lazy var analysis (@paralin)
- ec49dfc: perf(compiler): cache runtime method sets during lowering (@paralin)
- 2899d2e: perf(compiler): compare method signatures without allocation (@paralin)
- d9c8399: perf(compiler): drop async interface method storage (@paralin)
- 224ae7f: perf(compiler): fast path exact interface methods (@paralin)
- 5e2ed10: perf(compiler): fast path simple assignment targets (@paralin)
- d638ff3: perf(compiler): index interface method candidates (@paralin)
- 8017541: perf(compiler): pre-grow TypeScript emit buffers (@paralin)
- 280d095: perf(compiler): propagate async calls by worklist (@paralin)
- 4b2d5f9: perf(compiler): reuse cached async call names (@paralin)
- 680b277: perf(compiler): share implementation method maps (@paralin)
- 2244759: perf(compiler): share interface graph method maps (@paralin)
- 560f134: perf(compiler): share interface method sets (@paralin)
- cd98ca8: perf(compiler): skip same-file method rescans (@paralin)
- 4df588a: perf(compiler): skip single-file declaration maps (@paralin)
- ea51afa: perf(compiler): store async interface methods compactly (@paralin)
Other
- 88c446e: docs(readme): note optimized build performance (@paralin)
- 04c2eea: refactor(reflect): migrate struct descriptors (@paralin)
- 78a89a9: refactor(style): apply go style cleanup (@paralin)
- 8354abd: release: v0.2.0 (@paralin)
- 82d614b: test(compiler): update struct metadata assertion (@paralin)
Full Changelog: v0.1.4...v0.2.0
Installation
npm:
npm install goscript@0.2.0Binary:
Download the appropriate binary for your platform from the assets below.
v0.1.4
GoScript v0.1.4
Go to TypeScript transpiler release.
Changelog
Bug Fixes
- aba04b5: fix(cli): preserve comma-separated build tags (@paralin)
- 422c563: fix(compiler): convert override named strings (@paralin)
- bcd28ce: fix(compiler): lower struct equality deterministically (@paralin)
- 3ca72e8: fix(compiler): lower wide uint operations (@paralin)
- a60362c: fix(compiler): propagate async anonymous interfaces (@paralin)
- c11c3aa: fix(compiler): propagate generic interface async methods (@paralin)
- d1e537d: fix(compiler): support archive zip writer graph (@paralin)
- 5d33238: fix(compiler): support goscript deploy embed fs (@paralin)
- 038159d: fix(compiler): support native project override removal (@paralin)
- eb3caf2: fix(compiler): type function zero values through unknown (@paralin)
- e829c5b: fix(goscript): support Spacewave git worktree dogfood (@paralin)
- ba50b57: fix(gotest): preserve test import package facts (@paralin)
- 4b6fb4e: fix(overrides): append hash sums through byte slices (@paralin)
- 7b67546: fix(overrides): unwrap readdir fallback entries (@paralin)
- 941c018: fix(runtime): await async pool and writer paths (@paralin)
- 3735828: fix(runtime): await zlib writer close (@paralin)
- dd4b045: fix(runtime): bind go-billy osfs to host filesystem (@paralin)
- bb8d628: fix(runtime): preserve numeric interface values (@paralin)
- b0c5a17: fix(runtime): register srpc client interface (@paralin)
- 26c0910: fix(runtime): support in-memory srpc streams (@paralin)
- 63a7828: fix(runtime): widen http body overrides (@paralin)
Performance
- 78c5c07: perf(compiler): cache semantic function names (@paralin)
- f4723b5: perf(compiler): hoist anonymous interface graph (@paralin)
- 62e018e: perf(compiler): lower empty byte arrays directly (@paralin)
- 4af225d: perf(compiler): preallocate lowered declaration slices (@paralin)
- 48be90e: perf(compiler): preallocate package declaration map (@paralin)
- 15015b9: perf(compiler): skip goto analysis for ordinary stmt lists (@paralin)
- 70a999a: perf(compiler): write emitted files from strings (@paralin)
Other
- 39275d4: release: v0.1.4 (@paralin)
- 5e5fa81: test(compiler): add lowering benchmarks (@paralin)
- 7c2585d: test(compiler): cover signed wide shifts (@paralin)
- fda2753: test(compiler): refresh flate dependency output (@paralin)
- 0900ae0: test(compiler): refresh flate generated output (@paralin)
- f325149: test(compiler): update empty byte array snapshots (@paralin)
- cbdb19c: test(examples): expand playground coverage (@paralin)
Full Changelog: v0.1.3...v0.1.4
Installation
npm:
npm install goscript@0.1.4Binary:
Download the appropriate binary for your platform from the assets below.
v0.1.3
GoScript v0.1.3
Go to TypeScript transpiler release.
Changelog
Bug Fixes
- f5210bb: fix(compiler): box aliases with target runtime types (@paralin)
- fd87ffe: fix(compiler): escape generated type identifiers (@paralin)
- e9989d6: fix(compiler): lower tuple map index assignments (@paralin)
- 310d36d: fix(compiler): preserve generated control-flow typing (@paralin)
- 50fd283: fix(compiler): preserve runtime import owners (@paralin)
- ef41c20: fix(compiler): recognize reflect typefor as pure initializer (@paralin)
- 56b4dd3: fix(overrides): accept nullable io interfaces (@paralin)
- 1017ab2: fix(overrides): add http error statuses (@paralin)
- cc06181: fix(overrides): add sha1 hashing (@paralin)
- 7b7b491: fix(overrides): add teapot http status (@paralin)
- 96d259a: fix(overrides): await sync locker calls (@paralin)
- 82e7edc: fix(overrides): canonicalize http headers (@paralin)
- 7d53811: fix(overrides): support range scan and async httptest (@paralin)
- 6ee7469: fix(runtime): accept varref interface assertions (@paralin)
- ce584c5: fix(runtime): add forbidden http status (@paralin)
- 507cff2: fix(runtime): add unauthorized http status (@paralin)
- a924b8d: fix(runtime): defer closed channel wakeups (@paralin)
- 01c83ea: fix(runtime): route httptest clients in process (@paralin)
- a08d4af: fix(runtime): synchronize unbuffered channel handoff (@paralin)
Other
Full Changelog: v0.1.2...v0.1.3
Installation
npm:
npm install goscript@0.1.3Binary:
Download the appropriate binary for your platform from the assets below.