Skip to content

Releases: photostructure/batch-cluster.js

Release 13.0.0 🍀

10 Feb 05:57
fa13601
Compare
Choose a tag to compare
  • 💔 Dropped official support for Node v16, which is EOL.

  • 💔 Several methods, including BatchCluster#pids() were changed from async to sync (as they were needlessly async).

  • 📦 A number of timeout options can now be validly 0 to disable timeouts:

    • spawnTimeoutMillis
    • taskTimeoutMillis
  • 📦 Added eslint @typescript-eslint/await-thenable rule and delinted.

  • 📦 Updated development dependencies and rebuilt docs

Commits

  • update GHA (bcd4b8c)
  • rebuild docs (c7fa114)
  • Attempt to avoid EPIPE on child process end. Verify that maxProcAgeMillis, taskTimeoutMillis, and spawnTimeoutMillis can be 0. (65bb31d)
  • err may be null (1f69cb3)
  • use new macos-14 images (a3ce931)
  • handle zero timeouts as don't-timeout (a674f59)
  • no need to await (f62d4d5)
  • verify that we're not escalating an SIGPIPE to callers (797774e)
  • pre v13 (4fc97db)
  • ncu -u (06bf7af)
  • add await-thenable linting (01ca551)
  • fix jsdoc (1e42148)
  • node 16 is EOL (2154ac5)
  • pesky chai went ESM (585c9f0)
  • HNY (26cb0a0)
  • diffs from new prettier (867a5c5)
  • update dev deps (852f06a)
  • add lint job (dd2c21e)
  • Update node imports to include "node:" prefix. Replace NodeJS.Timer references with NodeJS.Timeout. (029a7fd)
  • drop node 14 support (77062c3)
  • Switch to prettier-plugin-organize-imports and apply. (23f3295)
  • ncu -u (0144af3)
  • yarn docs (a73db0e)
  • ncu -u (a6032ce)
  • yarn docs (ab78987)
  • ncu -u (9519dc4)
  • add node 20 to build matrix (c630341)

Full Changelog: v12.1.0...v13.0.0

Release 12.1.0

11 Apr 05:16
4551042
Compare
Choose a tag to compare

Release 12.0.0

02 Feb 22:54
c7ed66c
Compare
Choose a tag to compare
  • don't wait for the test suite to run before releasing (7e8f96c)
  • remove spurious kill() spec (0642382)
  • prep next release (24196a8)
  • yarn docs (97a0949)
  • organisze imports (cf6ac89)
  • organize imports before prettier (e35f70b)
  • export TypedEventEmitter (f289685)
  • Simplify pidExists() and kill() to rely on node:process (61c7d31)
  • ncu -u (f3917f2)
  • ncu -u (384cb13)
  • HNY (f9e83c7)
  • Merge branch 'main' of github.com:photostructure/batch-cluster.js (bffd411)
  • Add CodeQL badge (61560a0)
  • Bump typescript from 4.8.4 to 4.9.3 (d8295bf)
  • Merge branch 'main' of github.com:photostructure/batch-cluster.js (f922ca5)
  • gpg sign release-it tags (69fe3df)
  • Bump @types/mocha from 9.1.1 to 10.0.0 (6bce8a0)
  • Bump actions/checkout from 2 to 3 (0c7217a)
  • Bump actions/setup-node from 1 to 3 (170dc68)
  • Bump github/codeql-action from 1 to 2 (7c293f8)
  • ncu -u. rebuild docs (b3acc8a)
  • drop LGTM (58581bd)
  • add dependabot (1b1c6e2)

v11.0.0

20 Aug 00:39
3e206e6
Compare
Choose a tag to compare
  • 💔 Drop official support for Node 12, which is EOL.

Full Changelog: v10.4.3...v11.0.0

Release 10.4.2

29 Apr 17:09
ed640c4
Compare
Choose a tag to compare

Release 10.4.1

03 Apr 20:44
2fb0e0d
Compare
Choose a tag to compare

Release 10.4.0

28 Mar 18:28
ea71a16
Compare
Choose a tag to compare

Release 10.3.2

02 Mar 05:25
9b53d29
Compare
Choose a tag to compare
  • rebuild docs (9b53d29)
  • equalish is a word. ish. (bead66f)
  • allow for 1 stray pid on shutdown (7222f1a)
  • bump up expected windows procs (204bd1a)
  • run checkShutdown() in until() block (de88519)
  • fix import (8556042)
  • simplify spec shutdown() to rely on the returned .end() promise (e79506f)
  • calling .end() after running shuts down child procs doesn't fight flaky child procs (a92b7dc)
  • endError event takes a BatchProcess now (for more detailed logging) (80a329e)
  • end isn't optional anymore (f9128c3)
  • prep 10.3.2 (ea61a42)
  • improve .vacuumProcs to always wait for all ending batchprocess children (ed8f72f)
  • deflake windows ci (efe6572)
  • oops. this.timeout(). (0b4db23)
  • give CI windows a touch more time to complete (7a97bd2)
  • dump stats before expectations (38320f8)
  • add spawnedProcCount to stats() (4e3d5b5)
  • remove retries to see how bad CI fails (da1ebcf)
  • drop meanTasksPerProc expectation (637a673)
  • increase proc count expectations (ebf55b9)
  • ncu -u (7c4230e)
  • rebuild docs (386be30)
  • Add startError unhealthy check. remove exitpromise and startup task retention (reduce GC pressure) (73235be)
  • improve jsdocs for startError event (4d32dad)
  • don't spawn too many procs. debounce #onIdle. (6819646)
  • add Object.omit() (used by spec) (af0c3ef)
  • fix spec defaults (e60c4cc)

Release 10.3.1

27 Feb 19:24
f9f54c4
Compare
Choose a tag to compare
  • rebuild docs (17a0baf)
  • Does windows CI pass with just 200? (7ca1bda)
  • flip stderr and stdout writes to ensure streamFlushMillis is doing its job (4879a5f)
  • don't test timeouts in setMaxProcs (e4fed9d)
  • re-add node 12 (e540453)
  • bump streamFlushMillis up again (5b7f84d)
  • undo streamFlushMillis CI scalar (c2c3f7b)
  • update docs (fb7dd88)
  • run CI with larger streamFlushMillis value (7d619ec)
  • rebuild docs (701011f)
  • Add Rate.msSinceLastEvent (cc9bd3e)

Release 10.3.0

25 Feb 20:32
cf5e955
Compare
Choose a tag to compare
  • prep 10.3 (20cdee5)
  • rebuild docs (e13cb20)
  • make streamFlushMillis defaults larger (fe5e6fd)
  • expect more failed procs for flaky test (92cad2c)
  • bump up streamFlushMillis in CI (e3e5503)
  • slow ci is slooooow (1851713)
  • add noTaskData spec assertions (5ffe303)
  • add new noTaskData event. Normalize imports. Bump up CI timeouts. (75e72a8)