Skip to main content

Deprecations

This page lists Nextflow features that are discouraged, deprecated, or recently removed. Use it to find out what you need to change before a feature goes away.

  • Discouraged features still work, but better alternatives are available. They may be deprecated in the future.
  • Deprecated features still work, but will be removed in a future release.
  • Removed features are no longer supported. Migrate away from them before upgrading your Nextflow version.

See Migration notes for the full list of changes in each release.

Discouraged​

FeatureAlternative
kuberun commandLaunch with Fusion
Using params outside the entry workflowExplicit inputs
Legacy parameter declarations (params.foo = ...)params block
Workflow | and & operatorsMethod calls and assignments
.out to access process/workflow outputsAssignments
Legacy operatorsCore operators
Process when sectionConditional logic in the calling workflow
Using global variables in a processProcess inputs
publishDir directiveWorkflow outputs

Deprecated​

Language​

FeatureDeprecatedReplacement
Channel.from()19.10channel.of() or channel.fromList()
file process input and output qualifier19.10path
baseDir20.04projectDir
addParams and params clauses in include declarations24.10Explicit inputs
Process shell section25.04Process script section
Channel to access channel factories25.10channel
Legacy syntax parser (NXF_SYNTAX_PARSER=v1)26.04Strict syntax
channel.fromSRA()26.04Entrez Direct

Process directives​

FeatureDeprecatedReplacement
storeDir26.10Explicit workflow logic

Configuration​

FeatureDeprecatedReplacement
aws.client.uploadStorageClass23.10aws.client.storageClass
https://api.tower.nf as the Seqera Platform endpoint24.04https://api.cloud.seqera.io
manifest.author24.10manifest.contributors
Workflow handlers in config files25.10Trace observer in a plugin
manifest.defaultBranch26.04Automatic detection of the default branch
seqera.executor.autoLabels26.10tower.autoLabels

Command line​

FeatureDeprecatedReplacement
Named workflow entry (-entry)24.10Params in the entry workflow

Feature flags and environment variables​

FeatureDeprecatedReplacement
NXF_CONTAINER_ENTRYPOINT_OVERRIDE22.10None
nextflow.enable.dsl and NXF_DEFAULT_DSL25.04None (DSL2 is the only DSL)
nextflow.enable.configProcessNamesValidation25.10Strict syntax
nextflow.enable.strict and NXF_ENABLE_STRICT26.04Strict syntax
Google Batch machine type selection via Cloud Info, and NXF_CLOUDINFO_ENABLED26.10machineType directive

Removed​

FeatureDeprecatedRemovedReplacement
DSL122.0423.04DSL2
docker.userEmulation24.04None
Glacier auto-retrieval (aws.client.glacierAutoRetrieval)24.04Restore objects with the AWS CLI
@Grab annotation24.10Plugins
Spack support in Wave24.1025.04Conda
google-lifesciences executor24.1025.10google-batch
aws.client.protocol, signerOverride, socketRecvBufferSizeHint, socketSendBufferSizeHint, and userAgent25.10None
aws.client.uploadChunkSize, uploadMaxAttempts, uploadMaxThreads, and uploadRetrySleep25.10aws.client.minimumPartSize and aws.client.multipartThreshold
-with-weblog option of run25.0426.10nf-weblog plugin
echo directive22.0426.10debug