github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/changelog/v2.6.md (about)

     1  # v2.6
     2  
     3  This update has introduced a potential breaking change: variables now need to be defined before usage otherwise the commandline will fail. Read notes to learn how to disable this feature where needed. Also included in this release is the `select` command as part of the standard build.
     4  
     5  ### Breaking Changes:
     6  
     7  * `strict-vars` is enabled by default. This means if a variable doesn't exist / hasn't been instantiated then your command will fail. You can disable this by putting `config: set proc strict-vars false` inside any affected `function`s and/or in your `~/.murex_profile`
     8  
     9  ### Features:
    10  
    11  * `select` builtin now added to the default build. This built in will stream tabulated data into an in memory sqlite3 database and take SQL arguments to query that data. Thus allowing you to inline SQL queries as part of your native command line. This addition will add complications for anyone building from source on Windows. If you are a Windows user you are recommended to use WSL or, if you desperately need to use Murex natively on Windows, download the appropriate per-compiled binary from the downloads page
    12  
    13  * When used in WSL, any Windows mounts included in `$PATH` will now be subject to the same inclusion rules as Windows file systems when Murex is used in Windows. This means only executables (ie files with `.exe`, amongst other, extensions are present). This has dramatically cleaned up autocomplete suggestions when running Murex in WSL.
    14  
    15  * New `autocomplete` directive: `FileRegexp`. Use this if you want to return only files where the file name matches a defined pattern (eg only **.txt** files: `\.txt$`)
    16  
    17  * HTTP client (as used by `get`, `getfile`, `post`, `open`, etc) supports additional logic with dynamically guessing the correct data type to assign to STDOUT where the `Content-Type` hasn't been mapped. Any `Content-Type` with a `+json` suffix will be assumed to be `json` data type
    18  
    19  * `getfile` output has been revamped. If STDOUT is a TTY then you'll now see a progress bar
    20  
    21  * `.tfstate` (Terraform state files) have been added to supported JSON extensions
    22  
    23  * `~/.ssh/config` hosts have been added to SSH (et al)'s autocomplete suggestions
    24  
    25  * `murex-package: reload` now only reloads packages, not `.murex_preload nor `.murex_profile`
    26  
    27  * website tweaks: updated INSTALL doc, CSS fixes
    28  
    29  * debug message added to warn when fork FIDs are being killed
    30  
    31  ### Non-user facing changes (internal changes to the Murex code base):
    32  
    33  * Additional tests
    34  
    35  * Older function definitions replaced with the newer (correct) way to define functions and methods. This allows for greater discovery in the interactive terminal
    36  
    37  * Root unit tests finish quicker
    38  
    39  ### Bug fixes:
    40  
    41  * HTTP client (as used by `get`, `getfile`, `post`, `open`, etc) wasn't breaking down the `Content-Type` header correctly. This only affected unknown MIME types where Murex had to guess the correct data type to assign to STDOUT. This is an edge case bug.
    42  
    43  * `while`, when used without a separate parameter for the conditional logic, was buffering the STDOUT for each loop and outputting it after that iteration had ended. `while` now uses a "tee" stdio writer which means it can stream STDOUT while the iteration is in progress  Synonyms:
    44  
    45  <hr>
    46  
    47  Published: 26.02.2022 at 18:33
    48  
    49  ## See Also
    50  
    51  * [`autocomplete`](../commands/autocomplete.md):
    52    Set definitions for tab-completion in the command line
    53  * [`config`](../commands/config.md):
    54    Query or define Murex runtime settings
    55  * [`select`](../optional/select.md):
    56    Inlining SQL into shell pipelines
    57  * [`while`](../commands/while.md):
    58    Loop until condition false
    59  
    60  <hr/>
    61  
    62  This document was generated from [gen/changelog/v2.6_doc.yaml](https://github.com/lmorg/murex/blob/master/gen/changelog/v2.6_doc.yaml).