Releases: jow-/ucode
Releases · jow-/ucode
v0.0.20250529
What's Changed
- syntax: don't treat
as
andfrom
as reserved keywords by @jow- in https://github.com/jow-/ucode/pull/181 - uloop: support new interval and signal APIs by @jow- in https://github.com/jow-/ucode/pull/180
- ubus: make ubus_context first in uc_ubus_connection_t by @nbd168 in https://github.com/jow-/ucode/pull/183
- rtnl: improve event reception in order to avoid ENOBUFS by @jow- in https://github.com/jow-/ucode/pull/185
- vm: rework object iteration by @jow- in https://github.com/jow-/ucode/pull/189
- uci: refactor uci.changes() to match documentation by @jow- in https://github.com/jow-/ucode/pull/190
- vm: rework
in
operator semantics by @jow- in https://github.com/jow-/ucode/pull/194 - ubus: automatically clear error information by @jow- in https://github.com/jow-/ucode/pull/191
- ubus: add explicit support for deferring incoming requests by @nbd168 in https://github.com/jow-/ucode/pull/195
- lib: introduce socket library by @jow- in https://github.com/jow-/ucode/pull/196
- uloop: add documentation by @jow- in https://github.com/jow-/ucode/pull/197
- ubus: fix uc_ubus_have_uloop for eloop+uloop combination by @nbd168 in https://github.com/jow-/ucode/pull/198
- socket: add AF_PACKET socket type support by @jow- in https://github.com/jow-/ucode/pull/199
- socket: fix potential memory leak in connect() by @jow- in https://github.com/jow-/ucode/pull/200
- socket: optimize poll() argument handling by @jow- in https://github.com/jow-/ucode/pull/201
- Socket improvements by @jow- in https://github.com/jow-/ucode/pull/202
- Add fs module utility functions by @nbd168 in https://github.com/jow-/ucode/pull/207
- core-lib: improved documentation by @efahl in https://github.com/jow-/ucode/pull/206
- lib: introduce zlib library by @f00b4r0 in https://github.com/jow-/ucode/pull/204
- nl80211: add support for multi-attribute arrays by @nbd168 in https://github.com/jow-/ucode/pull/208
- nl80211: add wiphy multi-radio support by @nbd168 in https://github.com/jow-/ucode/pull/210
- Hwsim support by @jow- in https://github.com/jow-/ucode/pull/211
- tests: replace test runner shell script with ucode implementation by @jow- in https://github.com/jow-/ucode/pull/214
- lib: use copy of environ pointer in getenv() by @mikma in https://github.com/jow-/ucode/pull/221
- fs: add ioctl() file method by @jonasjelonek in https://github.com/jow-/ucode/pull/218
- nl80211: add EHT mac/phy capabilities by @jow- in https://github.com/jow-/ucode/pull/223
- fs: fix potential memory leak on i/o errors in .read() by @jow- in https://github.com/jow-/ucode/pull/224
- compiler: properly treat property names after spread expressions by @jow- in https://github.com/jow-/ucode/pull/225
- Enhance lexer functionality and improve token reporting by @jow- in https://github.com/jow-/ucode/pull/226
- vallist: more thoroughly check for trailing garbage after numeric string by @jow- in https://github.com/jow-/ucode/pull/240
- types: fix potential use after free on adding keys during iteration by @jow- in https://github.com/jow-/ucode/pull/239
- socket: provide local definition of
struct fanout_args
by @jow- in https://github.com/jow-/ucode/pull/241 - utils: improve vector macros by @jow- in https://github.com/jow-/ucode/pull/213
- lib: Removed global variables from module math for thread safety by @sebastianertz in https://github.com/jow-/ucode/pull/237
- nl80211: add new attributes for multi-radio support by @nbd168 in https://github.com/jow-/ucode/pull/244
- vm: resolve upvalues before pushing them onto the stack by @jow- in https://github.com/jow-/ucode/pull/246
- lib: introduce digest library by @sebastianertz in https://github.com/jow-/ucode/pull/232
- lib: Removed global variables from module fs for thread safety by @IdWV in https://github.com/jow-/ucode/pull/234
- Removed all global variables from libucode for thread safety by @IdWV in https://github.com/jow-/ucode/pull/242
- lib: utilize
ucv_array_sort_r()
anducv_object_sort_r()
by @jow- in https://github.com/jow-/ucode/pull/247 - nl80211: properly support split_wiphy_dump for single phys by @jow- in https://github.com/jow-/ucode/pull/249
- lexer: Preserve keyword, regexp flags until processing non-comment to… by @jow- in https://github.com/jow-/ucode/pull/251
- main: pretty-print
-p
output by default by @jow- in https://github.com/jow-/ucode/pull/252 - struct: Add new buffer API for incremental packing/unpacking by @jow- in https://github.com/jow-/ucode/pull/209
- main: fix crash on printing -p output by @nbd168 in https://github.com/jow-/ucode/pull/256
- uci: eliminate usage of global variables by @jow- in https://github.com/jow-/ucode/pull/258
- struct: fix memory leak in buffer.pull() by @jow- in https://github.com/jow-/ucode/pull/260
- debian/control: Build-Depend on cmake by @stokito in https://github.com/jow-/ucode/pull/261
- debian/control: libucode Recommends ucode-modules by @stokito in https://github.com/jow-/ucode/pull/262
- docs: Fix compilation command for macOS by @aparcar in https://github.com/jow-/ucode/pull/267
- docs: Mention
libmd
in macOS docs by @aparcar in https://github.com/jow-/ucode/pull/266 - main: add global ARGV0 variable by @nbd168 in https://github.com/jow-/ucode/pull/270
- socket: fix AF_PACKET recvmsg() and sockaddr formatting by @jow- in https://github.com/jow-/ucode/pull/271
- socket: properly support SO_ATTACH_FILTER sockopt by @jow- in https://github.com/jow-/ucode/pull/274
- debian: fix lintian warnings by @stokito in https://github.com/jow-/ucode/pull/268
- ubus file descriptor passing and channel support by @nbd168 in https://github.com/jow-/ucode/pull/263
- fs: improve ioctl implementation by @jonasjelonek in https://github.com/jow-/ucode/pull/269
- vm: fix crash due to stale frame pointer by @nbd168 in https://github.com/jow-/ucode/pull/276
- uci: implement cursor.list_append() and cursor.list_remove() by @jow- in https://github.com/jow-/ucode/pull/280
- ubus: add support for calling system objects by @nbd168 in https://github.com/jow-/ucode/pull/278
- socket: add reuseaddr argument for socket.listen() by @nbd168 in https://github.com/jow-/ucode/pull/283
- uci: add support for altering the override config directory by @nbd168 in https://github.com/jow-/ucode/pull/281
- socket: add missing documentation for socket.listen() reuseaddr by @nbd168 in https://github.com/jow-/ucode/pull/284
- ubus deferred request enhancements by @nbd168 in https://github.com/jow-/ucode/pull/282
- ubus: fix broken uc_ubus_defer() by @mikma in https://github.com/jow-/ucode/pull/289
- Support for chdir() on opendir() handles by @nbd168 in https://github.com/jow-/ucode/pull/290
- build: detect whether toolchain employs default source fortification by @jow- in https://github.com/jow-/ucode/pull/293
- uci: add cursor() flags argument by @nbd168 in https://github.com/jow-/ucode/pull/286
- zlib: incorporate latest PR changes by @jow- in https://github.com/jow-/ucode/pull/294
- socker: let sock.peercred() clear error on success by @jow- in https://github.com/jow-/ucode/pull/296
- Fixes for ubus binding issues by @nbd168 in https://github.com/jow-/ucode/pull/298
- ubus: use ucv_resource_create_ex and embedded references by @nbd168 in https://github.com/jow-/ucode/pull/300
New Contributors
- @efahl made their first contribution in https://github.com/jow-/ucode/pull/206
- @f00b4r0 made their first contribution in https://github.com/jow-/ucode/pull/204
- @mikma made their first contribution in https://github.com/jow-/ucode/pull/221
- @jonasjelonek made their first contribution in https://github.com/jow-/ucode/pull/218
- @sebastianertz made their first contribution in https://github.com/jow-/ucode/pull/237
- @IdWV made their first contribution in https://github.com/jow-/ucode/pull/234
- @stokito made their first contribution in https://github.com/jow-/ucode/pull/261
- @aparcar made their first contribution in https://github.com/jow-/ucode/pull/267
Full Changelog: v0.0.20231102...v0.0.20250529
v0.0.20231102
What's Changed
- ci: switch to official openwrt/gh-action-sdk by @jow- in https://github.com/jow-/ucode/pull/159
- Fixes for source offset tracking by @jow- in https://github.com/jow-/ucode/pull/158
- Add initial JSDoc infrastructure by @jow- in https://github.com/jow-/ucode/pull/161
- fs: use
fseeko()
andftello()
by @jow- in https://github.com/jow-/ucode/pull/162 - fs: complete function documentation coverage by @jow- in https://github.com/jow-/ucode/pull/163
- docs: various improvements by @jow- in https://github.com/jow-/ucode/pull/164
- Fix 165 by @jow- in https://github.com/jow-/ucode/pull/166
- Introduce signal handling by @jow- in https://github.com/jow-/ucode/pull/157
- Introduce debug library by @jow- in https://github.com/jow-/ucode/pull/167
- types: improve comparison reliability of binary strings by @jow- in https://github.com/jow-/ucode/pull/168
- Documentation improvements by @jow- in https://github.com/jow-/ucode/pull/169
- rtnl: add IFLA_IF_NETNSID for operating in other namespaces by @pktpls in https://github.com/jow-/ucode/pull/171
- Misc fixes by @nbd168 in https://github.com/jow-/ucode/pull/173
- lib: introduce log library by @jow- in https://github.com/jow-/ucode/pull/174
- Various documentation improvements by @jow- in https://github.com/jow-/ucode/pull/175
New Contributors
- @pktpls made their first contribution in https://github.com/jow-/ucode/pull/171
Full Changelog: v0.0.20230606...v0.0.20231102
v0.0.20230606
What's Changed
- add cmake to install requires for debian by @joshschmelzle in https://github.com/jow-/ucode/pull/120
- compiler: fix
??=
,||=
and&&=
logical assignment sementics by @jow- in https://github.com/jow-/ucode/pull/123 - compiler: ensure that arrow functions with block bodies return no value by @jow- in https://github.com/jow-/ucode/pull/125
- uci: auto-load package in
ctx.foreach()
andctx.get_first()
by @jow- in https://github.com/jow-/ucode/pull/126 - lib: uc_json(): accept trailing whitespace when parsing strings by @jow- in https://github.com/jow-/ucode/pull/128
- uloop: terminate parent uloop in task child processes by @jow- in https://github.com/jow-/ucode/pull/127
- math: add isnan() function by @jow- in https://github.com/jow-/ucode/pull/129
- fs: add
realpath()
function by @jow- in https://github.com/jow-/ucode/pull/130 - compiler: fix bytecode for logical assignments of properties by @jow- in https://github.com/jow-/ucode/pull/131
- include: add uc_fn_thisval() by @nbd168 in https://github.com/jow-/ucode/pull/134
- nl80211: add support for NL80211_ATTR_MPATH_INFO by @blogic in https://github.com/jow-/ucode/pull/136
- fs: add
isatty()
function by @ynezz in https://github.com/jow-/ucode/pull/137 - nl80211: add support for registering an uloop based listener by @nbd168 in https://github.com/jow-/ucode/pull/138
- rtnl: add support for registering an uloop based listener by @nbd168 in https://github.com/jow-/ucode/pull/140
- nl80211: fix NL80211_ATTR_SURVEY_INFO by @dhewg in https://github.com/jow-/ucode/pull/141
- Fix reference count issues by @nbd168 in https://github.com/jow-/ucode/pull/142
- rtnl: add missing uc_vm_registry_set call by @nbd168 in https://github.com/jow-/ucode/pull/143
- uci: fix ctx.commit() without arguments by @jow- in https://github.com/jow-/ucode/pull/148
- ci: unbreak failing builds by using fixed gh-actions-openwrt-ci-sdk by @ynezz in https://github.com/jow-/ucode/pull/151
- program: fix memory leak in read_sourceinfo by @Ansuel in https://github.com/jow-/ucode/pull/152
- A few minor fixes/improvements to ucode by @nbd168 in https://github.com/jow-/ucode/pull/150
- README.md: fix debian dependencies by @luizluca in https://github.com/jow-/ucode/pull/155
- nl80211: add constants for iftypes by @nbd168 in https://github.com/jow-/ucode/pull/156
- lib: support object ordering in
uc_sort()
by @jow- in https://github.com/jow-/ucode/pull/153
New Contributors
- @joshschmelzle made their first contribution in https://github.com/jow-/ucode/pull/120
- @blogic made their first contribution in https://github.com/jow-/ucode/pull/136
- @dhewg made their first contribution in https://github.com/jow-/ucode/pull/141
- @Ansuel made their first contribution in https://github.com/jow-/ucode/pull/152
- @luizluca made their first contribution in https://github.com/jow-/ucode/pull/155
Full Changelog: v0.0.20221018...v0.0.20230606
v0.0.20221018
What's Changed
- lib: remove fixed capture group limit in match() and regex replace() by @jow- in https://github.com/jow-/ucode/pull/102
- fs: add optional third permission argument to fs.open() by @jow- in https://github.com/jow-/ucode/pull/103
- ubus: various improvements by @jow- in https://github.com/jow-/ucode/pull/104
- Various improvements by @jow- in https://github.com/jow-/ucode/pull/108
- lib: implement slice() function by @jow- in https://github.com/jow-/ucode/pull/110
- lexer: fixes for regex literal parsing by @jow- in https://github.com/jow-/ucode/pull/113
- fs: use
getline()
for line wise read operations by @jow- in https://github.com/jow-/ucode/pull/115 - fs: expose
getdelim()
functionality throughfd.read()
by @jow- in https://github.com/jow-/ucode/pull/118
Full Changelog: v0.0.20220824...v0.0.20221018
v0.0.20220824
What's Changed
- lib: introduce three new functions call(), loadstring() and loadfile() by @jow- in https://github.com/jow-/ucode/pull/101
Full Changelog: v0.0.20220812...v0.0.20220824
v0.0.20220812
What's Changed
- compiler: fix stack mismatch on continue statements nested in switches by @jow- in https://github.com/jow-/ucode/pull/93
- rtnl: fix parsing/creation of IFLA_AF_SPEC RTA for the AF_BRIDGE family by @jow- in https://github.com/jow-/ucode/pull/94
- lexer: fix parsing with disabled block left stripping by @jow- in https://github.com/jow-/ucode/pull/95
- Module import export support by @jow- in https://github.com/jow-/ucode/pull/96
- Module import export fixes by @jow- in https://github.com/jow-/ucode/pull/97
- Add import statement support for dynamic extensions by @jow- in https://github.com/jow-/ucode/pull/98
- Implement periodic GC by @jow- in https://github.com/jow-/ucode/pull/99
Full Changelog: v0.0.20220629...v0.0.20220812
v0.0.20220629
What's Changed
- ci: make jobs faster during pull request testing by @ynezz in https://github.com/jow-/ucode/pull/75
- Number literals by @jow- in https://github.com/jow-/ucode/pull/78
- struct: fix packing
*
format after other repeated formats by @jow- in https://github.com/jow-/ucode/pull/79 - rtnl: avoid stray "netlink: %d bytes leftover after parsing attributes." by @jow- in https://github.com/jow-/ucode/pull/80
- rtnl: fix premature netlink reply receive abort by @jow- in https://github.com/jow-/ucode/pull/81
- rtnl: zero request message headers by @jow- in https://github.com/jow-/ucode/pull/82
- rtnl: fix segmentation fault on parsing linkinfo RTA without data by @jow- in https://github.com/jow-/ucode/pull/83
- struct: add optional offset argument to
unpack()
by @jow- in https://github.com/jow-/ucode/pull/84 - nl80211: recognize further NL80211_STA_INFO_* NLAs by @jow- in https://github.com/jow-/ucode/pull/85
- nl80211: fix NL80211_SURVEY_INFO_NOISE datatype by @jow- in https://github.com/jow-/ucode/pull/88
- compiler: fix stack mismatch on nonmatching switch statements with lo… by @jow- in https://github.com/jow-/ucode/pull/87
- rtnl: update NETLINK_GET_STRICT_CHK socket flag with every request by @jow- in https://github.com/jow-/ucode/pull/86
- rtnl: expose ifinfomsg.ifi_change member by @jow- in https://github.com/jow-/ucode/pull/89
- rtnl: expose IFLA_STATS64 contents by @jow- in https://github.com/jow-/ucode/pull/90
- uloop: end uloop on exceptions in managed code by @jow- in https://github.com/jow-/ucode/pull/92
- ubus: end uloop on exceptions in managed code by @jow- in https://github.com/jow-/ucode/pull/91
New Contributors
- @ynezz made their first contribution in https://github.com/jow-/ucode/pull/75
Full Changelog: v0.0.20220531...v0.0.20220629
v0.0.20220531
What's Changed
- syntax: implement support for ES6 template literals by @jow- in https://github.com/jow-/ucode/pull/73
- lib: introduce hexenc() and hexdec() by @jow- in https://github.com/jow-/ucode/pull/76
- lib: rework uc_index() implementation by @jow- in https://github.com/jow-/ucode/pull/77
Full Changelog: v0.0.20220413...v0.0.20220531
v0.0.20220413
What's Changed
- treewide: move json-c compat shims into internal header file by @jow- in https://github.com/jow-/ucode/pull/71
- vm: stop executing bytecode on return of nested calls by @jow- in https://github.com/jow-/ucode/pull/72
Full Changelog: v0.0.20220407...v0.0.20220413