Skip to content

Release 2.4.0 #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 91 commits into from
Apr 3, 2025
Merged

Release 2.4.0 #121

merged 91 commits into from
Apr 3, 2025

Conversation

nvnieuwk
Copy link
Collaborator

Version 2.4.0

New features

  1. Added a new configuration option: validation.maxErrValSize which sets the maximum length that a value in an error message can be. The default is set to 150 characters.
  2. Added a new function: validate() that can be used to validate any data structure using a JSON schema.

Bug fixes

  1. Move the unpinned version check to an observer. This makes sure the warning is always shown and not only when importing a function.
  2. Added a missing inherited method to the observer to fix issues with workflow output publishing
  3. Fixed unexpected failures with samplesheet schemas using anyOf, allOf and oneOf
  4. Fixed an error with help messages when the type keyword was missing
  5. Fix compilation errors in Java 21

Improvements

  1. Slow uniqueness check (> 2hrs for 100k samples) made 400x faster by switching from findAll to a subMap for isolating the required unique fields.
  2. patternProperties now has greater support, with no warnings about invalid parameters which actually match a pattern
  3. Added better error handling and debug messages to the configuration parser.

Changes

  1. Refactored the whole codebase to make future development easier
  2. Bumped the minimal Nextflow version to 24.10.0

@nvnieuwk nvnieuwk requested review from mirpedrol and awgymer March 19, 2025 14:05
@nvnieuwk nvnieuwk marked this pull request as draft March 20, 2025 12:06
@nvnieuwk nvnieuwk marked this pull request as ready for review March 20, 2025 15:43
Copy link
Collaborator

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two last comments, otherwise looks good

@nvnieuwk nvnieuwk merged commit f529e91 into master Apr 3, 2025
8 checks passed
@nvnieuwk nvnieuwk deleted the 2.4.0dev branch April 3, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants