6.5.0 (2025-04-23)
⚠ BREAKING CHANGES
- add experimental
seasupport and drop nodejs 16 support (yao-pkg#110)
Features
- add
ignoreoption to ignore files from build (#68) (54ae1ee) - add
no-native-buildoption to skip native addons build (4ed2ee4), closes #1319 - add experimental
seasupport and drop nodejs 16 support (#110) (0145a94) - add option to skip signature on macos (#1878) (edfdadb)
- add simple type export (#1557) (53b23fb)
- allow to skip dictionaries patches with
--no-dictoption (#1330) (85ccec3) - bump @yao-pkg/pkg-fetch@3.5.13 with nodejs 22.9.0 (#91) (6ed5665)
- bump fetch 3.5.17 with node 22.11.0 support (2aae943)
- bump fetch 3.5.19 with node v18.20.6, v20.18.2 and v22.13.1 (9863769)
- bump fetch 3.5.6 with MacOS arm64 support (#7) (efee79c)
- bump fetch with node 22.10.0 and 20.18.0 support (86d5f57)
- bump fetch with Node v22.12.0 and v20.18.1 (a8568a5)
- bump pkg-fetch@3.5.10 with node 20.17.0 and 18.20.4 support (dda9032)
- bump pkg-fetch@3.5.11 with nodejs 22 support (by @faulpeltz) (1d8df70)
- bump pkg-fetch@3.5.21 with node v18.20.8 and v22.14.0 (1a381eb)
- bump pkg-fetch@3.5.5 (#6) (99d3562)
- bump pkg-fetch@3.5.7 with node20 support (efb585a)
- parser: handle template literal without expressions (#981) (79cca54)
- pkg-fetch@3.5.8 with nodejs 18.19.0 and 20.11.0 support (da8d530)
- pkg-fetch@3.5.9 with nodejs 18.19.1 and 20.11.1 (d6485df)
- support for classPrivateProperties (#891) (f085794)
- support node19 (#1862) (e388983)
- use unofficial builds in SEA (#126) (20e8dda)
Bug Fixes
bytecodeoption is a boolean (#1554) (46b3aa5)- add dictionary for thread-stream (Used by pino) (#36) (b01d1ad)
- add dictionary to mute 'compare' test (80a1992)
- add force flag to codesign to avoid already signed error (#1756) (f19285d)
- add missing arch to nativePrebuildInstall cache (#9) (cd89e83)
- Add missing functions from restored fs.Stats (#1923) (e51efbe)
- allow copyFile and copyFileSync from snapshot (#1484) (72bc8b3)
- avoid endless loop when handling symlinks (#109) by @q0rban (#109) (e41355c)
- bootstrap: fs readdir and readdirSync (#1130/#1299) (#1495) (5010411)
- bootstrap: prevent overriding existing node addon file (#1611) (f0c4e8c), closes #1589
- bump pkg-fetch@3.5.12 with missing node22 macOS arm64 support (4eea80c)
- catch babel parse errors (#1324) (ff2092c)
- child_process commands throw when pkg app try to call itself (#90) (e88d159)
- correct promisification of fs.statfs in bootstrap.js (6e150e9)
- deprecated
_extendin bootstrap.js (#118) (4acb187) - diagnostic folder size and humanize size (4f5b63c)
- dictionary for sqlite3 (#40) (a3b18f8)
- do not overwrite temp .node files (#1547) (63eaeab)
- follow exact SEA baking procedure for Mac (#116) (d818a04)
- improve
unlikelyJavascriptcheck (7f0b492) - missing
fs/promisespatches to resolveNot founderror (#124) (93fed60) - missing entrypoint when launched from self-created child process (#1949) (73a03d1)
- navigate back to previous directory after SEA build (#131) (1489e94)
- node18.19 broken binaries (2e99185), closes #28
- organization name (165e9a1)
- over extracting native modules with pnpm (#14) (e435796)
- parsing of .cjs files as .js (#8) (ecd064c)
- pass
--runtime napitoprebuild-installwhenbinary.napi_versionsis set (#38) (d47ee03) - remove
is-core-moduledependency (#77) (2f27414) - run prebuild-install only if actually used by the package (#83) (2a046e4)
- tests (#34) (7472af7)
- tests using wrong
pkg-fetchpackage (8466f1d) - tests: improve tests and add DEVELOPMENT.md docs (#111) (717b963)
- update resolve package to version 1.22.10 and add is-core-module dependency (90af1c2), closes #138
- upgrade tinyglobby (#121) (d2d38f9)
- use cache directory in users home instead of system-wide tmp dir (#55) (a217727)
- wrong placeholder replaced in windows binary (#86) (d9b28c3)
- wrong shas in pkg-fetch (8c783f7)
Test added
- add "node14" to fetch-all (63f4ce0)
- add hybrid ESM test setup with libphonenumber-js (#139) (3bd1ccf)
- add macos multi arch test (#113) (cd0095e), closes #112
- add tests for #1191 and #1192 (bcec96c)
- add unit test for #775 (#1118) (94cdb69)
- allow to run tests in parallel (#115) (f564a33)
- bump expected major to 5 (#1145) (1f05232)
- fix verify pkg version test (81bd04a)
- fs-runtime-layer: remove "birthtime" check (7c72f3a)
- ignore pnpm test for node14 (#1919) (7255f64)
- improve tests log output (#114) (417cf78)
- rearrange and fix order (e7e67aa)
- test pnpm packages only on node >= 14.19 (#1613) (193b778)
- test with Node 16 (655ee18)
- test-50-bakery-4 for baking non-v8 options (7ff6430)
- update tesseract.js test for v4 (#1864) (265c00e)
Code refactoring
- remove
fs-extra(#102) (c726221) - replace
chalkwithpicocolors(#105) (cba291e) - replace
globbywithtinyglobby(#103) (99a2632) - replace
minimatchwithpicomatch(#104) (1838100)
Chores
- add ci, stale workflows and dependabot (#1074) (31e8bf7)
- add prettier check in linting step (#1764) (6efa7cf)
- add release script (#2) (6dd5e11)
- add update dep workflow (12d1872)
- bump @yao-pkg/pkg-fetch@3.5.3 (f43dd71)
- bump deps and lint fix (#1) (448c81a)
- bump fetch to fix sha mismatch (#4) (9d454e0)
- bump pkg-fetch to 3.5.2 (#1914) (76010f6)
- bump prebuild-install@7.1.1 (#1788) (e3ac490)
- chalk: bump version (#192) (a12159f)
- ci: drop nodejs 14 (d234904)
- clean up obsolete eslint disable comments (#1760) (56135b5)
- drop package-lock file uploaded by error (ba407ef)
- fix build (276651a)
- fix npm pkg errors (60950fa)
- fix package.json name (3d011c1)
- fix workflow permissions (c279732)
- fix yarn.lock issues (fa4f911)
- make corruption test pass on macos (#1890) (8eef5ea)
- make pkg-fetch dep static (temporarily). (#1100) (165fcd5)
- package: update acorn to version 4.0.4 (#26) (1f6dc34)
- package: update babel-cli to version 6.18.0 (#14) (96a86cf)
- package: update babel-eslint to version 7.1.0 (#18) (aadc606)
- package: update babel-eslint to version 7.1.1 (#24) (76eb48f)
- package: update babel-preset-es2015 to version 6.18.0 (#15) (5a8a05a)
- package: update babel-register to version 6.16.3 (f3930c9)
- package: update babel-register to version 6.18.0 (#16) (283f158)
- package: update babel-runtime to version 6.18.0 (#17) (7f8a281)
- package: update babel-runtime to version 6.20.0 (#25) (590de8c)
- package: update dependencies (e6cfbf7)
- package: update eslint-config-klopov to version 0.11.0 (c7f36be)
- package: update fs-promise to version 1.0.0 (#20) (4488540)
- package: update globby to version 6.1.0 (#19) (32e0c1b)
- package: update pkg-fetch to version 1.5.0 (8bdd785)
- Prepare for Grain release (65db5fb)
- remove eol nodejs in tests (#1889) (4fe0b4d)
- remove node20 from ci (15fe2dc)
- remove unused dependencies (#1769) (c353cc9)
- remove unused entry (#1766) (39e9985)
- replace deprecated String.prototype.substr() (#1560) (edfcc7b)
- separate individual test scripts (#1759) (332c7d9)
- unpin dependencies (#106) (ea94b03)
- update GitHub Actions to use checkout@v4 and setup-node@v4 (e1f8f41)
- Update to pkg-fetch 3.6.1 (284cb90)
- update vscode settings (bf490a0)
- upgrade actions runners (#1767) (614c02a)
- use
@types/babel__generatorpackage (#1755) (b8deba4)