Repository navigation
Releases
11.1.2
These release notes are automatically extracted from the full changelog.
Bug fixes
nextstrain build --aws-batchnow 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, andnextstrain remotewith nextstrain.org addresses, no longer load AWS credentials, which they don't use. Previously, a local AWS profile using console login credentials (fromaws login) caused these commands to fail with an error about a missingbotocore[crt]dependency. (#533, #552)
11.1.1
These release notes are automatically extracted from the full changelog.
Development
- Set minimum version requirement for certifi to 2026.10.19 in response to CA certificate compromise incident. (#549)
11.1.0
These release notes are automatically extracted from the full changelog.
Improvements
nextstrain build --aws-batchnow 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-batchnow 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
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 buildnow runs Snakemake with the--rerun-incompleteoption, aligning withnextstrain run. (#515)
Bug fixes
10.5.0
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_PATHSAUGUR_DEBUGAUGUR_PROFILE
(#501)
-
nextstrain buildandnextstrain runnow run Snakemake with the--benchmark-extendedoption for more detailed benchmark files when used with recent versions of managed runtimes. (#467) -
nextstrain buildnow tries to inject--memoryasmem_mbinto any existing--resourcesgiven to Snakemake. (#514)
10.4.2
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
boto3which is used for various commands. (#495)
10.4.1
10.4.0
These release notes are automatically extracted from the full changelog.
Improvements
-
nextstrain runnow 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 runstill 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
phylogeneticworkflow 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
$schemaids 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 setupand during subsequent pathogen version updates withnextstrain update, but not when using an existing pathogen setup withnextstrain 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-bucketoption or the equivalentaws-batch.s3-bucketconfig field orNEXTSTRAIN_AWS_BATCH_S3_BUCKETenvironment 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.zipFor extra clarity, particularly when providing a prefix, the value may now be specified as a URL (e.g.
s3://some-bucket/a/prefixors3://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
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>andnextstrain version --pathogensnow list the available workflows (e.g.ingest,phylogenetic) for a pathogen if the workflows are registered as compatible withnextstrain runin the pathogen'snextstrain-pathogen.yamlfile. (#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-20250721T201347Zfor these Snakemake storage files to be available for download from the AWS Batch job. (#460) -
nextstrain runnow 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 allowsnextstrain runto be used with pathogen repos managed outside of Nextstrain CLI (i.e. not bynextstrain setupandnextstrain 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>andnextstrain 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 clicommand. 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 withnextstrain updateputs updates to the CLI alongside updates to the runtimes and pathogens. (#475)
Bug fixes
-
nextstrain setup <pathogen>@<version>andnextstrain 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>andnextstrain 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 runnow 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 withnextstrain rundespite 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)