Skip to content

1.3.0

Latest

Choose a tag to compare

@maxulysse maxulysse released this 16 Nov 11:15
1ac6759

Added

  • #90 Implement the additionalPatterns option of filterNextflowOutput(): matches of each regex are removed from every line (previously the option was accepted but ignored) (@maxulysse)

Changed

  • #90 Split Methods.java into focused utility classes (HashUtils, YamlUtils, ArchiveDownloader, FileTraversalUtils, NextflowOutputFilter); public method names and parameters are unchanged (@maxulysse)
  • #90 curlAndExtract() throws IOException when the download or extraction fails, instead of logging and continuing; it downloads with curl --fail to a temporary file first, so HTTP errors and truncated transfers fail too (@maxulysse)
  • #90 curlAndExtract() accepts the compression type in any case, and URLs ending in .tar.gzip, .tar.bzip2, .tgzip or .tbzip2 (@maxulysse)
  • #90 listToMD5() no longer declares NoSuchAlgorithmException, as every Java platform supports MD5 (@maxulysse)
  • #99 Build, test and release with mise tools and tasks, replacing build.sh, test.sh, bump-version.sh and environment.yml (see docs/CONTRIBUTING.md) (@maxulysse)
  • #99 Test against Nextflow 26.04.9 (minimum, was 26.01.1-edge) and the latest release, on Java 21 only (was 17 and 21) (@maxulysse)
  • #100 Compile for Java 17 (was 11), the minimum Java of Nextflow 26.04.9 (@maxulysse)
  • #101 Lint with maven-checkstyle-plugin 3.6.0 (was 3.0.0), which parses Java 17 syntax such as switch rules (@maxulysse)
  • #102 Rename curlAndExtract() to extract(), with optional named arguments extractDir (default: a temporary directory deleted when nf-test exits) and compression; it returns the extraction directory and rejects unknown options (@maxulysse)
  • #102 extract() reads local paths and file:// URLs in place, and downloads other URLs, s3:// included, with nextflow fs cp instead of curl (@maxulysse)
  • #102 Rename ArchiveDownloader to ArchiveExtractor (@maxulysse)

Deprecated

  • #102 curlAndExtract(), replaced by extract(); it still works, but prints a warning (@maxulysse)

Fixed

  • #90 Docs: add additionalPatterns, fix the filterNextflowOutput() placeholders and sorted lines, and replace the noSignRequest option of downloadFromS3(), which never existed, with a note that public buckets need no credentials (@maxulysse)
  • #90 Replace raw types in public API signatures with generic types (@maxulysse)
  • #90 getAllFilesFromPath() on S3 and downloadFromS3() no longer leave the stderr of aws/nextflow unread, which could hang the call; downloadFromS3() errors now include that stderr (@maxulysse)
  • #99 Run the JUnit tests during the Maven build: pin maven-surefire-plugin to 3.5.4, the default 2.12.4 cannot run JUnit 5 and reported Tests run: 0 (@maxulysse)

What's Changed

Full Changelog: 1.2.1...1.3.0