Miniwdl

Latest version: v1.12.0

Safety actively analyzes 624552 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 12

1.12.0

[![PyPI version](https://img.shields.io/pypi/v/miniwdl.svg)](https://pypi.org/project/miniwdl/) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/miniwdl/badges/version.svg)](https://anaconda.org/conda-forge/miniwdl) **[Getting Started](https://miniwdl.readthedocs.io/en/latest/getting_started.html)**

* Fix coercions of `Array[File]` and `Array[Directory]` to `Array[String]` (669 john-smith, 681 markjschreiber)
* Ensure presence of optional fields in structs read from runner input JSON file (686 adthrasher)
* `miniwdl run`: accept CLI inputs of compound types (pairs, maps, structs) as single-quoted JSON; also accept `Array[Directory]`
* `miniwdl check`: warn when a document of an older WDL version imports a document of a newer WDL version
* Dependency updates

1.11.1

[![PyPI version](https://img.shields.io/pypi/v/miniwdl.svg)](https://pypi.org/project/miniwdl/) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/miniwdl/badges/version.svg)](https://anaconda.org/conda-forge/miniwdl) **[Getting Started](https://miniwdl.readthedocs.io/en/latest/getting_started.html)**

Maintenance release:

* `miniwdl input-template`: add `--no-namespace` option to omit the top-level workflow name prefix
* fix download caching when config `[file_io] root` is used (https://github.com/miniwdl-ext/miniwdl-aws/issues/20 staskh)
* logging improvements and dependency updates

1.11.0

1.10.0

* WDL spec compatibility:
* `==` and `!=` accept optional operands (634 jdidion)
* fix resolution of imported struct type aliases when the original struct name is reused in current document (635 jdidion)
* WDL 1.1: allow placeholder options like `sep=` in string expressions outside of task commands (633 adamnovak)
* WDL 1.1: disable a few `version development` features that had been inadvertently enabled for `version 1.1` (multi-line strings and optional `call:` keyword)
* allow extra JSON keys initializing structs (524)
* fix bug in `WDL.Env.merge()` that could resurrect previously-shadowed bindings (637 adamnovak)
* `miniwdl zip --additional` to include any specified file(s) in the zip (641 rhpvorderman)

1.9.1

* Change singularity invocation from `singularity run` to `singularity exec` (628 adthrasher)
* WDL `version development`:
* Make the `input:` keyword optional in calls (https://github.com/openwdl/wdl/pull/524)
* `miniwdl check`: reduce spurious warnings on `env` task inputs used as environment variables instead of WDL interpolations (https://github.com/openwdl/wdl/pull/504)

1.9.0

- Two **potentially breaking changes**:
- Remove the default `-l` (login shell) flag that had been supplied to each task command bash interpreter starting in v1.5.3, but caused interoperability problems (603). New config options mentioned below can restore this flag if necessary.
- Disallow implicit coercions of `Boolean? Int? Float? File? Directory?` to (non-optional) `String`, which should never have been permitted (596). These had been subject to `miniwdl check` deprecation warning since v1.7.1. They will still validate with `--no-quant-check`.
- New config options (see [default.cfg](https://github.com/chanzuckerberg/miniwdl/blob/v1.9.0/WDL/runtime/config_templates/default.cfg))
- `[task_runtime] command_shell` and `[task_runtime] command_preamble` customize the task command bash interpreter. For example, to restore the login shell flag, set `[task_runtime] command_shell = /bin/bash -l` or environment `MINIWDL__TASK_RUNTIME__COMMAND_SHELL='/bin/bash -l'`
- `[file_io] chown` to opt-out of the post-task chown of the working directory
- `[podman] exe` to customize the invocation for the podman backend (for example, to remove sudo)
- Relax PyYAML version requirements (625 adamnovak)
- Improve MultipleDefinitions error messages (622 crabba)
- Allow underscores in the short tags used to identify each iteration of a scatter
- `miniwdl zip`: fix assertion error importing WDL from a sibling directory sharing a common basename prefix with the main directory

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.