Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Releases: vercel/pkg

4.1.3

21 Jul 14:37
Compare
Choose a tag to compare

Patches

  • Document API: 782337b
  • --public option to disclose the sources of top-level project: c5f191b
  • AllowImportExportEverywhere. partially fixes #123: da018a3
  • More permissive licenses to improve --no-bytecode: 2546644
  • Pass package.json path as 'addition'. fixes #123: 439ea29

4.1.2

15 Jul 08:39
Compare
Choose a tag to compare

Patches

  • Pkg-fetch@2.3.5: 06a0648
  • Make --no-bytecode error more descriptive: de88da6
  • Append '.exe' when single windows target. fixes #148: 42ff8cb
  • Dictionary: bunyan: #154
  • Pretify debug targets JSON: #70
  • Add 'snapshot' entry to readdir('/') results: e29c883
  • Workaround not needed for bindings since callsites fix: d3228e2
  • Prevent poisoning Module._pathCache with snapshot fs value: f7a9b71

Credits

Huge thanks to @weirongxu and @martinstarman for their help!

4.1.1

26 Jun 18:15
Compare
Choose a tag to compare

Patches

  • Pass entrypoint through walker (like refiner). fixes #134: fb59976
  • Several possible paths from projectToFilesystem. fixes #141: a0155fe
  • Include nodegit extensions into binary. fixes #120: 99fc006
  • Experimental option --no-bytecode for cross-cpu packaging: a216876
  • Add support for oauth2orize. fixes #102: 5d42177
  • Pkg-fetch@2.3.3 to address #146: dae7c7d

4.1.0

13 Jun 09:32
Compare
Choose a tag to compare

Minor Changes

Patches

4.0.0

04 Jun 18:35
Compare
Choose a tag to compare
  • Until now V8 cached data was used to make executables without sources inside. Now cached data is also used to speed up application boot time.
  • Hence, application boot up is around 20% faster in pkg’ed state than using ‘node’.
  • Now possible to add resources (icon) to executables on Windows (ResourceHacker, etc).
  • V8 callsites work properly. Stacktraces contain names of files as they were at compilation time.
  • Supports Node.js versions 0.12, 4, 6, 7, 8 as targets.
  • Consumes much less memory during compilation process (important for Raspberry Pi or low-mem VMs).
  • Hence, it's possible to make big executables without “process out of memory” during compilation (installers, geoip-lite, etc).
  • Improvement of how spawn hook works internally. Also implemented execFile and exec hooks.

3.0.5

24 May 10:29
Compare
Choose a tag to compare

Patches

  • Speedup insideSnapshot: 8d121cc
  • Switch from deprecated fs-promise to fs-extra: 5330967
  • Placing root to snapshot properly: f28d01d
  • Populate insideSnapshot per platform instead of comparing: b82aed8
  • Remove run-time area regexps from common.js: bb9b269
  • IsPermissive to cover more cases: ef490ed
  • Remove empiric rules for FLAG_DISABLE_DOT_NODE. fixes sha3: af10e79

3.0.4

13 May 23:17
Compare
Choose a tag to compare

Patches

  • Express example, root for serve-static: fcacd56
  • Show version before compilation: #77
  • Check Buffer.alloc. fixes #82: 6a52fdc
  • Dictionary: tabtab. probably fixes #83: 52b790c
  • Dictionary: engine.io. fixes #86: 1bcdc72
  • Dictionary: fix uglify-js: 0f124f3
  • Apply derivatives immediately after activation: f335245

Credits

Huge thanks to @martinstarman for their help!

3.0.3

05 May 21:12
Compare
Choose a tag to compare

Patches

3.0.2

04 May 03:05
Compare
Choose a tag to compare

Patches

Credits

Huge thanks to @martinstarman for their help!

3.0.1

02 May 09:19
@leo leo
Compare
Choose a tag to compare

Patches

  • Revert "No need to ignore anything for linting": a2121c9
  • Updated "pkg-fetch" to 1.9.3: d3f6616
  • Added googleapis to dictionary: 99ac8c1