Skip to content

Releases: mafredri/zsh-async

v1.8.6

05 Jan 19:49
Compare
Choose a tag to compare
  • Use a regular space instead of non-breaking (#55) 3ba6e2d
  • Clarify functions for jobs must be defined when worker is started (#53) a61239d
  • Add build badge to README 0f3b27b
  • Switch to GitHub Actions (#46) 65c0885
  • Fix two more instances of cat 1e41772
  • Ensure we are using the real cat (#47) c18959a

v1.8.5...v1.8.6

v1.8.5

29 Sep 10:51
Compare
Choose a tag to compare
  • Fix async_start_worker on zsh 5.0.2 and below e3550a3

v1.8.4...v1.8.5

v1.8.4

20 Sep 12:15
Compare
Choose a tag to compare
  • Fix async_start_worker when noclobber is set c7f35ec

v1.8.3...v1.8.4

1.8.3

14 May 18:00
Compare
Choose a tag to compare

Changes

  • Avoid warning when WARN_CREATE_GLOBAL is active (#41) (fa94826)
  • Close fd on error condition (72c965f)

1.8.1

14 May 14:32
Compare
Choose a tag to compare

Changes

  • Workaround for main shell stderr being reassigned to /dev/null (8ce4ed6)

1.8.0

13 Apr 13:25
Compare
Choose a tag to compare

Changes

Since 1.7.2

  • Only set ZLE watcher after a callback has been registered (317d19e)
  • Improve worker startup procedure in async_start_worker (#39) (361dc17)
  • Improved error state handling (#37) (32548d3)

Since 1.7.1

  • travis: Fix building of zsh 5.0.2 and 5.0.8 (#32) (98d32af)
  • Prevent infinite loop in case of broken zpty file descriptor (#31) (43de5e0)
  • travis: Switch to using .tar.xz since .tar.gz is unavailable (e6d9372)

Since 1.7.0

  • Ensure coproc spawned by async_worker_eval is closed (847a9d8)
  • travis: Test on zsh 5.6.2 (14f9ac8)

v1.7.0...v1.8.0

1.7.0

15 Aug 13:20
Compare
Choose a tag to compare

Changes

  • New: Introduce async_worker_eval for updating the worker environment (#29)
    • For example, async_worker_eval my_worker cd $PWD, would change the current working directory inside the worker, which would also be inherited by subsequent jobs
    • Can be used as an alternative to passing $PWD to every async job
  • Fix: Prefix async job output to prevent external corruption (#28)
    • This also fixes some cases of invalid arguments being passed to the callback when the output buffer becomes corrupt

v1.6.2...v1.7.0

1.6.2

07 Aug 04:32
Compare
Choose a tag to compare

It's been a while since I wrote release notes for zsh-async, I think it's about time.

Changes from v1.5.2 to v1.6.2

  • Avoid creation of implcit global variables
  • Add 6th parameter when invoking callback functions, has next, indicates that callback will be invoked again within this event loop
  • Replace async.plugin.zsh symlink with source for better compatibility
  • Add ASYNC_VERSION environment variable
  • Avoid array quoting on error states in async_process_results

v1.5.1...v1.6.2

1.5.1

12 Feb 18:42
Compare
Choose a tag to compare

Changes

  • Fix problem in async_job when RC_EXPAND_PARAM was set (#15), thanks @derimagia

1.5.0 consequential-canary

16 Jan 16:29
Compare
Choose a tag to compare

Changes

  • ZLE watchers are now used on all versions of zsh (the SIGWINCH kill signal is no longer needed to notify when a job is complete)
    • Tested to work on at least zsh versions: 5.0.2, 5.0.8 and 5.1.1
  • Small improvements to async_flush_jobs (via _killjobs)

Full changelog: v1.4.0...v1.5.0