Download

2022-08-31, Version v0.35.0

Changes

  • feature :

    • Buffer:
      • support Buffer.forEach.(xicilion)
      • support Buffer.byteOffset for compatibility.(xicilion)
      • support base32 and base58.(xicilion)
    • build:
      • support Fedora.(xicilion)
      • automatically detect and install dependent packages.(xicilion)
      • cross build arm64 installer on windows.(xicilion)
      • add arm64 ci on windows.(xicilion)
      • support arm64 on windows.(xicilion)
      • update env script.(xicilion)
      • upgrade ci env to windows-2019.(xicilion)
      • display built time.(xicilion)
    • child_process - support ipc message.(xicilion)
    • console:
      • support Function property in console.log.(xicilion)
      • output colors string in console.dir by default.(xicilion)
      • support option in console.dir.(xicilion)
    • core:
      • support append array in SimpleArray.(xicilion)
      • suipport array config value.(xicilion)
      • process uncaught promise error.(xicilion)
      • implement promises on built-in modules to support async api.(xicilion)
    • crypto:
      • keep key size in json().(xicilion)
      • support toX25519 on curve Ed25519.(xicilion)
      • support compress public key.(xicilion)
      • support recover in secp256k1.(xicilion)
      • support x25519/x488.(xicilion)
      • support bin format in sign/verify.(xicilion)
      • add alias name for NIST curve.(xicilion)
      • add secp256k1_ec_pubkey_decompress function.(xicilion)
      • support bls curve.(xicilion)
      • support Ed25519 curve.(xicilion)
      • use EC as json kty for SM2.(xicilion)
      • support SM2 curve name.(xicilion)
      • support sign to on sm2.(xicilion)
      • support ecsdsa.(xicilion)
      • support PKey.equal.(xicilion)
      • support randomFill.(xicilion)
      • support P-256K alias.(xicilion)
      • support ecdh computeSecret.(xicilion)
      • suport import private ecc key only json.(xicilion)
    • docs:
      • append docs repo.(xicilion)
      • add docs as submodule.(xicilion)
      • update http document.(xicilion)
    • encoding:
      • support multibase.(xicilion)
      • support base58check encoding.(xicilion)
      • support base58 encode.(xicilion)
    • fs:
      • throw error in fs.watch.(xicilion)
      • add opts in fs.readdir.(xicilion)
      • support options in fs.readFile.(xicilion)
    • gd - update gd.(xicilion)
    • global:
      • support global TextEncoder/TextDecoder.(xicilion)
      • support btoa/atob for compatibility.(xicilion)
      • support globalThis.(xicilion)
    • hash:
      • support blake2.(xicilion)
      • support keccak384/keccak512.(xicilion)
      • support keccak256.(xicilion)
    • http:
      • friendly display of file size larger than 1T.(xicilion)
      • support http.head (#729)(PinelliaC)
      • support json decoding in all messages that contain 'json' in the 'Content-Type' header.(xicilion)
      • support socks5 proxy in HttpClient.(xicilion)
    • mbedtls - update to v3.1.0.(xicilion)
    • option:
      • change file mode when installing npm modules.(xicilion)
      • display error message.(xicilion)
    • options - support http_proxy/https_proxy env in --install.(xicilion)
    • PKey - support curve property.(xicilion)
    • profiler - support v8 statistics.(xicilion)
    • secp256k1:
      • support recovery.(xicilion)
      • enable recovery.(xicilion)
    • smtp - compatible with outlook.office365.com.(xicilion)
    • ssl:
      • specifies to use the secp256k1 curve first in ssl.(xicilion)
      • update root ca.(xicilion)
      • update root certs. (#717)(Ray)
    • test:
      • profiler test.(xicilion)
      • support ctrl_c in test.(xicilion)
    • util:
      • support Map/Set in util.format.(xicilion)
      • support TextEncoder/TextDecoder.(xicilion)
      • support deth in inspect.(xicilion)
  • bugfix :

    • build:
      • actions ci error.(xicilion)
      • ci link error on Windows.(xicilion)
      • compile warning on Windows.(xicilion)
      • assembly ci error on mac.(xicilion)
      • compile warning on Windows.(xicilion)
      • illegal option of date on MacOS. (#722)(PinelliaC)
      • installer compile error on Windows.(xicilion)
      • comiple error on apple M1.(xicilion)
    • child_process:
      • do not transfer ipc infomation to grandson process.(xicilion)
      • disconnect test case error.(xicilion)
    • core:
      • missing error in async function without await.(xicilion)
      • compile error on arm arch.(xicilion)
    • crypto:
      • fix recoverable signature format.(xicilion)
      • set EdDSA to pk.alg error in ed25519.(xicilion)
      • der decode error.(xicilion)
      • keySize error on ed25519 curve.(xicilion)
      • curve25519 test deadlock on mips64.(xicilion)
      • secp256k1 sign/verify error.(xicilion)
    • db:
      • statement handle not deleted.(xicilion)
      • correct odbc parsing error of data column type on postgresql 14. (#727)(Ray)
    • encoding - base58 compile error om Windows.(xicilion)
    • events - removeAllListeners does not emit removeListener events.(xicilion)
    • fs - stat.size will return a negative number when the file size is greater than 2G.(xicilion)
    • gui - hide icon before open webview on mac.(xicilion)
    • hash - blake2 compile error on Windowds.(xicilion)
    • http:
      • size diplay error on file size.(xicilion)
      • socks5 connect request / response (#723)(gmxyb)
      • some http headers are duplicated when using repeater handlers.(xicilion)
    • installer - compile error on arm windows.(xicilion)
    • mbedtls - embedtls does not work with clang 13 optimization -O2.(xicilion)
    • os - os.networkInterfaces is missing ipv4 information in the query results under linux.(xicilion)
    • smtp - ignore server errors at starttls.(xicilion)
    • ssl - SslSocket.close crashes when called concurrently.(xicilion)
    • test:
      • test error on mips64 linux.(xicilion)
      • test error in util.(xicilion)
      • https test error.(xicilion)
    • tools - missing deprecated attribute.(xicilion)
    • url - allow pass number type port to url.format. (#728)(Ray)
    • vender - compile on Windows.(xicilion)
  • refactor :

    • Buffer:
      • not display deprecated message.(xicilion)
      • missing idl file.(xicilion)
      • deprecated new Buffer(n).(xicilion)
    • build:
      • not display process progress.(xicilion)
      • refactor action ci to using native cross compiler.(xicilion)
      • not fix depend in debug mode.(xicilion)
      • fix symbol issue when compiling on ubuntu 20.(xicilion)
      • set bin folder in cmake script.(xicilion)
    • core:
      • trace full stack in callback mode.(xicilion)
      • handle arguments with safe toLocal methods.(xicilion)
      • use v8 built-in strings for longer ansi strings.(xicilion)
      • use v8 built-in strings when creating short ansi strings.(xicilion)
      • refactor Isolate code.(xicilion)
      • refactor Runtime and Isolate code.(xicilion)
    • crypto:
      • rename more secp256k1 api name.(xicilion)
      • rename secp256k1 api.(xicilion)
      • change bin format type to raw format.(xicilion)
      • add random nonce in secp256k1.(xicilion)
      • reorder arguments in PKey.recover.(xicilion)
      • implement x25519 using curve255519 library.(xicilion)
      • use secp256k1 as name default.(xicilion)
      • refactor sign/cerify api.(xicilion)
      • rename PKey.equal to PKey.equals.(xicilion)
      • remove unused code.(xicilion)
      • refactor PKey object.(xicilion)
      • refactor ecp group load code.(xicilion)
      • refactor PKey class.(xicilion)
      • patch to fix RSA public key pem is no longer required.(xicilion)
      • refactor the detection process of pk_type.(xicilion)
      • refactor import/export api.(xicilion)
      • refactor generateKey api.(xicilion)
      • use secp256k1 lib to compute public key.(xicilion)
      • use sep256k1 library to implement sep256k1 curve.(xicilion)
    • encoding - remove padding in base32.encode.(xicilion)
    • gui:
      • remove cef gui module.(xicilion)
      • compatible with newer versions of cef.(xicilion)
    • http - support method property in opts.(xicilion)
    • mbedtls:
      • use mbedtls_mpi_write_binary_le to convert secp256k1 pubkey.(xicilion)
      • use secp256k1 lib to compute shared secret.(xicilion)
      • implement the secp256k1 curve using the secp256k1 library.(xicilion)
    • option - disable wasm code gc.(xicilion)
    • PKey - move secp256k1 public key generation code into function mbedtls_ecp_mul.(xicilion)
    • process - return process.version as v##.###.##.(xicilion)
    • url - use GetConfigValue to get config value.(xicilion)
    • util:
      • set async function mark in promisify.(xicilion)
      • keep function name in sync/callbackify/promisify.(xicilion)
  • chore :

    • build:
      • better changelog generating tool(richardo2016)
      • fetch all branches/tags before find latest vendor tag.(richardo2016)
  • others :

    • crypto.feat - keep secure key when genrate pub key.(xicilion)
    • feat - Buffer, support base64url (#719)(lhkzh)
    • Create setup_ubuntu.sh(响马)
    • gui, refactor, delete unused files.(xicilion)
  • ci :

    • build - use ubuntu 18.04 to build on actions(richardo2016)

Commits

  • [b950f8c981] - build, chore: better changelog generating tool(richardo2016)
  • [2e8b25397c] - build, chore: fetch all branches/tags before find latest vendor tag.(richardo2016)
  • [cc238f6582] - db, bugfix: statement handle not deleted.(xicilion)
  • [4a271fbafa] - build, feat: support Fedora.(xicilion)
  • [54121a8fd2] - core, feat: support append array in SimpleArray.(xicilion)
  • [5f3b07794e] - core, feat: suipport array config value.(xicilion)
  • [c8cd954c86] - build, bugfix: actions ci error.(xicilion)
  • [5f19897fc4] - http, bugfix: size diplay error on file size.(xicilion)
  • [4a0c6269d5] - http, feat: friendly display of file size larger than 1T.(xicilion)
  • [da75d6ee9f] - fs, bugfix: stat.size will return a negative number when the file size is greater than 2G.(xicilion)
  • [26eee17b8a] - build, feat: automatically detect and install dependent packages.(xicilion)
  • [c4b782f048] - smtp, bugfix: ignore server errors at starttls.(xicilion)
  • [372297403a] - smtp, feat: compatible with outlook.office365.com.(xicilion)
  • [5dfe3d0d06] - crypto, refactor: rename more secp256k1 api name.(xicilion)
  • [9484db0fb8] - crypto, refactor: rename secp256k1 api.(xicilion)
  • [bd24122a7b] - http, feat: support http.head (#729)(PinelliaC)
  • [fa266b6779] - url, refactor: use GetConfigValue to get config value.(xicilion)
  • [24bbe7e65a] - url, bugfix: allow pass number type port to url.format. (#728)(Ray)
  • [6db932935c] - db, bugfix: correct odbc parsing error of data column type on postgresql 14. (#727)(Ray)
  • [28a01b0f49] - crypto, refactor: change bin format type to raw format.(xicilion)
  • [b41b389a4f] - build, refactor: not display process progress.(xicilion)
  • [eb0f860308] - build, feat: cross build arm64 installer on windows.(xicilion)
  • [b3343f1b63] - build, feat: add arm64 ci on windows.(xicilion)
  • [1c90898719] - build, feat: support arm64 on windows.(xicilion)
  • [5accf9d7c8] - option, refactor: disable wasm code gc.(xicilion)
  • [06f1b6d42b] - global, feat: support global TextEncoder/TextDecoder.(xicilion)
  • [0ad2094463] - fs, feat: throw error in fs.watch.(xicilion)
  • [ff2c8d830f] - fs, feat: add opts in fs.readdir.(xicilion)
  • [9ce3110acf] - util, feat: support Map/Set in util.format.(xicilion)
  • [908edb7d3a] - global, feat: support btoa/atob for compatibility.(xicilion)
  • [62d782cba0] - console, feat: support Function property in console.log.(xicilion)
  • [94df7b188a] - util, refactor: set async function mark in promisify.(xicilion)
  • [87014740c6] - util, refactor: keep function name in sync/callbackify/promisify.(xicilion)
  • [a148e4122a] - global, feat: support globalThis.(xicilion)
  • [21016ea551] - crypto, refactor: add random nonce in secp256k1.(xicilion)
  • [3e7dd88944] - crypto, bugfix: fix recoverable signature format.(xicilion)
  • [cb91923a49] - Buffer, feat: support Buffer.forEach.(xicilion)
  • [7d3d2fe6f8] - Buffer, refactor: not display deprecated message.(xicilion)
  • [d4a4000c7a] - Buffer, feat: support Buffer.byteOffset for compatibility.(xicilion)
  • [345631503e] - core, refactor: trace full stack in callback mode.(xicilion)
  • [efc3f9feac] - core, bugfix: missing error in async function without await.(xicilion)
  • [56d03818c2] - process, refactor: return process.version as v##.###.##.(xicilion)
  • [7ad39e6ca2] - util, feat: support TextEncoder/TextDecoder.(xicilion)
  • [ea5147c291] - http, refactor: support method property in opts.(xicilion)
  • [8dd8a3eaed] - crypto, refactor: reorder arguments in PKey.recover.(xicilion)
  • [152a52054b] - test, bugfix: test error on mips64 linux.(xicilion)
  • [f1a0157162] - hash, bugfix: blake2 compile error on Windowds.(xicilion)
  • [dd204b2a90] - hash, feat: support blake2.(xicilion)
  • [665a40f267] - hash, feat: support keccak384/keccak512.(xicilion)
  • [87cba05a52] - Buffer, refactor: missing idl file.(xicilion)
  • [d05aaac3a2] - Buffer, refactor: deprecated new Buffer(n).(xicilion)
  • [e7386baa76] - tools, bugfix: missing deprecated attribute.(xicilion)
  • [9be09470cd] - build, bugfix: ci link error on Windows.(xicilion)
  • [6f64eaf9b4] - build, refactor: refactor action ci to using native cross compiler.(xicilion)
  • [367032bce1] - Create setup_ubuntu.sh(响马)
  • [237b2f5e7b] - core, feat: process uncaught promise error.(xicilion)
  • [9171f89c9a] - build, refactor: not fix depend in debug mode.(xicilion)
  • [87fa35d690] - gui, refactor, delete unused files.(xicilion)
  • [1e056a19f5] - gui, bugfix: hide icon before open webview on mac.(xicilion)
  • [3252224c44] - gui, refactor: remove cef gui module.(xicilion)
  • [3b959c62e5] - crypto.feat: keep secure key when genrate pub key.(xicilion)
  • [4808a5d058] - crypto, feat: keep key size in json().(xicilion)
  • [5f057f676d] - crypto, feat: support toX25519 on curve Ed25519.(xicilion)
  • [1a31b3f24a] - crypto, refactor: implement x25519 using curve255519 library.(xicilion)
  • [86ea24127b] - crypto, refactor: use secp256k1 as name default.(xicilion)
  • [9e308e808a] - crypto, feat: support compress public key.(xicilion)
  • [d32c92c5fe] - build, feat: update env script.(xicilion)
  • [aa4aae9394] - crypto, feat: support recover in secp256k1.(xicilion)
  • [d8783b655f] - encoding, feat: support multibase.(xicilion)
  • [56e011ea77] - build, bugfix: compile warning on Windows.(xicilion)
  • [2add80e52f] - encoding, refactor: remove padding in base32.encode.(xicilion)
  • [c96699d94a] - crypto, feat: support x25519/x488.(xicilion)
  • [8949a18217] - Buffer, feat: support base32 and base58.(xicilion)
  • [8174b179b9] - crypto, feat: support bin format in sign/verify.(xicilion)
  • [736aee96f9] - crypto, refactor: refactor sign/cerify api.(xicilion)
  • [64d281d130] - crypto, refactor: rename PKey.equal to PKey.equals.(xicilion)
  • [64c67e7e50] - crypto, feat: add alias name for NIST curve.(xicilion)
  • [fa6a44a2e2] - hash, feat: support keccak256.(xicilion)
  • [e66a392dab] - build, refactor: fix symbol issue when compiling on ubuntu 20.(xicilion)
  • [bbb42a2bd6] - crypto, refactor: remove unused code.(xicilion)
  • [cc9acb5913] - crypto, refactor: refactor PKey object.(xicilion)
  • [5fdfa507bf] - crypto, feat: add secp256k1_ec_pubkey_decompress function.(xicilion)
  • [ed225b8c10] - crypto, feat: support bls curve.(xicilion)
  • [09c2e26f8e] - build, feat: upgrade ci env to windows-2019.(xicilion)
  • [991926dbde] - mbedtls, refactor: use mbedtls_mpi_write_binary_le to convert secp256k1 pubkey.(xicilion)
  • [9011604e96] - crypto, refactor: refactor ecp group load code.(xicilion)
  • [310170c7a8] - build, bugfix: assembly ci error on mac.(xicilion)
  • [2223c0a5b6] - test, bugfix: test error in util.(xicilion)
  • [a6320072f4] - encoding, feat: support base58check encoding.(xicilion)
  • [c8d5fc0dfe] - crypto, bugfix: set EdDSA to pk.alg error in ed25519.(xicilion)
  • [3b4b3967e6] - http, feat: support json decoding in all messages that contain 'json' in the 'Content-Type' header.(xicilion)
  • [b565153787] - console, feat: output colors string in console.dir by default.(xicilion)
  • [aecad46700] - console, feat: support option in console.dir.(xicilion)
  • [30ca6e4fab] - util, feat: support deth in inspect.(xicilion)
  • [94b7863b75] - crypto, bugfix: der decode error.(xicilion)
  • [07c45de0e4] - crypto, bugfix: keySize error on ed25519 curve.(xicilion)
  • [7a3cb3b969] - build, bugfix: compile warning on Windows.(xicilion)
  • [21f6719bbe] - crypto, bugfix: curve25519 test deadlock on mips64.(xicilion)
  • [7b408cfb27] - crypto, feat: support Ed25519 curve.(xicilion)
  • [fd6d5d868c] - crypto, refactor: refactor PKey class.(xicilion)
  • [9991d17e8e] - http, bugfix: socks5 connect request / response (#723)(gmxyb)
  • [594a00a2c9] - crypto, feat: use EC as json kty for SM2.(xicilion)
  • [3bf68748f2] - crypto, refactor: patch to fix RSA public key pem is no longer required.(xicilion)
  • [c3cf0a070f] - crypto, refactor: refactor the detection process of pk_type.(xicilion)
  • [4292fcfedf] - crypto, refactor: refactor import/export api.(xicilion)
  • [6633be0663] - crypto, refactor: refactor generateKey api.(xicilion)
  • [54318a6d53] - crypto, feat: support SM2 curve name.(xicilion)
  • [9a7199df18] - option, feat: change file mode when installing npm modules.(xicilion)
  • [66c08a5a8a] - core, feat: implement promises on built-in modules to support async api.(xicilion)
  • [5fe4138299] - docs, feat: append docs repo.(xicilion)
  • [6753451641] - docs, feat: add docs as submodule.(xicilion)
  • [878fc5cc1d] - fs, feat: support options in fs.readFile.(xicilion)
  • [d83a399345] - core, refactor: handle arguments with safe toLocal methods.(xicilion)
  • [bf418e4a2e] - docs, feat: update http document.(xicilion)
  • [287fe93da4] - child_process, bugfix: do not transfer ipc infomation to grandson process.(xicilion)
  • [c08ad54adc] - child_process, bugfix: disconnect test case error.(xicilion)
  • [f9fd64f7a2] - child_process, feat: support ipc message.(xicilion)
  • [061f4833fe] - events, bugfix: removeAllListeners does not emit removeListener events.(xicilion)
  • [5a136fbbe3] - test, feat: profiler test.(xicilion)
  • [493fa37c07] - profiler, feat: support v8 statistics.(xicilion)
  • [82e53e6417] - build, bugfix: illegal option of date on MacOS. (#722)(PinelliaC)
  • [60779fb629] - build, feat: display built time.(xicilion)
  • [2ba4c19890] - core, refactor: use v8 built-in strings for longer ansi strings.(xicilion)
  • [c640a86179] - core, refactor: use v8 built-in strings when creating short ansi strings.(xicilion)
  • [411204e9e8] - core, bugfix: compile error on arm arch.(xicilion)
  • [5e5c94bad1] - core, refactor: refactor Isolate code.(xicilion)
  • [53173c93cd] - build, ci: use ubuntu 18.04 to build on actions(richardo2016)
  • [3a36955d84] - core, refactor: refactor Runtime and Isolate code.(xicilion)
  • [5c491a3209] - build, bugfix: installer compile error on Windows.(xicilion)
  • [8fd019be28] - build, refactor: set bin folder in cmake script.(xicilion)
  • [92df284147] - gui, refactor: compatible with newer versions of cef.(xicilion)
  • [888cf2ae18] - http, feat: support socks5 proxy in HttpClient.(xicilion)
  • [8144751c0a] - test, bugfix: https test error.(xicilion)
  • [807f4778d3] - vender, bugfix: compile on Windows.(xicilion)
  • [55f1bcbec4] - mbedtls, feat: update to v3.1.0.(xicilion)
  • [34a9c600d0] - option, feat: display error message.(xicilion)
  • [cc589c63e0] - gd, feat: update gd.(xicilion)
  • [c1cd9f4ad9] - crypto, feat: support sign to on sm2.(xicilion)
  • [6921da5ca7] - installer, bugfix: compile error on arm windows.(xicilion)
  • [4dacf05cf2] - crypto, feat: support ecsdsa.(xicilion)
  • [a63e0ee321] - ssl, bugfix: SslSocket.close crashes when called concurrently.(xicilion)
  • [d9029037b0] - encoding, bugfix: base58 compile error om Windows.(xicilion)
  • [a5e05ac2a8] - crypto, feat: support PKey.equal.(xicilion)
  • [b98016df01] - encoding, feat: support base58 encode.(xicilion)
  • [1db8a05f9f] - secp256k1, feat: support recovery.(xicilion)
  • [367b198e59] - build, bugfix: comiple error on apple M1.(xicilion)
  • [e44e4490ab] - PKey, refactor: move secp256k1 public key generation code into function mbedtls_ecp_mul.(xicilion)
  • [a504e1f809] - secp256k1, feat: enable recovery.(xicilion)
  • [209f02d283] - crypto, feat: support randomFill.(xicilion)
  • [15bd4d2fa5] - options, feat: support http_proxy/https_proxy env in --install.(xicilion)
  • [e3b82dae67] - crypto, feat: support P-256K alias.(xicilion)
  • [79c0b66a49] - ssl, feat: specifies to use the secp256k1 curve first in ssl.(xicilion)
  • [7bf56b2130] - PKey, feat: support curve property.(xicilion)
  • [963f9e8f7a] - crypto, bugfix: secp256k1 sign/verify error.(xicilion)
  • [79d19e1a02] - crypto, refactor: use secp256k1 lib to compute public key.(xicilion)
  • [3d2ec635a0] - mbedtls, refactor: use secp256k1 lib to compute shared secret.(xicilion)
  • [fb0aab2f9d] - crypto, feat: support ecdh computeSecret.(xicilion)
  • [c8745667b5] - mbedtls, refactor: implement the secp256k1 curve using the secp256k1 library.(xicilion)
  • [d3d6a75c05] - mbedtls, bugfix: embedtls does not work with clang 13 optimization -O2.(xicilion)
  • [a6061ab1be] - ssl, feat: update root ca.(xicilion)
  • [317a9ecd4f] - http, bugfix: some http headers are duplicated when using repeater handlers.(xicilion)
  • [f120570b9e] - crypto, refactor: use sep256k1 library to implement sep256k1 curve.(xicilion)
  • [d5db5d915f] - crypto, feat: suport import private ecc key only json.(xicilion)
  • [560099c85d] - feat: Buffer, support base64url (#719)(lhkzh)
  • [463ce2f145] - test, feat: support ctrl_c in test.(xicilion)
  • [53166fef27] - ssl, feat: update root certs. (#717)(Ray)
  • [cf675197e0] - os, bugfix: os.networkInterfaces is missing ipv4 information in the query results under linux.(xicilion)