Releases: DSD-DBS/py-capellambse
Releases · DSD-DBS/py-capellambse
capellambse v0.6.7
New features
- metamodel: Add incoming and outgoing StateTransitions to State by @chgio (cae599b)
- known_models: Add DSD variant of the IFE demo model by @Wuestengecko (085c87b)
- model: Add 'sid' to ModelElement by @Wuestengecko (b087134)
- model: Add 'visible_on_diagrams' shortcut property by @Wuestengecko (982da98)
- model: Add
Diagram.semantic_nodes
by @Wuestengecko (764bbc1) - validation: Show Capability as "SystemCapability" by @Wuestengecko (c1ad83c)
Bug fixes
- loader: Make iteration order of
iterall_xt
stable by @Wuestengecko (0a808ae) - metamodel: Add missing @xtype_handler to LiteralBooleanValue by @Wuestengecko (a93910f)
- decl: Always honor type hints in
!find
by @Wuestengecko (67b5190) - validation: Fix type hints for
@rule
decorator by @Wuestengecko (53b19a2) - model: Improve handling of models without OA by @Wuestengecko (dad2ba1)
CI/CD changes
- Switch back to upstream's REUSE tool version by @Wuestengecko (d854292)
- Update complexity badge GH action by @Wuestengecko (a309b5c)
New Contributors
capellambse v0.6.6
New features
- diagram: Implement two-point oblique vector snapping by @Wuestengecko (e72b400)
- model: Add required and provided interfaces to ComponentPort by @Wuestengecko (81b56cf)
Bug fixes
- aird: Fix snapping of oblique edges by @huyenngn (7baf80e)
- diagram: Fix oblique snapping with straight edges by @huyenngn (90e2b8d)
- diagram: Add icons and multiplicity to class diagrams by @huyenngn (4bdba8b)
- svg: Don't draw port labels twice by @huyenngn (93f09ce)
- model: Always go by 'xsi:type' for ParentAccessor by @Wuestengecko (fbcd213)
- git: Always use worktree-local git hooks for remote repos by @Wuestengecko (6b9070c)
capellambse v0.5.72
Bug fixes
- model: Handle ControlNodes without
kind
in_get_icon()
by @Wuestengecko (01b05cb) - model: Add missing @xtype_handler to LiteralBooleanValue by @Wuestengecko (ca344c0)
capellambse v0.6.5
New features
- model: Make Accessor typevars covariant by @Wuestengecko (0719f25)
Bug fixes
- model: Use full converter chains in
Diagram._repr_mimebundle_
by @Wuestengecko (619e17b) - model: Initialize
_last_render_params
in Diagram.from_model by @Wuestengecko (c612564)
Code refactorings
- model: Rename GenericElement to ModelElement by @Wuestengecko (3dce2db)
capellambse v0.6.4
Bug fixes
- model: Follow out of fragments during
search(below=...)
by @Wuestengecko (3c2aa88) - model: Follow into fragments in RoleTagAccessor by @Wuestengecko (4f66326)
- Fix positioning of "always top" labels by @huyenngn (d38b466)
capellambse v0.6.3
Bug fixes
- metamodel: Fix annotation for AbstractRequirementsAttribute.value by @Wuestengecko (bcd71dd)
- model: Strictly check RoleTagAccessor's classes by @Wuestengecko (36d7cbc)
- model: Disallow creating objects through DeepProxyAccessor by @Wuestengecko (46dece4)
- Improve rendering for xAB diagrams by @huyenngn (bfcf6be)
Documentation changes
- Fix intersphinx inventory links by @Wuestengecko (b746978)
- Fix broken link to build_xtype by @Wuestengecko (a6dd8c6)
Build system changes
- Declare compatibility with Python 3.13 by @Wuestengecko (c927488)
capellambse v0.6.2
Bug fixes
- decl: Don't constrain
!new_object
type hints any more by @Wuestengecko (cb8c62d) - git: More strongly type the HandlerInfo by @Wuestengecko (ba1b501)
Documentation changes
- Add migration info for ReqIF extension by @Wuestengecko (7f38d82)
capellambse v0.6.1
Bug fixes
- model: Search the root Project in all primary fragments by @Wuestengecko (6d1122e)
capellambse v0.6.0
Breaking changes
- Clean out deprecated features, aliases and attributes
- Reorganize the model and metamodel implementation
- Change how the "model.info" is presented
If you were using capellambse v0.5.x, please check out the migration guide at:
https://dsd-dbs.github.io/py-capellambse/start/migrating-0.6.html
Full changelog
New features
- model: Add
Enumeration.domain_type
by @Wuestengecko (04fdea9) - pvmt: Rework the PVMT extension by @Wuestengecko (4ca7004)
Bug fixes
- model: Remove bad attributes from EnumerationLiteral and -Reference by @Wuestengecko (4ea9edd)
- Remove unneeded type-checking imports by @Wuestengecko (6f49b94)
Documentation changes
- Add migration guide for v0.6 by @Wuestengecko (097c1df)
- Fix broken Github icon in footer by @Wuestengecko (25da6df)
- readme: Add capella-polarion to Related Projects by @Wuestengecko (931262c)
- Fix documentation build errors by @Wuestengecko (cfd045a)
Build system changes
- Make "breaking changes" their own section in changelogs by @Wuestengecko (2334d16)
CI/CD changes
- Switch to official mypy pre-commit hook by @Wuestengecko (38e6885)
- Enable black on Jupyter notebooks by @Wuestengecko (cd56911)
Code refactorings
- metrics: Use metamodel classes instead of strings by @Wuestengecko (21e748d)
- Disallow non-None 'arch' in
@xtype_handler
by @Wuestengecko (7735b54) - Reorganize the model and metamodel implementation by @Wuestengecko (e35a605)
- Change how "model info" is presented by @Wuestengecko (f8ff6b4)
capellambse v0.5.70
Breaking changes incoming!
capellambse will soon be updated to the v0.6 series, which will clean up with the currently deprecated features and attributes. A migration guide will be made available with v0.6.0.
Full changelog
Bug fixes
- model: Remove bad attributes from EnumerationLiteral and -Reference by @Wuestengecko (264b3b7)