Skip to content

Releases: bids-standard/bids-validator

2.0.3

24 Feb 18:37
Compare
Choose a tag to compare

What's Changed

Fixed

  • Subject detection in participants.tsv and phenotype/ directories has been restored, enabling checks that were deactivated by the missing data. (#162)
  • Skip HED tests if schema cannot be loaded. This was exhibiting as a HED_ERROR with "cannot read property null". (#160)
  • TSV_INCORRECT_VALUE_TYPE* error messages now indicate that a match failed, instead of confusingly claim success. (#165)
  • Correct Uint8Array / DataView usage for TypeScript 5.7 (#170)
  • Prevent AJV logs from contaminating output (#166)

New Contributors

Full Changelog: 2.0.2...2.0.3

2.0.2

14 Feb 14:56
Compare
Choose a tag to compare

What's Changed

Added

  • Enable glob-style wildcards for location field in configuration files. (#134)

Changed

  • Ensure HED schemas are loaded only once, improving efficiency. (#156)

  • Change the output of the intersects() function in the expression language to return the intersection, if non-empty. Corresponds to bids-standard/bids-specification#2044. (#150)

  • Update to BIDS schema version 1.0.1 (BIDSVersion 1.10.0) (#152)

  • Limit TSV validation to first 1000 rows by default, adding the --max-rows flag to control this behavior. (#139)

Fixed

  • TSV files may now have columns named set, clear, delete, keys, or value. These were previously masked by the methods on the data structure representing columns. (#155)

  • Improve handling of .bidsignore files in the web validator. Ignores matching directories but not the files they contained could fail to match. (#113)

  • Resolve issue with parsing headers of NIfTI files with large extensions. Fixes issue 126.

Infrastructure

  • Adopting scriv for changelog management.

New Contributors

Full Changelog: 2.0.1...2.0.2

2.0.1

10 Dec 19:15
Compare
Choose a tag to compare

Release notes

Bug-fix release in the 2.0.x series.

Added

  • --prune flag prunes sourcedata and derivatives directories before walking them. Time and memory savings can be significant, at the cost of underestimates of dataset size. (#124)

Fixed

  • Improve handling of .bidsignore files in the web validator. Ignores matching directories but not the files they contained could fail to match. (#113)

  • Resolve issue with parsing headers of NIfTI files with large extensions. Fixes issue 126.

Infrastructure

  • Adopting scriv for changelog management.

Merged pull requests

  • fix: Restore legacy/ subdirectory, redirecting to legacy-validator by @effigies in #108
  • rf(filetree): Uniformize bidsignore reading between web, CLI and test functions by @effigies in #113
  • test: Check that bidsignored files are accepted in scans.tsv by @effigies in #114
  • doc: Adopt scriv as a changelog manager by @effigies in #116
  • fix: Truncate NIfTI header data to avoid extensions by @effigies in #127
  • chore: Bump @bids/schema v1.0.0 by @effigies in #128
  • feat: Add --prune option to prevent walking subtrees by @effigies in #124
  • Fix bst call for compiling schema by @tstoeter in #119
  • Fill in URLs in the README.md by @yarikoptic in #120
  • doc: Conform README and docs/index by @effigies in #130

New Contributors

Full Changelog: 2.0.0...2.0.1

2.0.0

13 Nov 18:51
Compare
Choose a tag to compare

Release notes

This is the second major release of the BIDS Validator.

The validator has been rewritten from scratch to interpret the BIDS Schema. This new validator

A development version of the validator may be accessed at https://bids-standard.github.io/bids-validator/dev/. While we encourage testing of features in the upcoming release of BIDS, note that any feature may be reverted until BIDS is released. Use the stable validator to validate against the most recent release of BIDS.

This release includes an updated documentation site at https://bids-validator.readthedocs.io/en/latest/.

For more details on this release, see the announcement on the BIDS Blog.

Features

  • Validation of BIDS Derivatives (introduced in BIDS 1.4.0) datasets, including opt-in recursive validation of BIDS Derivatives datasets discovered in derivatives/ subdirectories.
  • Support for BIDS-MRS (Magnetic Resonance Spectroscopy), introduced in BIDS 1.10.0.
  • Consistent application of the inheritance principle
  • Consistent type-checking of JSON sidecar fields and TSV column entries
  • Consistent warning of missing RECOMMENDED metadata.