0.12.0
Release Notes
Vendor-Configurable Metadata Models (#294)
migrate() and validate() are not available at dandischema level. To use them, one must do from dandischema.metadata import migrate, validate instead of from dandischema import migrate, validate.
Provide mechanism to reset instance configuration by function arguments, not env vars (#306)
migrate() and validate() are not available at dandischema level. To use them, one must do from dandischema.metadata import migrate, validate instead of from dandischema import migrate, validate.
🚀 Enhancement
- Release new schema 0.7.0 for addition of the releaseNotes #344 (@yarikoptic)
- Vendor-Configurable Metadata Models #294 (@yarikoptic @candleindark @pre-commit-ci[bot])
- Make instance URL part of the schema instance config #328 (@candleindark)
- Make publisher info vendor specific #323 (@yarikoptic @candleindark)
- Provide environment variable aliases for setting instance config #322 (@candleindark)
🐛 Bug Fix
- Serialize anys values in
DandiBaseModel#341 (@candleindark) - add releaseNotes property to published dandiset #185 (@satra @yarikoptic @bendichter @pre-commit-ci[bot])
- Workaround to allow
dandischema.conf.Configto be initialized with field names #336 (@candleindark) - Handle
instance_identifierin instance config beingNonein DataCite metadata generation #326 (@candleindark @yarikoptic) - Relax various patterns defined in
dandischema.modelswhen DANDI Schema is not set to a vendor #317 (@candleindark) - Allow supported licenses to be added through instance config #312 (@candleindark @yarikoptic @pre-commit-ci[bot])
- Correct the construction of the
rightsListin Datacite metadata #313 (@candleindark) - Sort allowed schema versions using packaging.version when defining #301 (@yarikoptic @pre-commit-ci[bot])
- Provide mechanism to reset instance configuration by function arguments, not env vars #306 (@candleindark)
🏠 Internal
- Upgrade version of intuit/auto to use for releases to current 11.3.6, add use of "released" plugin, configure release action to act on dispatch event #346 (@yarikoptic)
- gh-actions: Bump actions/checkout from 4 to 5 #321 (@dependabot[bot])
- Fix typos in test name and comment #339 (@candleindark)
- Remove unneeded import of
requestsindandischema.datacite#314 (@candleindark) - gh-actions: Bump actions/setup-python from 5 to 6 #327 (@dependabot[bot])
- dandi-archive switched to use uv #324 (@yarikoptic @jjnesbitt)
- Temporarily disable static type checking partially for two lines involving validators from the
jsonschemapackage #315 (@candleindark)
📝 Documentation
- Add information to customize metadata models with vendor information in README.md #330 (@candleindark)
- Improve
README.md#329 (@candleindark @yarikoptic)
🧪 Tests
- Remove use of
unittest.mock.ANYin tests to pass the stricter type checking imposed by mypy 1.18.1 #335 (@candleindark) - Replace GH runner image
windows-2019withwindows-latest#305 (@candleindark)
Authors: 7
- @dependabot[bot]
- @pre-commit-ci[bot]
- Ben Dichter (@bendichter)
- Isaac To (@candleindark)
- Jacob Nesbitt (@jjnesbitt)
- Satrajit Ghosh (@satra)
- Yaroslav Halchenko (@yarikoptic)