Skip to main content


Laurence MorganAbout 2 min


This release focuses on testing and REPL usability improvements but also includes updates several new run modes to make error handling easier in larger scripts.

Breaking Changes:

  • None


  • >> redirect (append to file) operator added. This is just syntactic sugar for -> >>. To redirect and overwrite/truncate a file use |> rather than >

  • Support for automatic globbing in the commandline. This has to be enabled via config: set shell auto-glob true and you will get prompted for each glob. Any globs inside blocks will be ignored and this only works on the interactive prompt (ie not in scripts or background processes) -- these limitations are not a bug but by design

  • Dynamic autocomplete suggestions are now cached for 5 seconds by default. This cache can be changed via the CacheTTL directive in autocomplete

  • Additional scoping for try and trypipe. You can define the scope as being an entire function or a module. If set for an entire module then any functions, autocompletions, etc inside that module will inherit that try or trypipe mode automatically. These are set via the new builtin runmode

  • New reserved variable $PWD (this was just a global variable previously)

  • Additional flags added to range, @[

  • New builtin, man-get-flags. This exposes Murex's internal man page parser to the command line scripts

  • Binaries now produced for ARM64 Windows

Minor Changes:

  • The order in which namespaces are looked up has been altered since privates should be resolved before functions

  • Updated autocomplete for homebrew, brew

  • New autocomplete for AWS CLI, aws

  • New autocomplete for yarn, yarn

  • Murex unit tests should report progressively rather than everything upon completion

  • Minimum recommended version of Go has been raised to 1.15. This is due to some bugs in dependencies when running tests against v1.13 and v1.14. Murex will technically compile and work on them but it not worth my time debugging why the CircleCI tests fail for those versions given their age

  • Vendor directory removed. This isn't really needed now support is focused on newer versions of Go

  • Website: New 404 error

  • Website: search bar added

  • The start of a massive push towards upping the test coverage

  • Lots of improvements to the docs

Bug Fixes:

  • FileRef module string for functions forked from the REPL changed to murex/shell to bring it inline with the naming convention of other modules

Published: 15.07.2022 at 20:35

See Also

  • Reserved Variables: Special variables reserved by Murex
  • Schedulers: Overview of the different schedulers (or 'run modes') in Murex
  • >> Append File: Writes STDIN to disk - appending contents if file already exists
  • >> Append Pipe: Redirects STDOUT to a file and append its contents
  • [ ..Range ]: Outputs a ranged subset of data from STDIN
  • autocomplete: Set definitions for tab-completion in the command line
  • config: Query or define Murex runtime settings
  • function: Define a function block
  • murex-docs: Displays the man pages for Murex builtins
  • private: Define a private function block
  • runmode: Alter the scheduler's behaviour at higher scoping level
  • try: Handles non-zero exits inside a block of code
  • trypipe: Checks for non-zero exits of each function in a pipeline
  • |> Truncate File: Writes STDIN to disk - overwriting contents if file already exists

This document was generated from gen/changelog/v2.9_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan