Skip to content

Releases: fhunleth/muontrap

v1.5.0

04 Mar 21:35
Compare
Choose a tag to compare
  • New feature
    • Add Logger metadata in MuonTrap.Daemon. See the :logger_metadata option. (@bjyoungblood)

v1.4.1

28 Feb 14:37
Compare
Choose a tag to compare
  • Bug fixes
    • Support logging output to all Elixir logger levels. Previously the "new" set
      that includes emergency, critical, warning, etc. would fail the option check
    • Default the log_transform option to replace invalid UTF8 characters so
      they don't crash the Logger. This fixes an annoyance where a program would
      do this and there'd be log crash spam. It's still overridable, so users
      using custom loggers that already handle this can pass
      Function.identity/1 to disable. (@jjcarstens)

v1.4.0

18 Dec 19:44
Compare
Choose a tag to compare
  • New feature
    • Add a timeout option to MuonTrap.cmd/3. OS processes that take too long
      will be killed and a :timeout return status returned. This is backwards
      compatible. Thanks to @bjyoungblood for adding this feature.

v1.3.3

14 Dec 18:40
Compare
Choose a tag to compare
  • Bug fixes

    • Fix issue where lots of prints from a child process when the Erlang process
      side is killed can cause MuonTrap to not clean up the child process. There
      are some potential variations on this that were also fixed even though they
      were unseen. Thanks to @bjyoungblood for figuring this out.
  • Improvements

    • Improve debug logging so that when enabled, fatal errors are written to the
      log as well and not to stderr.

v1.3.2

18 Jul 22:03
Compare
Choose a tag to compare
  • Bug fixes
    • Fix C compiler error when building with older versions of gcc. This fixes an
      compile error with Ubuntu 20.04, for example.

v1.3.1

30 Jun 15:53
Compare
Choose a tag to compare
  • Bug fixes
    • Fix regression in v1.3.0 where stderr would be printed when stderr_to_stdout: true
      was specified and logging disabled.

v1.3.0

28 Jun 17:54
Compare
Choose a tag to compare
  • New feature

    • Add flow control to stdout (and stderr if capturing it) to prevent
      out-of-memory VM crashes from programs that can spam stdout. The output
      would accumulate in the process mailbox waiting to be processed. The flow
      control implementation will push back and slow down output generation. The
      number of bytes in flight defaults to 10 KB and is set with the new
      :stdio_window parameter. (@jjcarstens)
  • Bug fixes

    • Fix various minor issues preventing unit tests from passing on MacOS.
      (@jjcarstens)

v1.2.0

03 Feb 15:14
Compare
Choose a tag to compare
  • New feature
    • Added :exit_status_to_reason to the Daemon to be able to change how the
      Daemon GenServer exits based on the exit status of the program being run.
      (@erauer)

v1.1.0

10 Nov 18:41
Compare
Choose a tag to compare
  • New features
    • Support transforming output from programs before sending to the log. See the
      new :log_transform option. (@brunoro)

v1.0.0

21 Oct 17:55
Compare
Choose a tag to compare

This release only changes the version number. It has no code changes.