Skip to content

Releases

11.1.2

Choose a tag to compare

@github-actions github-actions released this 26 Oct 23:54
11.1.2

These release notes are automatically extracted from the full changelog.

Bug fixes

  • nextstrain build --aws-batch now waits 10 minutes before automatically canceling any jobs that are stuck as RUNNABLE due to misconfiguration. (#551)
  • Commands that authenticate with nextstrain.org, such as nextstrain login, nextstrain whoami, and nextstrain remote with nextstrain.org addresses, no longer load AWS credentials, which they don't use. Previously, a local AWS profile using console login credentials (from aws login) caused these commands to fail with an error about a missing botocore[crt] dependency. (#533, #552)

11.1.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 16:58

These release notes are automatically extracted from the full changelog.

Development

11.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 21:37
11.1.0

These release notes are automatically extracted from the full changelog.

Improvements

  • nextstrain build --aws-batch now automatically cancels any jobs that are stuck as RUNNABLE due to misconfiguration, while attached to the job. If the job was stuck due to the requested resources, a helpful message is shown. (#547)
  • Documentation for AWS Batch setup has been updated to recommend setting job state limits on the job queue. (#547)

Bug fixes

  • nextstrain build --aws-batch now handles network connection errors gracefully with a clear error message instructing how to re-attach to the job, rather than failing with an unhandled traceback. (#542)

Development

  • We no longer test the macOS x86 standalone archive on aarch64 machines (Apple Silicon). Apple Silicon users should be using the native aarch64 standalone archive. If you encounter any issues starting with this version, first try re-installing Nextstrain CLI. (#537)

11.0.0

Choose a tag to compare

@github-actions github-actions released this 05 May 20:45

These release notes are automatically extracted from the full changelog.

This release drops support for Python versions 3.8 and 3.9 and adds explicit (i.e. tested) support for 3.14.

Note that this Python version support only matters if you're installing Nextstrain CLI from PyPI or Bioconda (c.f.). It does not apply if you're installing Nextstrain CLI using the standalone installation method we recommend in the Nextstrain installation documentation. In that case, a supported Python version is always bundled with nextstrain.

Improvements

  • nextstrain build now runs Snakemake with the --rerun-incomplete option, aligning with nextstrain run. (#515)

Bug fixes

  • Updated code to support the latest version of wrapt, used to show --dry-run outputs. (#499)
  • Updated the dependency list to explicitly include boto3, used for various commands. (#499)
  • Suppress warning from cryptography about deprecated Python 3.8 support (#523)

10.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Mar 23:52

These release notes are automatically extracted from the full changelog.

Improvements

  • Added the following to the list of "well-known" environment variables that are automatically passed thru to runtimes:

    • AUGUR_SEARCH_PATHS
    • AUGUR_DEBUG
    • AUGUR_PROFILE

    (#501)

  • nextstrain build and nextstrain run now run Snakemake with the --benchmark-extended option for more detailed benchmark files when used with recent versions of managed runtimes. (#467)

  • nextstrain build now tries to inject --memory as mem_mb into any existing --resources given to Snakemake. (#514)

10.4.2

Choose a tag to compare

@github-actions github-actions released this 07 Jan 21:59

These release notes are automatically extracted from the full changelog.

Improvements

  • We now produce standalone installation archives for Linux running on aarch64 hardware (aka arm64). The standalone installer will use these archives starting with this release. (#489, #490)

Bug fixes

  • Updated the s3fs dependency to avoid versions starting with 2025.12.0. This maintains a dependency on boto3 which is used for various commands. (#495)

10.4.1

Choose a tag to compare

@github-actions github-actions released this 14 Oct 19:46

These release notes are automatically extracted from the full changelog.

Bug fixes

  • The dependency on types-boto3-s3 is now development-only (the dev extra). This eases Conda packaging and is consistent with dev-only dependencies on other type definition packages. (#485)

10.4.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 19:17

These release notes are automatically extracted from the full changelog.

Improvements

  • nextstrain run now resolves workflow names by looking in the pathogen registration (nextstrain-pathogen.yaml) for an explicitly registered path. If no path is registered for a workflow, nextstrain run still falls back to using the workflow name for the workflow path.

    This allows for workflow names that are not also directory paths within the pathogen source, which is useful for pathogens that are structured non-conventionally for one reason or another. The decoupling of workflow names from paths also means that the workflow can be relocated within the pathogen repo without breaking the name (i.e. the external interface to the workflow).

    As an example, the following workflow registration:

    workflows:
      phylogenetic:
        path: .
        compatibility:
          nextstrain run: yes

    would allow invocation of a phylogenetic workflow located at the top-level of the pathogen source, such as in zika-tutorial. (#481)

  • Pathogen registration files (nextstrain-pathogen.yaml) now have a formal schema, https://nextstrain.org/schemas/pathogen/v0, and registrations will be validated against the schema if they declare so with $schema.

    Unknown $schema ids are ignored. Validation errors will cause the pathogen registration file to be ignored (as if it didn't exist).

    Malformed registration files are warned about during the initial pathogen setup with nextstrain setup and during subsequent pathogen version updates with nextstrain update, but not when using an existing pathogen setup with nextstrain run (so as not to be too noisy). (#482)

  • The AWS Batch runtime now supports storing workdir and envdir archives in S3 under a key prefix. This optional key prefix is provided after the bucket name in the --aws-batch-s3-bucket option or the equivalent aws-batch.s3-bucket config field or NEXTSTRAIN_AWS_BATCH_S3_BUCKET environment variable. For example, providing

    --aws-batch-s3-bucket=some-bucket/a/prefix/
    

    would result in workdir archives stored at

    s3://some-bucket/a/prefix/6116f3e3-9bc0-4769-99e3-adb71b4d82c0.zip
    

    For extra clarity, particularly when providing a prefix, the value may now be specified as a URL (e.g. s3://some-bucket/a/prefix or s3://another-bucket), though, for backwards compatibility, doing so is not required. A key prefix may be useful for the organization of the objects in a bucket, particularly when the bucket is accessed directly, outside of Nextstrain CLI. (#483)

Bug fixes

  • The AWS configuration for S3 operations for the AWS Batch runtime no longer sets 3 as the max number of attempts for retries. To explicitly control retries yourself, use AWS' own support via config files (max_attempts) and environment variables (AWS_MAX_ATTEMPTS). The previous configuration precluded the use these AWS config files and env vars to control max attempts. Note that 3 attempts is already the AWS default, so no behaviour change is expected and no action is needed during upgrade. (#483)

10.3.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 21:44

These release notes are automatically extracted from the full changelog.

This release adds explicit (i.e. tested) support for Python version 3.13. (#473)

Note that this Python version support only matters if you're installing Nextstrain CLI from PyPI or Bioconda (c.f.). It does not apply if you're installing Nextstrain CLI using the standalone installation method we recommend in the Nextstrain installation documentation. In that case, a supported Python version is always bundled with nextstrain.

Improvements

  • nextstrain setup <pathogen> and nextstrain version --pathogens now list the available workflows (e.g. ingest, phylogenetic) for a pathogen if the workflows are registered as compatible with nextstrain run in the pathogen's nextstrain-pathogen.yaml file. (#461, #472)

  • Snakemake's storage support downloaded files (stored in .snakemake/storage/) are now downloaded from AWS Batch builds by default.

    The runtime image used must be at least nextstrain/base:build-20250721T201347Z for these Snakemake storage files to be available for download from the AWS Batch job. (#460)

  • nextstrain run now supports an alternative invocation where a path to a local directory that is a pathogen repository can be given instead of a pathogen name (and optionally version). This allows nextstrain run to be used with pathogen repos managed outside of Nextstrain CLI (i.e. not by nextstrain setup and nextstrain update), which can be useful for the analysis directory support and local testing. The workflow to run is still given separately by name (not path). (#476)

  • When nextstrain setup <pathogen> and nextstrain update <pathogen> encounter an authentication error downloading from pathogen source URLs, the error message now includes a hint, if applicable, noting the presence of netrc-provided credentials and possible resolutions. This aids in resolving errors arising from stale GitHub credentials present in some users' netrc files (as managed by older versions of the GitHub CLI, gh). (#479)

  • When Nextstrain CLI detects that a new version of itself is available, it will now output the instructions on how to upgrade to that new version after (instead of before) the normal output from the running command. This makes it easier to find and follow the instructions when output is long. The notices of the new version will be output both before and after normal output. (#475)

  • For most installation methods (i.e. standalone, Pip, pipx, and Conda), the process of updating Nextstrain CLI itself is now automated by a single nextstrain update cli command. This is suggested in new version notices emitted by automatic new version checks (along with the previously-suggested update commands that vary by installation method). Integrating with nextstrain update puts updates to the CLI alongside updates to the runtimes and pathogens. (#475)

Bug fixes

  • nextstrain setup <pathogen>@<version> and nextstrain update <pathogen>@<version> no longer result in a 404 error if <version> includes a slash and it is a valid version specifier. (#459)

  • Reverting changes made in 10.2.1, nextstrain setup <pathogen> and nextstrain update <pathogen> will once again attempt to use a local netrc file for authentication when downloading pathogen source URLs. This also reinstates support in those cases for configuring outgoing network proxies and CA certificate trust stores via environment variables. Support for private repositories is not unintentional and is something we intend to provide. (#478)

  • nextstrain run now overrides (i.e. suppresses) any "workdir:" directives in a workflow by explicitly setting the working directory when it invokes Snakemake. This avoids writing files into the pathogen/workflow source directories when non-compatible (or broken) workflows are used with nextstrain run despite the warnings issued. Such workflows are more likely to error and fail now early on rather than "succeed" but produce output files in the wrong location. (#476)

  • When a standalone installation of Nextstrain CLI suggests a command to run to update itself, that command now takes into account non-default installation paths so that the new version is installed to the same place as the current version. (#474)

10.2.1.post1

Choose a tag to compare

@github-actions github-actions released this 02 Jul 00:08

These release notes are automatically extracted from the full changelog.

See also changes in 10.2.1 which was an unreleased version.

Development

  • The release script now keeps changelogs in sync. (#446)