Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[js] Update hed-validator 3.12.0 → 3.13.0 (minor) #1867

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Dec 18, 2023

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ hed-validator (3.12.0 → 3.13.0) · Repo

Release Notes

3.13.0

Version 3.13.0 of the HED JavaScript validator introduces support for validating curly braces in sidecar data, as described in the HED specification.

Several aspects of the code layout were reconfigured:

  • The BIDS validation and type modules have been refactored into folders based on file format.
  • BidsData and its unused fields have been deleted.
  • The string parsing code folder has been moved to the top level.
  • The data underlying the BIDS tests has been moved to a separate data module.

Other smaller changes include:

  • Bounds are no longer included in error messages.
  • Sidecar keys and TSV line numbers are included in some error messages where appropriate.
  • Internal errors during BIDS data validation now produce an error instead of a warning.
  • The BidsTsvFile constructor (and its subclasses) now accept an unparsed string as the TSV file data, and this is now the preferred API.
  • ParsedHedString and the subclasses of ParsedHedSubstring can now be pretty-printed using the format method.

Improvements were also made to the documentation, including an initial working version of an online documentation.

What's Changed

New Contributors

Full Changelog: v3.12.0...v3.13.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 69 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@effigies
Copy link
Collaborator

@happy5214 looks like there are some compatibility issues

@happy5214
Copy link
Collaborator

@happy5214 looks like there are some compatibility issues

Yes. BidsTsvFile.parsedTsv now uses a Map (like the bids-validator Deno parser) instead of the object format inherited from the current bids-validator parser. The field was not intended to be part of the public API, despite it being a public field (it's really package-private, and I usually only mark class-private members as such), so bids-validator should really have never relied on it being stable. I created a new method on BidsFile and subclasses to detect HED data, to be released in a new 3.13.1 release (tagged but not on npm at this moment). This method API should remain stable.

@happy5214
Copy link
Collaborator

This PR should be replaced with #1869, which updates the dependency to 3.13.1 and resolves the compatibility issue.

@sappelhoff sappelhoff closed this Dec 21, 2023
@depfu depfu bot deleted the depfu/update/npm/hed-validator-3.13.0 branch December 21, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hed-validator version 3.13.0
3 participants