Releases: bids-standard/bids-validator
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
2.2.4
2.2.3
Fixed
- NIfTI files with bad qform matrices, resulting from non-normalized quaternions, would previously raise a NIFTI_HEADER_UNREADABLE error. Now only the axis codes are disabled, preventing orientation checks, but not raising errors.
Pull requests merged
Full Changelog: 2.2.2...2.2.3
2.2.2
Changed
-
Support
min()andmax()of numbers in the expression language. This allows for simpler rules when a field may be a number or array of numbers. -
Annexed files that are not local are treated as empty instead of erroring if a remote URL could not be constructed. The size of missing files are included in the summary estimate of dataset size.
Fixed
INVALID_FILE_ENCODINGissues now print sensible messages instead of crashing.
Pull requests merged
- feat: Support min/max of single numbers by @effigies in #284
- chore: Bump schema by @effigies in #285
- feat: Fall back to an empty file for absent symlinks with no public S3 URL by @effigies in #287
- chore(ci): Build against macos-15-intel by @effigies in #289
- fix: Add missing INVALID_FILE_ENCODING issue definition by @nellh in #292
Full Changelog: 2.2.1...2.2.2
2.2.1
Added
-
Support for
associations.physioandassociations.events.sidecar. -
Implement
associations.coordsystemsto collate multiplecoordsystem.jsonfiles,
as required by BEP 042 (EMG).
Changed
- Validation context generation was tweaked to improve concurrency, giving 4x validation
speedups in some cases.
Pull requests merged
- test: Add opener implementations for tests by @effigies in #283
- feat: Start loading contexts earlier, buffer contexts for better concurrency by @effigies in #282
- BEP020 patches by @effigies in #260
- BEP042 patches by @drammock in #268
Full Changelog: 2.2.0...2.2.1
2.2.0
Added
-
Added
--formatoption to specify output format:text(default),json, orjson_pp(pretty-printed JSON) -
Pretty-printed JSON output support via
--format json_ppoption -
Datalad/git-annex datasets with remote content in public S3 buckets can be validated with the
--preferredRemote <remote-name>flag. If a public S3 bucket is detected without this flag, the most recent export is used.
Changed
- Refactored file access classes to be more DRY.
Fixed
- Circular references that could lead to a hanging process were mitigated. (#278)
Deprecated
- Deprecated
--jsonoption in favor of--format json(backward compatibility maintained)
What's Changed
- fix: Weakly reference parent FileTrees, upgrade hed-validator by @effigies in #279
- feat: add --format option for output formatting by @djken2009 in #271
- rf: Make BIDSFile generic wrapper, with FileOpener providing the file type handling by @effigies in #280
- feat: Load annexed data from public S3 special remotes by @effigies in #281
Full Changelog: 2.1.1...2.2.0