Skip to content

Version 2024.2.2

Latest
Compare
Choose a tag to compare
@iromeo iromeo released this 24 Oct 10:54
· 5 commits to master since this release

Released on 24 October 2024

NB: Please configure/ensure the desired snakemake language level in the plugin settings, by default, it will be 8.24.0 in this release. Language level setting is required to show Snakemake API that is deprecated in the desired Snakemake version or not yet available. See example screenshots in #508

Features

  • Inspection: Warn about deprecated or not yet available features based on snakemake language level (see #508
  • Move snakemake API addition/removal info from JAR into extra/snakemake_api.yaml in plugin directory
  • Inspection: Warn if snakemake section type or API function isn't supported in the current snakemake project based on a snakemake version (see #500
  • Code completion: For section keywords show 'since' version and deprecation notice in the completion list. Do not suggest already removed keywords (see #535
  • Set default project Snakemake language level in Snakemake support settings to 8.24.0
  • [8.3.0] Support for: lookup, evaluate, branch, collect, exists (see #548
  • [8.0.0] Support for Global workflow dependencies [8.0.0] syntax (see #555
  • [8.0.0-6.8.1] Support for: 'storage', 'github', 'gitfile', 'gitlab' (see #550
  • [7.25.0] Support for localrule directive (see #524
  • [7.11] Resource scopes support (see #510

Fixed

  • Improve parser error message when rule/module is declared with name but lacks ':' (see #515)
  • Support for update and before_update flags. Update inspection that warns if flag functions from snakemake.io is used in a wrong section, added info for all flags up to 8.23.1 version (see #537)
  • Inject some modules in Snakefile file resolve scope w/o import declaration, e.g. os, sys,.. (see #553
  • Do not warn about unresolved snakemake variable in the python files, because they could be used as scripts/wrappers for snakemake rules. (see #511)
  • Undeclared section threads warning should not be shown here (see #539