Skip to content

Releases

v2.6.0

Choose a tag to compare

@devongovett devongovett released this 20 Jul 05:20

Adds support RegExp ignores in #248. Thanks @SimenB!

v2.5.6

Choose a tag to compare

@bpasero bpasero released this 23 Jan 06:56
8926bb8

What's Changed

Full Changelog: v2.5.5...v2.5.6

v2.5.4

Choose a tag to compare

@bpasero bpasero released this 11 Jan 19:10
b790d37

What's Changed

New Contributors

Full Changelog: v2.5.1...v2.5.4

v2.5.1

Choose a tag to compare

@devongovett devongovett released this 26 Jan 02:55
  • Handle large changes from FS Events better in getEventsSince - #196
  • Fix use after free in kqueue backend
  • fix: catch std:regex error - #195

v2.5.0

Choose a tag to compare

@devongovett devongovett released this 04 Nov 05:37

Added

  • Support 32-bit arm musl platform
  • Support npm --build-from-source flag to optionally build from source instead of using prebuilt packages. Can be used in conjunction with --no-optional to prevent installing platform-specific dependencies.

Fixed

  • Fix use after free errors (#177)
  • Fix deadlock between Watcher and Debounce threads (#189)
  • Avoid open() calls on stat() failures on macOS to prevent security dialogs (#186)

v2.4.0

Choose a tag to compare

@devongovett devongovett released this 15 Jan 22:22

Adds support for CommonJS (along with existing support for ESM) in @parcel/watcher-wasm.

v2.3.0

Choose a tag to compare

@devongovett devongovett released this 24 Aug 04:13

Features

  • Add a kqueue backend to support FreeBSD, or as an alternative to FSEvents on macOS
  • Add a WASM backend, for use in environments where native modules cannot run (e.g. on the web in environments like Stackblitz, or unsupported processor architectures/operating systems). Use the @parcel/watcher-wasm package instead of @parcel/watcher in these cases. Note that this is much less efficient than using native OS-specific APIs, so keep using the native packages where possible.
  • Migrate to napi thread safe functions, which allows using @parcel/watcher from multiple Node.js worker threads
  • Add a 32-bit windows build, useful if users accidentally installed a 32-bit version of Node

v2.2.0

Choose a tag to compare

@devongovett devongovett released this 02 Jul 03:46

This release migrates to a new method of distribution. Rather than including binaries for all operating systems and architectures inside the @parcel/watcher package, there are now individual packages per platform (e.g. @parcel/watcher-darwin-x64). Each of these is an optional dependency of the main watcher package. This way, npm and other package managers will install only the binary for the platform you are running on. This reduces bandwidth and disk space.

This also enabled us to add pre-compiled binaries for more platforms, meaning you don't need to have a C++ compiler to install the watcher. This should help with some minimal Docker environments especially. The architectures with prebuilds available now include:

  • darwin-x64
  • darwin-arm64
  • win32-x64
  • win32-arm64
  • linux-x64-glibc
  • linux-x64-musl
  • linux-arm64-glibc
  • linux-arm64-musl
  • linux-arm-glibc (32-bit arm v7)
  • android-arm64

v2.1.0

Choose a tag to compare

@devongovett devongovett released this 05 Jan 05:33
  • Support simple glob patterns for ignore rules – #106
  • fix: Prevent directory locking on Windows – #121

v2.0.7

Choose a tag to compare

@devongovett devongovett released this 04 Nov 05:03