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.