Releases: saghul/txiki.js
Releases · saghul/txiki.js
v24.6.0
What's Changed
- Impriove makefile by @saghul in #438
- web-api: add navigator polyfill by @saghul in #439
- web-api: add Text{Encoder,Decoder}Stream polyfill by @saghul in #440
- Substitute state for stae. Link to QuickJS-ng by @guest271314 in #442
- core: workaround libuv change in behavior by @saghul in #444
- deps: update QuickJS-ng to 0.3.0 by @saghul in #446
- build: fix libffi building to the wrong directory (#453) by @ItsTheWhale in #454
- web-api: add atob / btoa by @saghul in #455
- Mimalloc prep by @saghul in #457
- core: make sure close callbacks don't access the JS context by @saghul in #458
- Polyfills refresh by @saghul in #459
- polyfills: add Compression Streams API polyfill by @saghul in #460
- deps: update libuv by @saghul in #462
- core: refactor global nitialize by @saghul in #464
- Mimalloc by @saghul in #456
- ci: update actions by @saghul in #465
- deps: update QuickJS-ng to 0.4.1 by @saghul in #466
- tcp: make keep-alive delay value configurable by @saghul in #467
- windows: use exact path matching when spawning processes by @saghul in #468
- fetch: add FormData and FileReader polyfills by @saghul in #469
- repl: fix REPL after QuickJS update by @saghul in #470
- process: fix Process object being closed early in chained calls by @saghul in #472
- repl: fix color scheme for light backgrounds by @saghul in #474
- build: drop half-baked asan support by @saghul in #475
- core: refactor signal handling by @saghul in #480
- fix invalid memory writes by @lal12 in #478
- tests: replace httpbin.org with postman-echo.com by @saghul in #481
- core: disable buffering on std{out,err} by @saghul in #482
- ci: add arm64 macOS to the testing matrix by @saghul in #483
- move most of test-ffi to own testlib by @lal12 in #484
- console implementation according to standard by @lal12 in #485
- deps: update QuickJS-ng by @saghul in #488
- only initalize native ffi code on ffi import by @lal12 in #487
- Refactor bootstrap process by @saghul in #489
- ci: add codegen check to CI by @saghul in #493
- core: refactor timers by @saghul in #492
- polyfills: fix performance.{mark.measure} by @saghul in #494
- deps: update QuickJS-ng by @saghul in #495
- core: refactor environment variable handling in JS by @saghul in #496
- console improvements & bugfix by @lal12 in #497
- fix eslintignore to match bundles again by @lal12 in #498
- misc: remove no longer used JSValueConst type by @saghul in #499
- build(deps): bump gh-pages from 4.0.0 to 5.0.0 by @dependabot in #500
- deps: update QuickJS-ng by @saghul in #501
- repl,core: reset tty state before exiting by @saghul in #507
- Update assert.d.ts to solve #504 by @KaruroChori in #505
- core: fix timers typo by @saghul in #509
- fix some ffi types by @lal12 in #510
- deps: update QuickJS-ng by @saghul in #519
- Allow embedding txiki in other applications by @jspngh in #517
- Replaced
any
withunknowns
in txikijs.d.ts by @KaruroChori in #522 - improved posix socket api by @lal12 in #526
- Format by @saghul in #527
- add AF_UNIX to defines in posix-socket by @lal12 in #530
- Fix linking with libcurl by @saghul in #531
- Ffi parsing comment support by @lal12 in #528
- sqlite: add exec method by @saghul in #533
- streams: add support for abstract sockets on Linux by @saghul in #534
- sqlite: add transactions support by @saghul in #536
- core: adapt to new TLA changes by @saghul in #540
- Cherrypick gc features from stable-gluegunfw by @KaruroChori in #537
- Support for C++ in macros by @KaruroChori in #546
- build(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #550
- xhr: fix sending FormData and URLSearchParams by @saghul in #551
- build: portability improvements to Makefile by @saghul in #542
- xhr: add support for sending ArrayBuffer, TypedArray and Blob by @saghul in #552
- core: refactor how libuv companion objects are allocated by @saghul in #553
- repl: add history support by @saghul in #554
New Contributors
- @ItsTheWhale made their first contribution in #454
- @KaruroChori made their first contribution in #505
- @jspngh made their first contribution in #517
Full Changelog: v23.12.0...v24.6.0
v23.12.0
What's Changed
- ci: test UCRT64 environment on Windows by @saghul in #419
- autoconf, textinfo dependencies Debian/Ubuntu by @guest271314 in #381
- Fix use-after-free on error during module evaluation by @saghul in #420
- core: refactor handling unhandled rejections by @saghul in #421
- timers: fix leak when interpreter shutsdown early by @saghul in #422
- timers: use numeric timer ids by @saghul in #423
- Polymorphism by @saghul in #424
- build: replace use of nproc by @saghul in #426
- Use QuickJS-ng by @saghul in #427
- file: embed polyfill for blob and file by @jimmywarting in #428
- impl-domexception by @jimmywarting in #429
- build: rework setting cflags by @saghul in #431
- deps: update QuickJS-ng by @saghul in #432
- deps: update libuv by @saghul in #433
- deps: update QuickJS to version 0.2.0 by @saghul in #435
- build: simplify Makefile by @saghul in #436
- core: target ES2022 by @saghul in #437
New Contributors
- @jimmywarting made their first contribution in #428
Full Changelog: v23.10.0...v23.12.0
v23.10.0
What's Changed
- fs: add mkdirp and rimraf equivalents by @saghul in #370
- Update Unix building instructions by @guest271314 in #371
- Reorganize bundles by @saghul in #372
- core: lazy load builtin stdlib modules by @saghul in #373
- core: avoid exposing some internal objects by @saghul in #374
- core: refactor error interface by @saghul in #375
- doc: update documentation on constants by @saghul in #376
- Add build-essential to avoid build error by @guest271314 in #378
- curl: add timeout to http imports by @saghul in #379
- build: fix curl build warnings by @saghul in #380
- console: fix logging symbol primitives by @saghul in #383
- build(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #389
- vm: make runtime shutdown more resilient by @saghul in #393
- utils: add helper to create a Uint8Array while copying the data by @saghul in #392
- build: change default build type to MinSizeRel by @saghul in #394
- main: avoid printint errors twice by @saghul in #396
- Fix curl ws by @saghul in #397
- core: fix not showing syntax error by @saghul in #398
- sqlite: add builtin SQLite3 module by @saghul in #395
- process: fix string leaks by @saghul in #400
- test: add ability to always output stdout / stderr by @saghul in #402
- core: make path a builtin by @saghul in #403
- fs: fix recursive mkdir with absolute paths by @saghul in #406
- fix: JS_NewFloat64 -O3 not support Infinity NaN by @zeromake in #401
- fs: simplify recursive mkdir by @saghul in #407
- Storage APIs by @saghul in #408
- modules: add import.meta.path by @saghul in #410
- build(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in #388
- Fix nonexisting file error by @saghul in #412
- added @txikijs/types by @lal12 in #391
- Some README improvements for types & added CI by @lal12 in #414
- doc: add SQLite module documentation by @saghul in #415
- doc: update documentation, add ci by @saghul in #416
New Contributors
Full Changelog: v23.1.0...v23.10.0
v23.1.0
What's Changed
- build: enable parallel jobs by @saghul in #326
- Bundle refactor by @saghul in #328
- Simplify run by @saghul in #330
- Fixup runtime by @saghul in #331
- Fix eval stdin pipe by @saghul in #332
- Js cli by @saghul in #333
- stdio: only set blocking writes on stdout/err pipes on Windows by @saghul in #334
- cli: refactor and implement subcommands by @saghul in #335
- js: reorganize code by @saghul in #336
- Builtin test runner by @saghul in #338
- fs,streams: consolidate EOF marker by @saghul in #339
- Fixup CI by @saghul in #340
- docker: improve Dockerfile by @saghul in #341
- core: refactor code bundling for a faster startup by @saghul in #342
- tjs: fix tjs.environ not refreshing with every call by @saghul in #343
- tjs: fix bogus getters by @saghul in #344
- build(deps): bump json5 from 1.0.1 to 1.0.2 by @dependabot in #351
- Typo: Substitute decoder for decoer by @guest271314 in #352
- core: refactor stdlib by @saghul in #355
- console: improve logging Error objects by @saghul in #356
- crypto,uuid: use a native UUIDv4 implementation by @saghul in #357
- cli: add ability to launch WASM files directly by @saghul in #358
- vm: fix segfault when running a file which throws an error by @saghul in #360
- test: add test for "bad" JS by @saghul in #361
- assert: fix showing the right assertion line by @saghul in #364
- core: add top level await support by @saghul in #362
- examples: use TLA by @saghul in #365
- repl: add initial support for await by @saghul in #366
- docs: update documentation by @saghul in #367
- hashing: change how SUPPORTED_TYPES is exported by @saghul in #368
Full Changelog: v22.11.1...v23.1.0
v22.11.1
What's Changed
- TextDecoder pollyfill improvement and TypeScript declaration fix for DirHandle by @samuelbrian in #321
- os: add chdir() from libuv by @samuelbrian in #322
- path: update path module to match Node 18 by @saghul in #323
Full Changelog: v22.11.0...v22.11.1
v22.11.0
What's Changed
- Added chmod, chown, lchown, kill by @samuelbrian in #284
- TypeScript definition file fixes and extras by @samuelbrian in #285
- setTimeout: support second params optional by @Sxs7513 in #283
- build(deps): bump async from 2.6.3 to 2.6.4 by @dependabot in #286
- xhr: fix ProgressEvent parameters not being passed to onprogress by @samuelbrian in #287
- process: added exec(cmd) wrapper around execvp() by @samuelbrian in #288
- read() and write() expect TypedArray as parameter by @guest271314 in #292
- modules/tjs.html is 404 in docs/intro.md by @guest271314 in #293
- fs: default tjs.open() mode parameter to 0666 by @samuelbrian in #297
- Typo fix by @vr5 in #298
- Added missing typings for gethostname and NetworkInterface.mac by @lal12 in #304
- Added os uptime and process uptime functions by @lal12 in #303
- Added ffi by @lal12 in #299
- ffi: fix compilation warnings by @saghul in #306
- ffi: improved struct parsing by @lal12 in #308
- js: change to UTF-8-only text-encoding package to reduce bundle size by @samuelbrian in #311
- Added PosixSocket by @lal12 in #302
- deps: update dependencies by @saghul in #312
- WIP by @saghul in #313
- FFI: fixed Pointer.deref() and DlSymbol.addr by @samuelbrian in #315
- misc: run clang-format by @saghul in #314
- curl: create helper for initializing handles by @saghul in #318
- ws: introduce WebSocket support by @saghul in #319
- deps: update libuv to version 1.44.2 by @saghul in #320
New Contributors
- @Sxs7513 made their first contribution in #283
- @guest271314 made their first contribution in #292
- @vr5 made their first contribution in #298
- @lal12 made their first contribution in #304
Full Changelog: v22.4.1...v22.11.0
v22.4.1
What's Changed
- core: simplify defining getters by @saghul in #254
- core: add tjs.{pid,ppid} by @saghul in #255
- core: add tjs.userInfo() by @saghul in #256
- deps: update libuv to v1.44.0 by @saghul in #257
- core,test: add tjs.availableParallelism() by @saghul in #259
- fs: add FileHandle.truncate() by @saghul in #260
- tjs,signal: remove constants by @saghul in #262
- process: use signal names by @saghul in #263
- deps: update libuv to v1.44.1 by @saghul in #264
- deps: update QuickJS to 2021-03-27+2788d71 by @saghul in #265
- fs: add File.{sync,datasync} by @saghul in #266
- fs: replace wrapper class with proxy by @saghul in #267
- fs: introduce a DirEnt object by @saghul in #268
- fs: improve stat result objects by @saghul in #269
- fs: turn DirEnt getters into properties by @saghul in #270
- fs: simplify watch event flags by @saghul in #271
- tcp,udp: remove constants by @saghul in #272
- build(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #276
- build: add the ability to build with ASAN by @saghul in #277
- fs: add mkdir() by @samuelbrian in #281
New Contributors
- @samuelbrian made their first contribution in #281
Full Changelog: v22.3.1...v22.4.1
v22.3.1
What's Changed
- sockets: cache local / remote addresses by @saghul in #242
- sockets: integrate sockets with web streams by @saghul in #245
- fs: integrate file handles with web streams by @saghul in #246
- test: run tests in parallel by @saghul in #248
- sockets: add setKeepAlive / setNoDelay by @saghul in #252
Full Changelog: v22.2.2...v22.3.1
v22.2.2
What's Changed
- build: remove bundled curl by @saghul in #211
- Update libuv by @saghul in #212
- Fixup windows by @saghul in #213
- core,repl: use indirect eval in the repl by @saghul in #214
- misc: move package.json to the root directory by @saghul in #215
- core: fix various string leaks by @saghul in #217
- doc: add API documentation using DTS by @saghul in #216
- ci: automate deploying API docs to gh-pages by @saghul in #227
- core: remove tjs.gettimeofday by @saghul in #228
- Readfile uint8array by @saghul in #229
- error: remove UV_ prefix for error constants by @saghul in #230
- js: move alert/confirm/prompt to the tjs namespace by @saghul in #231
- tjs: add tjs.gethostname by @saghul in #232
- os: sanitize parameters passed to {get,set,unset}env by @saghul in #233
- udp: fix not exporting UDP constants by @saghul in #234
- fs: fix not exposing tjs.(l)stat by @saghul in #236
- tcp,udp: add support for bind flags by @saghul in #237
- modules: simplify module normalizer by @saghul in #238
- core: support stdio over files by @saghul in #239
- core: rename TJS_EvalFile to TJS_EvalModule by @saghul in #240
- cli: evaluate stdin if it's not a TTY by @saghul in #241
Full Changelog: v22.2.1...v22.2.2
v22.2.1
What's Changed
- Fixup getaddrinfo by @saghul in #205
- core: flatten result of getaddrinfo by @saghul in #206
- core: introduce tjs.connect / tjs.listen by @saghul in #207
- sockets: fixup default values for address resolution by @saghul in #208
- sockets: don't make the read / write functions async by @saghul in #209
Full Changelog: v22.2.0...v22.2.1