Release v0.5.0
What's Changed
- desktop support for dev server ( related to #410 ) by @nnnnathann in #565
- Make
ssc run
respect headless config option by @chicoxyzzy in #564 - Fix mobile builds by @chicoxyzzy in #566
- Network module by @heapwolf in #571
- ensure options have precedence when join is called by @heapwolf in #573
- fix(determine_cxx): ignore clang binaries that don't have
--version
by @yashdiniz in #579 - Fix missing docs by @jwerle in #580
- Fix internal cache reloading & control packet checks by @heapwolf in #581
- import 'socket:internal/init' when interactive by @jwerle in #587
- Handle various common mime types on Windows by @jwerle in #588
- Forward argv to 'socket.ini' and mobile by @jwerle in #589
- fix(src/cli/templates.hh): fix default '[webview]' config by @jwerle in #592
- refactor(src/cli/cli.cc): allow async build after script by @jwerle in #593
- chore(src/cli/cli.cc): only remove 'socket/node_modules' by @jwerle in #591
- DOM assertions by @bcomnes in #569
- Allow configuration of android icon and resources by @jwerle in #590
- FileSystemWatcher API by @jwerle in #594
- chore(docs): improve config doc by @chicoxyzzy in #596
- Make
ssc build
fail early when[meta] build_identifier
is not provided by @chicoxyzzy in #597 - fix:
getEmitToRenderProcessJavaScript
value encoding by @aleclarson in #599 - Improve type test helper by @bcomnes in #601
- Refactor doc gen by @chicoxyzzy in #602
- chore(CONTRIBUTING.md): update links and cleanup by @chicoxyzzy in #603
- chore(docs): improve docs by @chicoxyzzy in #605
- voluntary ttl field in framing, improves logging by @heapwolf in #598
- chore(src/cli/templates.hh): improve html template by @chicoxyzzy in #611
- docs(config): do not ignore commented values by @chicoxyzzy in #612
- feat(src/cli/cli.cc): add --name option to ssc init by @chicoxyzzy in #613
- fix(api/url): fix missing static 'URL' properties by @jwerle in #614
- fix(bin): move 'npm run gen' to 'publish-npm-modules.sh' by @jwerle in #618
- Permissions Configuration by @jwerle in #615
- Upd npm deps by @chicoxyzzy in #617
- fix(scr/cli/cli.cc): make
[build] script
phase run before[build] copy
phase by @chicoxyzzy in #620 - Darwin Geolocation by @jwerle in #616
- Introduce missing fs core APIs by @jwerle in #619
- Introduce missing fs javascript APIs by @jwerle in #621
- Extension and permission fixes by @jwerle in #622
- Improve user device media permissions by @jwerle in #623
- fix(build): fix compiling 'libuv' for windows after libuv update by @jwerle in #624
- Fix Android build and 'Runtime::isPermissionAllowed' by @jwerle in #626
- chore(.github/workflows/ci.yml): increase timeouts by @jwerle in #625
- chore(npm): remove CONTRIBUTING.md from the npm package by @chicoxyzzy in #628
- SRP rc for socket 0.5 by @heapwolf in #632
- Backport tapzero plan by @bcomnes in #627
- refactor(bin/cflags.sh): use 'fPIC' on darwin by @jwerle in #629
- Fix Android tests by @jwerle in #630
- Darwin Window fixes by @jwerle in #633
- Android geolocation with permissions by @jwerle in #634
- fix(scr/cli/templates.hh): move watch option to the [webview] section by @chicoxyzzy in #636
- docs: update docs by @chicoxyzzy in #637
- docs(CONTRIBUTING.md): add build instructions by @chicoxyzzy in #635
- Fix various compiler warnings by @jwerle in #639
- Native Extension API improvements by @jwerle in #640
- Introduce 'i18n' API by @jwerle in #641
- fix(types): fixes to @socketsupply/socket types by @aleclarson in #645
- fix(cli): run user build script after package is scaffolded by @aleclarson in #642
- fix(cli): warn when extension sources are not found by @aleclarson in #652
- feat(cli): respect NO_ANDROID=1 in
ssc build
by @aleclarson in #653 - fix(cli): --quiet typo by @aleclarson in #654
- fix: encode uncaught exception before writing to ipc by @aleclarson in #657
- fix: remove superfluous decodeURIComponent calls by @aleclarson in #656
- feat: write backend logs to std::cout/std::cerr and forward them to Console.app on macOS by @aleclarson in #661
- chore: use pnpm workspaces by @aleclarson in #662
- fix(cli): log
configure.script
output when exitCode is non-zero by @aleclarson in #664 - chore: add exports field to @socketsupply/socket package by @aleclarson in #655
- fix: use --force with npm link by @aleclarson in #658
- fix: send all process.stdout/process.stderr writes through ipc by @aleclarson in #660
- fix(extension): long->int precision loss by @aleclarson in #671
- feat(extension): add
sapi_ipc_reply_with_error
function by @aleclarson in #670 - chore(socket-node): remove unused import by @chicoxyzzy in #672
- fix(cli): skip build.script when looking for extension sources by @aleclarson in #669
- fix: have
ipc.request
treatparams
argument asparams.value
if not a plain object by @aleclarson in #667 - fix(ipc): stringify the value passed to
process.write
by @aleclarson in #659 - fix(extension): avoid precision loss from size_t -> uint by @aleclarson in #678
- fix(ipc): omit
value
parameter if value is undefined by @aleclarson in #677 - feat(cli): allow subcommands, variables, and relative paths in extension compiler/linker flags by @aleclarson in #665
- Reduce 'init.cc' header dependency by @jwerle in #681
- Notification API by @jwerle in #676
- Make socket-node version be in sync with main package version by @chicoxyzzy in #683
- feat(extension): add
sapi_ipc_send_chunk
andsapi_ipc_send_event
by @aleclarson in #679 - fix(types): extend Window type with built-in events by @aleclarson in #688
- fix: setSystemMenu JS validation by @aleclarson in #686
- Breakout core runtime files by @jwerle in #687
- fix(cli): track built extensions for android by @jwerle in #689
- fix: remove outdated code in
getResolveMenuSelectionJavaScript
by @aleclarson in #691 - fix(apple): skip
didReceiveData
call if both event name and data are empty by @aleclarson in #693 - Some fixes to
send_event
andsend_chunk
extension APIs by @aleclarson in #692 - fix(src/cli/cli.cc): fix arguments parsing by @chicoxyzzy in #697
- Implement 'resolveURLPathForWebView()' function by @bcomnes in #663
- fix(cli.cc): fix push notification permission by @jwerle in #699
- chore(docs): improve config doc by @chicoxyzzy in #702
- fix(src/cli): fix 'Info.plist' generation for iOS by @jwerle in #705
- fix(socket-node): avoid resolving
send
promise with Error object by @aleclarson in #704 - fix(socket-node): include stack trace for uncaught exceptions by @aleclarson in #709
- Introduce runtime core tests by @jwerle in #708
- fix(cli): typo with
permissions
setting access by @aleclarson in #710 - Fix missing absolute path separator by @bcomnes in #711
- fix(mac): avoid "This task has already been stopped" exceptions by @aleclarson in #701
- docs(cli): add CLI.md by @chicoxyzzy in #717
- Update README.md by @heapwolf in #722
- fix(src/ipc/bridge.cc): add missing ios branch for base path in router resolution by @jwerle in #724
- refactor(src/cli/cli.cc): better check for available iOS Simulator devices by @chicoxyzzy in #727
- docs(ipc,window): clarifications and spelling fixes by @chicoxyzzy in #723
- fix(src/ipc/bridge.cc): check if task is in map first by @jwerle in #732
- allow higher limits on open files ios by @heapwolf in #734
- Fix iOS packaging & improve scheme routing by @jwerle in #735
- Introduce 'fs.watch' and 'fs.Watcher' by @jwerle in #736
- feat(extension): add
sapi_ipc_set_cancellation_handler
method by @aleclarson in #738 - fix(src/cli/cli.cc): fixes for build and run commands by @chicoxyzzy in #740
- refactor(src/core/fs.cc): guard 'FileSystemWatcher' from android by @jwerle in #741
- Add a recursive option to mkdir by @bcomnes in #729
- fix: use a
shared_ptr
for IPC HTTP request cancellation callback by @aleclarson in #745 - Implement WebView Navigator File System Mounts for desktop by @jwerle in #746
- fix(src/ipc/bridge.cc): fix 'HOME' for user on windows in mounts by @jwerle in #748
- refactor(api/notifications): fix 'Notification.requestPermission' by @jwerle in #750
- Introduce '[build] script.forward_arguments' by @chicoxyzzy in #747
- fix(setSystemMenu): support multiple modifiers on macOS by @aleclarson in #752
- fix(setSystemMenu): handle empty lines correctly by @aleclarson in #751
- fix(src/cli/cli.cc): fix option for forwarding arguments by @chicoxyzzy in #753
- Improve 'Notification' api by @jwerle in #754
- More docs update by @chicoxyzzy in #749
- expose additional kb info by passing notification object by @heapwolf in #755
- fixes setRecvBufferSize and setSendBufferSize by @heapwolf in #756
- Fix iOS container path resolution by @jwerle in #757
- docs(config): add a note about ~ usage by @chicoxyzzy in #759
- feat(): create icon file on ssc init by @chicoxyzzy in #674
- feat(api/path): introduce well known path constants by @jwerle in #761
- feat(api/mime): introduce MIME database by @jwerle in #760
- fix(bin/publish-npm-modules.sh): copy missing 'arm64-iPhone' on x64 arch by @jwerle in #762
- Fix os.platform bug by @bcomnes in #763
- MIME-DB tests by @bcomnes in #764
- Fixes by @chicoxyzzy in #766
- Improve checks in android functions by @chicoxyzzy in #768
- make
fs.writeFile
test way faster by @chicoxyzzy in #770 - rc05 by @heapwolf in #700
- Initial File Pickers: 'showOpenFilePicker', 'showSaveFilePicker', 'showDirectoryPicker' by @jwerle in #765
- update ssc init by @chicoxyzzy in #771
- refactor(src/cli/templates.hh): improve watch mode defaults for ssc init by @chicoxyzzy in #774
- chore(cli): remove patcher;v4 by @chicoxyzzy in #769
- Improve 'RuntimeWorker' implementation by @jwerle in #776
- Smart 'dgram.Socket' reuse by @jwerle in #777
- Fix dgram bind by @jwerle in #779
- improve api defaults, property check peer when offline by @heapwolf in #778
- reuse Ci build artifacts by @chicoxyzzy in #781
- Various Windows fixes by @jwerle in #785
- Various Android fixes by @jwerle in #786
- Upgrade WebView2 by @jwerle in #787
- refactor(src/core/javascript.cc): 'dragdropfiles' by @jwerle in #788
- Add dragdropfiles event by @bcomnes in #789
- Various Android fixes by @jwerle in #794
- fix(src/cli/cli.cc): fix Android bundle identifier by @chicoxyzzy in #795
- fix(src/cli/cli.cc): '_' needs to be '_1' for android JNI package name by @jwerle in #796
- Network docs by @chicoxyzzy in #799
- fix(src/cli/cli.cc): fix headless mode by @chicoxyzzy in #802
- test(test/src/fs/index.js): simplify fs.writeFile test by @chicoxyzzy in #800
- chore(test/src/application.js): increase timeout for backend.open({ force: true })) to send event by @chicoxyzzy in #803
- Fix build watch cli shorthand (
-w
) by @coffeejunk in #804
New Contributors
- @nnnnathann made their first contribution in #565
- @yashdiniz made their first contribution in #579
- @coffeejunk made their first contribution in #804
Full Changelog: v0.4.0...v0.5.0