Releases: dandi/dandi-schema
Releases Β· dandi/dandi-schema
0.12.1
π Bug Fix
π Internal
- fix(ci): provide workdir for scripted steps to be within dandischema #357 (@yarikoptic)
- chore: refactor release action to move schemata related code into scripts #349 (@yarikoptic @pre-commit-ci[bot])
Authors: 3
- @Copilot
- @pre-commit-ci[bot]
- Yaroslav Halchenko (@yarikoptic)
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)
0.11.1
π Bug Fix
- Increase
Descriptionfield max character length #296 (@kabilar) - Remove escaping () of : in 2 identifiers regexes #290 (@yarikoptic)
- Improve (better arguments validation, avoiding repeated creation of validator objects, etc)
_validate_obj_json()inmetadata.pyand supporting funcs #278 (@candleindark) - Improve
migrate()inmetadata.py#279 (@candleindark) - Update URL for DANDI Docs #272 (@kabilar)
π Internal
- Revert version of schema to 0.6.10 since we have not yet released it #300 (@yarikoptic)
- Avoid multiple assignments of constant
ALLOWED_INPUT_SCHEMAS#280 (@candleindark)
Authors: 3
- Isaac To (@candleindark)
- Kabilar Gunalan (@kabilar)
- Yaroslav Halchenko (@yarikoptic)
0.11.0
π Enhancement
- Upgrade to datacite v4.5 serialization from inveniosoftware #261 (@yarikoptic)
- Add "version" to datacite record and bundle datacite json serializations #260 (@yarikoptic)
- Drop Python 3.8 support (remove typing_extensions from depends) #262 (@yarikoptic)
π Bug Fix
- Use
titlein place ofexamples#271 (@waxlamp @satra @pre-commit-ci[bot]) - RF: detect BIDS based on having dataset_description.json #263 (@yarikoptic)
- Add support for detection and addition of ome/ngff "standard" into assets summary #252 (@yarikoptic)
π Internal
- gh-actions: Bump codecov/codecov-action from 4 to 5 #267 (@dependabot[bot])
- [pre-commit.ci] pre-commit autoupdate (black 24.8.0 β 24.10.0; pre-commit-hooks: v4.6.0 β v5.0.0) #253 (@pre-commit-ci[bot])
π Documentation
- doc: A comment on current identification of URI and missing space into a description string #265 (@yarikoptic)
Authors: 5
- @dependabot[bot]
- @pre-commit-ci[bot]
- Roni Choudhury (@waxlamp)
- Satrajit Ghosh (@satra)
- Yaroslav Halchenko (@yarikoptic)
0.10.4
π Bug Fix
- Properly handle failed requests to retrieve the schema #251 (@danlamanna)
- ENH: adopt sanitize_value from dandi-cli and use for sanitization of identifier #175 (@yarikoptic)
- [pre-commit.ci] pre-commit autoupdate #243 (@pre-commit-ci[bot])
π© Dependency Updates
Authors: 4
- @pre-commit-ci[bot]
- Dan LaManna (@danlamanna)
- John T. Wodder II (@jwodder)
- Yaroslav Halchenko (@yarikoptic)
0.10.3
π Bug Fix
- Move pattern specification for
BaseType.identifierto the annotation for thestrtype #247 (@candleindark)
Authors: 1
- Isaac To (@candleindark)
0.10.2
π Bug Fix
- Use discriminated unions to provide more helpful error messages #245 (@mvandenburgh)
- Set the
$schemakey with the schema dialect #236 (@candleindark) - Add validator to ensure a contact person has email provided #235 (@candleindark)
π Internal
- [pre-commit.ci] pre-commit autoupdate #241 (@pre-commit-ci[bot])
- [pre-commit.ci] pre-commit autoupdate #237 (@pre-commit-ci[bot])
- [pre-commit.ci] pre-commit autoupdate #234 (@pre-commit-ci[bot])
π§ͺ Tests
- GitHub tests.yml CI: explicitly specify macos-12 and use python 3.11 to test against dandi-cli #238 (@yarikoptic)
Authors: 4
- @pre-commit-ci[bot]
- Isaac To (@candleindark)
- Mike VanDenburgh (@mvandenburgh)
- Yaroslav Halchenko (@yarikoptic)
0.10.1
π Bug Fix
- Update auto version number #233 (@satra)
- Add ResourceType enum and associate with Resource model #232 (@bendichter @pre-commit-ci[bot])
- [pre-commit.ci] pre-commit autoupdate #229 (@pre-commit-ci[bot])
Authors: 3
- @pre-commit-ci[bot]
- Ben Dichter (@bendichter)
- Satrajit Ghosh (@satra)
0.10.0
π Enhancement
π Bug Fix
- [pre-commit.ci] pre-commit autoupdate #219 (@pre-commit-ci[bot])
π Internal
- gh-actions: Bump codecov/codecov-action from 3 to 4 #222 (@dependabot[bot] @jwodder)
π§ͺ Tests
Authors: 3
- @dependabot[bot]
- @pre-commit-ci[bot]
- John T. Wodder II (@jwodder)
0.9.1
π Bug Fix
- Allow dictionary representation of
Dandisetto have extra attributes #218 (@candleindark)
π§ͺ Tests
- Remove unneeded mark to fixture #221 (@candleindark)
Authors: 1
- Isaac To (@candleindark)