v1.6.0
This release is synced with linkml-model-1.6.0
https://github.com/linkml/linkml-model/releases/tag/v1.6.0
Metamodel changes
- Adding instantiates metaslot by @cmungall in linkml/linkml-model#163
- Adding AnyValue to the metamodel by @cmungall in linkml/linkml-model#164
- changing the range of extensions (annotation values) from string to AnyValue by @cmungall in linkml/linkml-model#162
- Added jsonpointer path types by @cmungall in linkml/linkml-model#159
- Added missing "not" to partial_match slot description by @pkalita-lbl in linkml/linkml-model#166
What's Changed
- fix(docgen): emphasizing multiline descriptions by @Silvanoc in #1351
- jsonschemavalidator should cache previous results of jsonschema generation by @cmungall in #1363
- Fix issue #1365 Type definitions not properly sorted in gen-python by @kervel in #1366
- logging in Excel generator by @sujaypatil96 in #1344
- Show min, max and pattern on slot pages by @sujaypatil96 in #1374
- notebook for Type Designators by @cmungall in #1378
- Add documentation about slot cardinality syntax by @sujaypatil96 in #1388
- howto docs for NDArray by @cmungall in #1376
- Misc. improvements to docgen by @sujaypatil96 in #1398
- slots modifying classes table by @amc-corey-cox in #1211
- Fix pydanticgen/pythongen to prevent code injection attacks by @ialarmedalien in #1402
- Configure use_enum_values to True on pydanticgen BaseModel by @kevinschaper in #1288
- Un-break the build (pydanticgen template fix) by @kevinschaper in #1414
- Ensure
rules
are translated at class level and optionally at top level by @pkalita-lbl in #1415 - Support
has_member
andall_members
in JSON Schema generator by @pkalita-lbl in #1411 - Add schema validation to
linkml-lint
command by @pkalita-lbl in #1410 - pydanticgen: Include keys when checking for inlining by @cmungall in #1416
- jsonschemavalidator caching keyed on schema and entry point by @sujaypatil96 in #1420
- A first stab at a Golang generator by @jeff-cohere in #1418
- linkml-run-examples: validate from dict then try to instantiate by @cmungall in #1428
- Address linkml-convert issue in tutorial by @nicholsn in #1425
- Make Pydantic-generated required field have Field() not Field(None) by @rly in #1431
- regenerating test artefacts by @cmungall in #1437
- fixing spurious warnings by @cmungall in #1436
- Fix multivalued strings in typescriptgen by @kevinschaper in #1427
- Issue #1438 - required slots by @glass-ships in #1439
- Clean up print statements by @kevinschaper in #1442
- Fix erdiagramgen issue where mermaid output contains enum variable name by @nicholsn in #1433
- Adding compile_module to pydantic by @cmungall in #1377
- Update examples.ipynb by @andrawaag in #1443
- python 3.7 compatibility for pydanticgen by @kevinschaper in #1445
- Some workflow steps/jobs cannot run in forks by @Silvanoc in #1450
- add enum support to gen-typescript, fix it in gen-pydantic by @glass-ships in #1455
- Improve handling of range unions in jsonschemagen by @pkalita-lbl in #1461
- pydanticgen any_of conflict with default range by @kevinschaper in #1460
- Make hierarchical indented rendering of class table default by @sujaypatil96 in #1458
- Correct gen-doc command by @AlasdairGray in #1464
- Fix owlgen bug where JsonObjs were being ommitted, 1463. by @cmungall in #1466
- moving some dependencies to dev dependencies. Fixes 1467 by @cmungall in #1468
- fix #1472 by @nlharris in #1476
- Fix LinkML types appearing in generated JSON Schema by @pkalita-lbl in #1475
- Fix conversion to JSON-LD by @Silvanoc in #1482
- Delete
[
character that was truncating hyperlink text (fixes #1473) by @eecavanna in #1477 - Add option to assert equivalentClass between a class and its class_uri by @deepakunni3 in #1484
- Various minor tune ups while going through the docs by @yarikoptic in #1491
- Codespell: config, workflog + some typos fixed by @yarikoptic in #1490
- Adding a how-to for combining LinkML and OpenAI 1499 by @cmungall in #1500
- Iterate over all errors found in JsonSchemaDataValidator by @pkalita-lbl in #1502
- More of codespell inspired fixes for some manually selected words by @yarikoptic in #1498
- Fix JsonSchemaDataValidator interaction with example runner by @pkalita-lbl in #1504
- Validation CLI improvements by @pkalita-lbl in #1510
- Add slot definitions for Tutorial 7 by @nicholsn in #1518
- Fix missing simple data types by @anjastrunk in #1523
- Include code quality checks in main workflow by @pkalita-lbl in #1520
- Fix shaclgen formatting by @pkalita-lbl in #1529
- update markdown generator documentation by @sujaypatil96 in #1528
- Documentation updates by @cmungall in #1527
- markdown documentation generation docs rst fixes by @sujaypatil96 in #1530
- Add pre-commit config by @pkalita-lbl in #1537
- Fix broken links in docs by @rly in #1539
- allow both UML class and ER diagrams in docgen by @sujaypatil96 in #1541
- feat(validators): add option include descendants by @Silvanoc in #1543
- New cross-generator compliance test suite. by @cmungall in #1551
- Adding FAQ for JSON-LD by @cmungall in #1558
- fix unique_keys example by @saerdnaer in #1562
- Port tests/test_issues directory to pytest framework by @pkalita-lbl in #1563
- Generate permissible JSON schema for empty enum by @lkuchenb in #1559
- Add optimizations to reduce compliance test run time by @pkalita-lbl in #1566
- Fix issues identified by Ruff v0.0.284 by @pkalita-lbl in #1576
- Add option to generate Pydantic v2 by @glass-ships in #1575
- Update jinja template for subset documentation by @sujaypatil96 in #1564
- Pluggable validation module by @pkalita-lbl in #1517
- Update snapshots with changes from latest metamodel by @pkalita-lbl in #1587
- Convert tests/test_generators to pytest by @pkalita-lbl in #1586
- feat: add support for plantuml generated diagrams by @Silvanoc in #1509
- convert plantUML generator tests to
pytest
by @sujaypatil96 in #1591 - fix: check imported prefixes for default_prefix by @noelmcloughlin in #1505
- Update sqlalchemy.rst fix link to sqla site by @cmungall in #1599
- jsonschemagen includes descendants for range by default for type-designated classes. by @cmungall in #1613
- Adding presence_enum to jsonschemagen by @cmungall in #1616
- Make closed state configurable by @anjastrunk in #1593
- Add a schema transformer to make logical constraint models. by @cmungall in #1572
- Modified tutorial to make age explicitly a string in part1. by @cmungall in #1615
- Fixes #1162 by @cmungall in #1624
- Propagate pattern from type declarations fixes #1371 by @cmungall in #1623
- Fix some typos by @yarikoptic in #1631
- Add codecov config making coverage reports informational only by @pkalita-lbl in #1635
- fixing some small doc typos by @RichardBruskiewich in #1637
- allow polymorphism for dataclasses using type designators by @cmungall in #1617
- owlgen refactor v2 by @cmungall in #1646
- 1.6.0 release candidate by @cmungall in #1649
New Contributors
- @Silvanoc made their first contribution in #1351
- @jeff-cohere made their first contribution in #1418
- @nicholsn made their first contribution in #1425
- @rly made their first contribution in #1431
- @glass-ships made their first contribution in #1439
- @andrawaag made their first contribution in #1443
- @AlasdairGray made their first contribution in #1464
- @eecavanna made their first contribution in #1477
- @yarikoptic made their first contribution in #1491
- @anjastrunk made their first contribution in #1523
- @saerdnaer made their first contribution in #1562
- @lkuchenb made their first contribution in #1559
Full Changelog: v1.5.0...v1.6.0