github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/changelog/v2.9_doc.yaml (about)

     1  - DocumentID: v2.9
     2    Title: >-
     3      v2.9
     4    CategoryID: changelog
     5    DateTime: 2022-07-15 20:35
     6    Summary: >-
     7      This release focuses on testing and REPL usability improvements but also
     8      includes updates several new run modes to make error handling easier in
     9      larger scripts.
    10    Description: |-
    11      ### Breaking Changes:
    12  
    13      * None
    14  
    15      ### Features:
    16  
    17      * `>>` redirect (append to file) operator added. This is just syntactic sugar for `-> >>`. To redirect and overwrite/truncate a file use `|>` rather than `>`
    18  
    19      * 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
    20      
    21      * Dynamic autocomplete suggestions are now cached for 5 seconds by default. This cache can be changed via the **CacheTTL** directive in `autocomplete`
    22  
    23      * 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`
    24  
    25      * New reserved variable `$PWD` (this was just a global variable previously)
    26  
    27      * Additional flags added to range, `@[`
    28  
    29      * New builtin, `man-get-flags`. This exposes Murex's internal man page parser to the command line scripts
    30  
    31      * Binaries now produced for ARM64 Windows
    32  
    33      ### Minor Changes:
    34  
    35      * The order in which namespaces are looked up has been altered since `private`s should be resolved before `function`s
    36  
    37      * Updated autocomplete for homebrew, `brew`
    38  
    39      * New autocomplete for AWS CLI, `aws`
    40  
    41      * New autocomplete for yarn, `yarn`
    42  
    43      * Murex unit tests should report progressively rather than everything upon completion
    44  
    45      * 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
    46  
    47      * Vendor directory removed. This isn't really needed now support is focused on newer versions of Go
    48  
    49      * Website: New 404 error
    50  
    51      * Website: search bar added
    52  
    53      * The start of a massive push towards upping the test coverage
    54  
    55      * Lots of improvements to the docs
    56  
    57      ### Bug Fixes:
    58  
    59      * FileRef module string for functions forked from the REPL changed to `murex/shell` to bring it inline with the naming convention of other modules
    60  
    61    Related:
    62      - reserved-vars
    63      - autocomplete
    64      - config
    65      - murex-docs
    66      - runmode
    67      - function
    68      - private
    69      - range
    70      - schedulers
    71      - try
    72      - trypipe
    73      - pipe-append
    74      - greater-than
    75      - greater-than-greater-than
    76  
    77