Releases: bids-standard/bids-validator
2.4.1
Changed
- Update to BIDS Schema v1.2.1 (BIDS v1.11.1)
- The web validator now renders Markdown in issue messages.
Fixed
- Validating directory names is now skipped for unknown
DatasetTypes indataset_description.json. Previously this would crash, preventing the error inDatasetTypevalues from being reported to the user.
Infrastructure
- Added a pre-commit configuration for developers. To enable, run
pre-commit install. For speed, we recommend installingpre-commitviauv tool install pre-commit --with=pre-commit-uv.
Pull requests merged
- feat: render markdown in web validator (fixes #211) by @BitForge95 in #350
- fix: Skip directory match for unknown DatasetType by @effigies in #354
- chore: Add pre-commit hooks by @effigies in #341
- chore: Bump BIDS schema to 1.2.1 by @effigies in #360
Full Changelog: 2.4.0...2.4.1
2.4.0
2.3.2
Changed
- File reads are temporarily cached to avoid multiple fetches/opens.
Fixed
- Retrieval of remote data on S3 is now more robust, avoiding resource leaks
by setting timeouts and a reasonable retry protocol.
Pull requests merged
- feat: Memoize readBytes/readText to avoid excess fetches by @effigies in #349
- fix: Add timeout to avoid resource leak, retry failed fetches by @effigies in #351
Full Changelog: 2.3.1...2.3.2
2.3.0
Changed
- Render Markdown links as OSC-8 links in terminals where support is detected.
Fixed
-
Exit with a non-zero exit code if nested datasets are validated and found to have errors.
-
Prevent HED check from failing for null values found in sidecar metadata.
Pull requests merged
- fix: Perserve types for memoized functions by @nellh in #337
- chore(deps): Update strategy compatible by @github-actions[bot] in #343
- Fix/339 bug update exit code if recursed directory contains errors by @bendhouseart in #340
- make select not fail on sidecar without HED key pair by @bendhouseart in #346
New Contributors
- @bendhouseart made their first contribution in #340
Full Changelog: 2.2.10...2.3.0
2.2.10
Changed
- Improve types for memoized functions by passing argument and return types to callers.
Fixed
- Extract AWS region from S3 special remote, defaulting to us-east-1.
Full Changelog: 2.2.9...2.2.10
2.2.9
Changed
- Reverted terminal URLs for the 2.2.x series. It should be back in 2.3.0.
Full Changelog: 2.2.8...2.2.9
2.2.8
Changed
- Render Markdown links as OSC-8 links in terminals where support is detected.
Fixed
- Fix typo in S3 URL generation code that prevented reading remote files.
Full Changelog: 2.2.7...2.2.8
2.2.7
Added
-
Maintainer documentation for creating and fixing releases.
-
Support for rendering Markdown in validation messages in the terminal.
-
Display validation summaries for derivative datasets when recursive validation (
-r/--recursive) is run. -
Support for presigning S3 URLs if AWS credentials are detected.
Fixed
-
Validate derivative file paths relative to the derivative dataset root.
-
Have all three calls to fetch in HttpOpener use same error handling.
-
Fix memoization memory leak for readRemotes.
-
Replace SPEC_ROOT placeholder with actual documentation link in CLI output.
Infrastructure
- Pin Deno to 2.5.6 in wheel builds to account for bugs with MacOS binaries compiled with 2.6.0.
Full Changelog: 2.2.6...2.2.7
2.2.6
2.2.5
Added
- Support for template and cohort directories, as introduced in BEP038.
Fixed
- The AMBIGUOUS_AFFINE issue was given an error message and set to warning.
- Very oblique affines are no longer considered ambiguous.
- Resolved TypeError when rendering issues for JSON outputs.
Pull requests merged
- fix: Filter issue fields when storing by @effigies in #311
- fix: Define AMBIGUOUS_AFFINE, make a warning, raise less often by @effigies in #310
- BEP038 patches by @effigies in #288
Full Changelog: 2.2.4...2.2.5