Releases: bids-standard/legacy-validator
Releases · bids-standard/legacy-validator
v1.15.0
What's Changed
- fix typing on schema validation error object, remove isBidsy.ts by @rwblair in https://github.com/bids-standard/bids-validator/pull/2163
- fix: avoid Maximum call stack size exceeded by @mguaypaq in https://github.com/bids-standard/bids-validator/pull/2162
- add continous regex for anatomical datatype to file_level_rules.json by @rwblair in https://github.com/bids-standard/bids-validator/pull/2165
- chore: Update bids-schema by @effigies in https://github.com/bids-standard/bids-validator/pull/2168
- [schema] Bump HED validator by @effigies in https://github.com/bids-standard/bids-validator/pull/2169
- chore: Bump schema by @effigies in https://github.com/bids-standard/bids-validator/pull/2172
- CI: Skip legacy validation of dwi_deriv example by @effigies in https://github.com/bids-standard/bids-validator/pull/2177
- fix(cli): Allow blacklisting any modality from schema.rules.modalities by @effigies in https://github.com/bids-standard/bids-validator/pull/2176
- fix: Export types for typescript library users by @nellh in https://github.com/bids-standard/bids-validator/pull/2181
- fix: Use our fork of nifti-reader-js to fix console output bugs by @nellh in https://github.com/bids-standard/bids-validator/pull/2184
- Fix HED error reporting and tests by @happy5214 in https://github.com/bids-standard/bids-validator/pull/2174
- [js] Update all npm dependencies (2024-10-31) by @depfu in https://github.com/bids-standard/bids-validator/pull/2167
Full Changelog: bids-standard/bids-validator@v1.14.14...v1.15.0
v1.14.14
What's Changed
- feat: Update schema to support scanner dwi derivatives by @effigies in https://github.com/bids-standard/bids-validator/pull/2145
- Map issues through the Issue constructor by @happy5214 in https://github.com/bids-standard/bids-validator/pull/2143
- FIX: Disable strictSchema for legacy validator JSON schema validation by @rwblair in https://github.com/bids-standard/bids-validator/pull/2148
- fix: Load .bidsignore in web app by @effigies in https://github.com/bids-standard/bids-validator/pull/2151
- Pass value of ignore test to creation of filetree object. by @rwblair in https://github.com/bids-standard/bids-validator/pull/2152
- feat: Pass hedCode as subcode to group errors by @effigies in https://github.com/bids-standard/bids-validator/pull/2149
- feat(inheritance): Improve error definition for MULTIPLE_INHERITABLE_FILES by @effigies in https://github.com/bids-standard/bids-validator/pull/2155
- change how close is called on json files by @rwblair in https://github.com/bids-standard/bids-validator/pull/2156
- fix: Check for expected error types, rethrow unknown by @effigies in https://github.com/bids-standard/bids-validator/pull/2157
Full Changelog: bids-standard/bids-validator@v1.14.13...v1.14.14
v1.14.12
What's Changed
- chore: Add docstrings and export missing validateCommand object by @nellh in https://github.com/bids-standard/bids-validator/pull/2121
- chore: Add a type to validateCommand for JSR by @nellh in https://github.com/bids-standard/bids-validator/pull/2123
Full Changelog: bids-standard/bids-validator@v1.14.11...v1.14.12
v1.14.11
What's Changed
- fix: Load schema with fetch, default to JSR package by @effigies in https://github.com/bids-standard/bids-validator/pull/2112
- build: Include exports for extending validator in JSR packaging by @nellh in https://github.com/bids-standard/bids-validator/pull/2114
- chore: Import schema and base types from @bids/schema/. by @effigies in https://github.com/bids-standard/bids-validator/pull/2115
- chore(ci): Ignore MRS examples for legacy validator by @effigies in https://github.com/bids-standard/bids-validator/pull/2117
- feat: Validate CITATION.cff by @rwblair in https://github.com/bids-standard/bids-validator/pull/2116
- bump schema package version by @rwblair in https://github.com/bids-standard/bids-validator/pull/2120
Full Changelog: bids-standard/bids-validator@v1.14.10...v1.14.11
v1.14.10
What's Changed
- rf: Rewrite readEntities to give more intuitive results by @effigies in https://github.com/bids-standard/bids-validator/pull/2063
- feat: I/O checks for NIfTI and JSON files by @effigies in https://github.com/bids-standard/bids-validator/pull/2056
- feat: Prune derivatives from main file tree by @effigies in https://github.com/bids-standard/bids-validator/pull/2065
- feat(cli): Detect color support, respect flags and environment variables by @effigies in https://github.com/bids-standard/bids-validator/pull/2068
- feat(legacy): Support local BIDS-URIs for IntendedFor fields by @effigies in https://github.com/bids-standard/bids-validator/pull/2069
- rf(context): Move file tree, schema, and issues into context.dataset by @effigies in https://github.com/bids-standard/bids-validator/pull/2066
- feat: Treat directory formats like other data files by @effigies in https://github.com/bids-standard/bids-validator/pull/2064
- 'schema.rules.rules'.... booo by @rwblair in https://github.com/bids-standard/bids-validator/pull/2070
- feat: Track files referenced by other files to identify orphans by @effigies in https://github.com/bids-standard/bids-validator/pull/2057
- chore: Add .editorconfig by @effigies in https://github.com/bids-standard/bids-validator/pull/2072
- Refactor DatasetIssues and Issue classes by @rwblair in https://github.com/bids-standard/bids-validator/pull/2067
- fix(nifti): Suppress console.error during NIfTI readHeader() by @effigies in https://github.com/bids-standard/bids-validator/pull/2076
- feat: Separate output issues by subcodes by @rwblair in https://github.com/bids-standard/bids-validator/pull/2078
- fix(json): Validate all JSON fields by @effigies in https://github.com/bids-standard/bids-validator/pull/2075
- test: Add unit tests for valid and invalid filenames by @effigies in https://github.com/bids-standard/bids-validator/pull/2079
- Throw error on multiple valid inheritable files in the same directory... by @rwblair in https://github.com/bids-standard/bids-validator/pull/2080
- chore(pkg): Prepare package for publication to jsr by @effigies in https://github.com/bids-standard/bids-validator/pull/2077
- fix: Add --color options only when run through command line by @effigies in https://github.com/bids-standard/bids-validator/pull/2086
- chore: Various cleanups by @effigies in https://github.com/bids-standard/bids-validator/pull/2085
- feat: Utilities for constructing BIDSFiles and FileTrees by @effigies in https://github.com/bids-standard/bids-validator/pull/2082
- fix(web): Generate web UI elements from new issues by @effigies in https://github.com/bids-standard/bids-validator/pull/2088
- feat: Add FileTree.get method by @effigies in https://github.com/bids-standard/bids-validator/pull/2083
- feat: Do not warn on overridden columns if meaning is unchanged by @effigies in https://github.com/bids-standard/bids-validator/pull/2084
- [js] Update all npm dependencies (2024-08-18) by @depfu in https://github.com/bids-standard/bids-validator/pull/2094
- chore(deps): bump axios from 1.7.3 to 1.7.4 by @dependabot in https://github.com/bids-standard/bids-validator/pull/2096
- rf: Use upstream context types by @effigies in https://github.com/bids-standard/bids-validator/pull/2090
- feat: Parse gzip header by @effigies in https://github.com/bids-standard/bids-validator/pull/2092
- feat: Hack around missing round() function by @effigies in https://github.com/bids-standard/bids-validator/pull/2099
- feat(cli): Add --blacklistModalities and --ignoreWarnings flags by @effigies in https://github.com/bids-standard/bids-validator/pull/2098
- feat: Parse (OME-)TIFF by @effigies in https://github.com/bids-standard/bids-validator/pull/2093
- fix: Use logger, not console, to log errors by @effigies in https://github.com/bids-standard/bids-validator/pull/2103
- feat(cli): Add configuration file by @effigies in https://github.com/bids-standard/bids-validator/pull/2100
- Add flag for validating derivatives inside /derivatives/ by @rwblair in https://github.com/bids-standard/bids-validator/pull/2102
- feat(tsv): Warn on undefined columns by @effigies in https://github.com/bids-standard/bids-validator/pull/2104
- fix: Use @libs/xml over xml2js for tiff parsing by @nellh in https://github.com/bids-standard/bids-validator/pull/2106
- [js] Update all npm dependencies (2024-08-25) by @depfu in https://github.com/bids-standard/bids-validator/pull/2109
- chore(deps): bump micromatch from 4.0.5 to 4.0.8 by @dependabot in https://github.com/bids-standard/bids-validator/pull/2110
- fix: Import schema correctly from JSR by @effigies in https://github.com/bids-standard/bids-validator/pull/2111
Full Changelog: bids-standard/bids-validator@v1.14.8...v1.14.10
v1.14.8
What's Changed
- feat: Add
exists(..., 'file')
for file-relative paths by @effigies in https://github.com/bids-standard/bids-validator/pull/2054 - Purge Python validator by @effigies in https://github.com/bids-standard/bids-validator/pull/2062
- Bump hed-validator to v3.15.4 by @happy5214 in https://github.com/bids-standard/bids-validator/pull/2061
- ci: Include legacy validator build in deno web deployment by @nellh in https://github.com/bids-standard/bids-validator/pull/2060
Full Changelog: bids-standard/bids-validator@v1.14.7...v1.14.8
v1.14.7
What's Changed
- [js] Update all npm dependencies (2024-05-12) by @depfu in https://github.com/bids-standard/bids-validator/pull/1971
- [js] Update all npm dependencies (2024-05-19) by @depfu in https://github.com/bids-standard/bids-validator/pull/1972
- ci: Fix artifact name for schema web validator deployment by @nellh in https://github.com/bids-standard/bids-validator/pull/1970
- FIX: Expect multiple rule matches for events.json by @effigies in https://github.com/bids-standard/bids-validator/pull/1952
- feat: Add values to associations.bvals, fix misnamed variables by @effigies in https://github.com/bids-standard/bids-validator/pull/1955
- ENH: Validate phenotype filenames by @effigies in https://github.com/bids-standard/bids-validator/pull/1957
- Resolve remaining test failures for schema validator by @effigies in https://github.com/bids-standard/bids-validator/pull/1958
- feat(py): Base Python validator on schema instead of hard-coded regexes by @effigies in https://github.com/bids-standard/bids-validator/pull/1967
- chore(codespell): particpants ==> participants by @effigies in https://github.com/bids-standard/bids-validator/pull/1976
- chore(deps): bump tar and lerna by @dependabot in https://github.com/bids-standard/bids-validator/pull/1975
- feat(schema): Load subject data by @effigies in https://github.com/bids-standard/bids-validator/pull/1977
- [js] Update all npm dependencies (2024-05-26) by @depfu in https://github.com/bids-standard/bids-validator/pull/1980
- feat(schema): Add issue for missing dataset_description.json by @effigies in https://github.com/bids-standard/bids-validator/pull/1982
- chore(deps): bump bids-validator/spec from
0950f6d
to70d7750
by @dependabot in https://github.com/bids-standard/bids-validator/pull/1983 - Bump hed-validator to 3.14.0 by @happy5214 in https://github.com/bids-standard/bids-validator/pull/1986
- (deno) TSV type check overhaul. by @rwblair in https://github.com/bids-standard/bids-validator/pull/1987
- [js] Update all npm dependencies (2024-06-09) by @depfu in https://github.com/bids-standard/bids-validator/pull/1991
- fix: OSX and Windows tests by @effigies in https://github.com/bids-standard/bids-validator/pull/1989
- fix(expr): Use a sensible sorting function for sorted() by @effigies in https://github.com/bids-standard/bids-validator/pull/1990
- fix: Small cleanups from recent test fixes by @effigies in https://github.com/bids-standard/bids-validator/pull/1992
- feat(deno): Retrieve version from import.meta.url or git, when possible by @effigies in https://github.com/bids-standard/bids-validator/pull/1985
- Provide safe.directory=* for git describe to prevent git freaking out by @yarikoptic in https://github.com/bids-standard/bids-validator/pull/1996
- chore(ci): Tag deno builds with full version, truncate history by @effigies in https://github.com/bids-standard/bids-validator/pull/1993
- feat(tsv): Accept column definitions in schema entries by @effigies in https://github.com/bids-standard/bids-validator/pull/2003
- chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in https://github.com/bids-standard/bids-validator/pull/2002
- [js] Update all npm dependencies (2024-06-16) by @depfu in https://github.com/bids-standard/bids-validator/pull/2004
- Add support for the XPCT suffix in microscopy by @chourroutm in https://github.com/bids-standard/bids-validator/pull/1973
- fix(legacy): Prevent prototype pollution (global property) from crashing sidecar merges by @nellh in https://github.com/bids-standard/bids-validator/pull/2015
- fix(legacy): Combine sidecars with a method resilient to Object namespace pollution by @effigies in https://github.com/bids-standard/bids-validator/pull/2016
- Completely rewrite HED support by @happy5214 in https://github.com/bids-standard/bids-validator/pull/2014
- chore(deps-dev): bump ws from 8.13.0 to 8.17.1 by @dependabot in https://github.com/bids-standard/bids-validator/pull/2005
- chore(deps): bump docker/build-push-action from 5 to 6 by @dependabot in https://github.com/bids-standard/bids-validator/pull/2011
- [js] Update all npm dependencies (2024-07-11) by @depfu in https://github.com/bids-standard/bids-validator/pull/2009
- Improve test coverage for code added in #2014 by @happy5214 in https://github.com/bids-standard/bids-validator/pull/2018
- [js] Update all npm dependencies (2024-07-21) by @depfu in https://github.com/bids-standard/bids-validator/pull/2023
- [js] Update all npm dependencies (2024-07-28) by @depfu in https://github.com/bids-standard/bids-validator/pull/2024
- chore:
deno fmt
schema validator by @effigies in https://github.com/bids-standard/bids-validator/pull/2026 - feat(expr): Allow sorted to take a method argument, enabling numeric and lexical sorting by @effigies in https://github.com/bids-standard/bids-validator/pull/2022
- feat(json): Warn on missing RECOMMENDED metadata by @effigies in https://github.com/bids-standard/bids-validator/pull/2027
- fix(tsv): Check explicit formats for column contents when defined by @effigies in https://github.com/bids-standard/bids-validator/pull/2025
- fix(context): Find sidecars when directories share prefixes by @effigies in https://github.com/bids-standard/bids-validator/pull/2028
- fix(summary): Verify context.json is an object before looking up keys by @effigies in https://github.com/bids-standard/bids-validator/pull/2029
- fix(context): Add file size to context, fixes README_FILE_SMALL by @effigies in https://github.com/bids-standard/bids-validator/pull/2030
- Generate JSON schema's from spec schema to validate values in sidecars. by @rwblair in https://github.com/bids-standard/bids-validator/pull/2020
- fix(web): Use JSON.stringify when Deno.inspect is unavailable by @effigies in https://github.com/bids-standard/bids-validator/pull/2032
- Bump hed-validator to v3.15.2 by @happy5214 in https://github.com/bids-standard/bids-validator/pull/2034
- rf(context): Refactor inheritance principle to walk from leaf to root by @effigies in https://github.com/bids-standard/bids-validator/pull/2035
- fix(nifti): Load NIfTI headers by @effigies in https://github.com/bids-standard/bids-validator/pull/2036
- rf(json-schema): Factor JSON schema validation out of context.dataset by @effigies in https://github.com/bids-standard/bids-validator/pull/2033
- feat(eval): Distinguish JSON rules from sidecar rules by @effigies in https://github.com/bids-standard/bids-validator/pull/2031
- fix(expr): Coerce arguments to min/max to numbers by @effigies in https://github.com/bids-standard/bids-validator/pull/2038
- feat(context): Detect duplicate columns when parsing TSV files by @effigies in https://github.com/bids-standard/bids-validator/pull/2039
- Bump hed-validator to v3.15.3 by @happy5214 in https://github.com/bids-standard/bids-validator/pull/2041
- hack: Censor ".parent" fields which can lead to circular references by @effigies in https://github.com/bids-standard/bids-validator/pull/2040
- HED Validator integration into bids schema based validator. by @rwblair in https://github.com/bids-standard/bids-validator/pull/1648
- fix(expr): Escape backslashes in checks before interpolating by @effigies in https://github.com/bids-standard/bids-validator/pull/2042
- chore(deps): bump bids-validator/tests/data/bids-examples from
401f4cf
toad9db4b
by @dependabot in https://github.com/bids-standard/bids-validator/pull/2045 - chore(deps): bump bids-validator/spec from
9f2a7a8
tofdca7ec
by @dependabot in https://github.com/bids-standard/bids-validator/pull/2046 - 🚨 [security] [js] Update @aws-sdk/client-s3 3.614.0 → 3.621.0 (minor) by @depfu in https://github.com/bids-standard/bids-validator/pull/2047
- feat(tsv): Memoize TSV loading with a tiered cache, deleting after leaving a directory by @effigies in https://github.com/bids-standard/bids-validator/pull/2052
- fix(channels): Add needed fields to context.associations.channels by @effigies in https://github.com/bids-standard/bids-validator/pull/2051
- fix(bvec): Improve empty row detection, stop preemptive numeric conversion by @effigies in https://github.com/bids-standard/bids-validator/pull/2053
- Cross reference local and schema issue codes by @rwblair in https://github.com/bids-standard/bids-validator/pull/2048
- [js] Update all npm dependencies (2024-08-04) by @depfu in https://github.com/bids-standard/bids-validator/pull/2055
New Contributors
- @chourroutm made their first contribution in https://github.com/bids-standard/bids-validator/pull/1973
Full Changelog: bids-standard/bids-validator@v1.14.6...v1.14.7
v1.14.6
What's Changed
- chore: Remove schema experiment from legacy validator by @nellh in https://github.com/bids-standard/bids-validator/pull/1932
- fix(schema): Fix relative import path "ignore" not prefixed error for standalone builds by @nellh in https://github.com/bids-standard/bids-validator/pull/1936
- fix: Preserve key properties when using spread to copy BIDSFile objects in browser environments by @nellh in https://github.com/bids-standard/bids-validator/pull/1928
- FIX: Load JSON contents into context eagerly by @effigies in https://github.com/bids-standard/bids-validator/pull/1938
- have exists return false on bids-uri check if string doesn't start with 'bids:' by @rwblair in https://github.com/bids-standard/bids-validator/pull/1941
- fix: Set deno validator exit code on errors by @nellh in https://github.com/bids-standard/bids-validator/pull/1944
- Pass on multiple rules.files matches from filenameIdentify to filenameValidate. by @rwblair in https://github.com/bids-standard/bids-validator/pull/1940
- Have filenameIdentify use datasetContext to determine which filename rules to use. by @rwblair in https://github.com/bids-standard/bids-validator/pull/1939
- ci: Replace web validator with schema version and link to subdirectory build of the legacy validator by @nellh in https://github.com/bids-standard/bids-validator/pull/1929
- Fix exists for derivative paths in raw datasets. by @rwblair in https://github.com/bids-standard/bids-validator/pull/1950
- Use /usr/bin/env not /bin/env as a more portable (present on OSX) by @yarikoptic in https://github.com/bids-standard/bids-validator/pull/1960
- fix(expressions): Make FileTree.contains() return true for directories by @effigies in https://github.com/bids-standard/bids-validator/pull/1956
- FIX: Start file count at 0 by @effigies in https://github.com/bids-standard/bids-validator/pull/1951
- CI: Update submodules in the usual way by @effigies in https://github.com/bids-standard/bids-validator/pull/1965
- feat(legacy): Check for required fields in PET sidecars. by @nellh in https://github.com/bids-standard/bids-validator/pull/1964
- chore(deps): bump bids-validator/spec from
bd08602
to0950f6d
by @dependabot in https://github.com/bids-standard/bids-validator/pull/1961 - fix(legacy): Add missing top-level rule for UNIT1 sidecars by @bpinsard in https://github.com/bids-standard/bids-validator/pull/1966
- [js] Update all npm dependencies (2024-05-07) by @depfu in https://github.com/bids-standard/bids-validator/pull/1919
- [js] Update hed-validator 3.13.4 → 3.13.5 (patch) by @depfu in https://github.com/bids-standard/bids-validator/pull/1968
- chore(deps): bump ejs from 3.1.9 to 3.1.10 by @dependabot in https://github.com/bids-standard/bids-validator/pull/1962
New Contributors
- @bpinsard made their first contribution in https://github.com/bids-standard/bids-validator/pull/1966
Full Changelog: bids-standard/bids-validator@v1.14.5...v1.14.6
v1.14.5
What's Changed
- [js] Update all npm dependencies (2024-03-17) by @depfu in https://github.com/bids-standard/bids-validator/pull/1917
- chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in https://github.com/bids-standard/bids-validator/pull/1916
- Add vite web validator for the schema validator by @nellh in https://github.com/bids-standard/bids-validator/pull/1915
- chore(deps): bump bids-validator/tests/data/bids-examples from
0d60f73
to711be5b
by @dependabot in https://github.com/bids-standard/bids-validator/pull/1921 - chore(deps): bump bids-validator/spec from
5b835b0
tobd08602
by @dependabot in https://github.com/bids-standard/bids-validator/pull/1922 - FIX: Add minimum Python requirement to package metadata by @effigies in https://github.com/bids-standard/bids-validator/pull/1924
Full Changelog: bids-standard/bids-validator@v1.14.4...v1.14.5
v1.14.4
What's Changed
- Bump hed-validator dependency to v3.13.4 by @happy5214 in https://github.com/bids-standard/bids-validator/pull/1913
Full Changelog: bids-standard/bids-validator@v1.14.3...v1.14.4