Releases: DSD-DBS/py-capellambse
Releases · DSD-DBS/py-capellambse
capellambse v0.6.15
New features
- diagram_cache: Add export format to the cache index entries by @Wuestengecko (9b9fc52)
- http: Treat more response codes as "not found" by @Wuestengecko (c7170e5)
Performance improvements
- diagram: Try looking up the index when loading cached diagrams by @Wuestengecko (c47a316)
Bug fixes
- decl: Pre-resolve 'find', 'set' and 'extend' args during sync by @Wuestengecko (56804da)
- diagram_cache: Mark exports of empty models as successful by @Wuestengecko (a897a9e)
- exs: Use the correct line end sequence at EOF by @Wuestengecko (5a0a3ec)
capellambse v0.6.14
Bug fixes
- Match the type hint against subclasses when creating objects by @Wuestengecko (8558e1e)
- Defer loading the filehandler until after
loadinfo
by @Wuestengecko (0837425)
capellambse v0.6.13
New features
- diagram_cache: Exit 3 on partial export failure by @Wuestengecko (d3bf15f)
Bug fixes
- svg: Be more lenient when deserializing JSON by @Wuestengecko (ef5d987)
- diagram_cache: Ignore viewbox cropping failures and copy anyway by @Wuestengecko (c39b7fa)
- diagram_cache: Ignore XML declaration when cropping SVGs by @jamilraichouni (a9989e5)
capellambse v0.6.12
New features
- decl: Add
!html
for markupsafe.Markup by @Wuestengecko (f7b65a0)
Bug fixes
- model: Allow None as sourcefmt for
diagram.convert_format
by @Wuestengecko (e48ab65) - Remove duplicates in
PhysicalComponent.components
by @ewuerger (c34102a) - decl: Improve message on soft metadata mismatch by @Wuestengecko (2f016aa)
- loader: Don't yield link objects in
iterall_xt()
by @Wuestengecko (9c5fc13) - exs: Always expand
<semanticResources>
tags by @Wuestengecko (820d12c) - model: Fix styleclass for Parts on PA by @Wuestengecko (eb1d6e4)
Documentation changes
- Use Read the Docs for PR docs builds by @ewuerger (d889d17)
- Update link reference to context diagrams docs by @ewuerger (c47cf6d)
- readme: Use markdown by @Wuestengecko (fd85880)
- readme: Improve instructions for local dev setup by @Wuestengecko (14d3c71)
Build system changes
- Fix LSP + pre-commit dev setup and instructions by @Wuestengecko (e1cf12f)
- Migrate to uv by @Wuestengecko (a87a773)
- Use a
src/
layout by @Wuestengecko (8c1d4af)
CI/CD changes
- Run "local" pre-commit hooks serially by @Wuestengecko (6a44959)
- Use local project venv for running pre-commit hooks by @Wuestengecko (dedf3f8)
- Rewrite notebook verifier as standalone script by @Wuestengecko (1e9b287)
- Bump setup-uv to v5 by @Wuestengecko (e46bc0d)
- Run tests on Py 3.13 by @Wuestengecko (b721c44)
- Switch to
reuse-lint-file
in pre-commit by @ewuerger (b82e5fe) - Cancel old Code QA workflows on new pushes by @Wuestengecko (fb1ffb8)
- Run example notebooks with a static seed by @Wuestengecko (27e1afd)
- Build docs without waiting for the notebooks by @Wuestengecko (bdc98b1)
capellambse v0.6.11
Reverted earlier changes
- Don't remove unneeded namespace declarations by @Wuestengecko (4321041)
New features
- Add owned_features to Component by @Wuestengecko (973b582)
- Add an envvar to generate deterministic UUIDs by @Wuestengecko (3d74132)
- mm: Add Scenario realization links by @Wuestengecko (2965ebb)
Bug fixes
- pvmt: Set type on applied EnumerationPropertyValue by @Wuestengecko (19d3a57)
- pvmt: Fix access to types defined on a PVMT domain by @Wuestengecko (3da826f)
- exs: Don't convert tabs to entities outside of attributes by @Wuestengecko (7d2e416)
- svg: Support small labels by @huyenngn (ea4b85e)
- metamodel: Allow multiple FEX categories by @Wuestengecko (59602d3)
CI/CD changes
- Run remaining example notebooks on failure by @Wuestengecko (863137f)
Code refactorings
- Put some newlines in
__html__()
by @Wuestengecko (1573932)
capellambse v0.6.10
Bug fixes
- decl: Don't warn about missing metadata in non-strict mode by @Wuestengecko (fff50ae)
- Parse 'hlink://' URIs as proper URIs by @Wuestengecko (4fb52d3)
Documentation changes
- Update and rerun example notebooks by @Wuestengecko (17ad302)
- Gitignore files produced by the example notebooks by @Wuestengecko (605c916)
CI/CD changes
- Run the example notebooks during CI by @Wuestengecko (3453240)
- Move docs build job to general code QA workflow by @Wuestengecko (67fee89)
Code refactorings
- Rename basic Accessors to make their roles clearer by @Wuestengecko (fd7ca2e)
capellambse v0.6.9
New features
- metamodel: Add ExchangeItemInstance support by @Wuestengecko (de7225a)
- metamodel: Add 'related_functions' on Scenario by @ewuerger (55b51ba)
- metamodel: Add pre-/postcondition to FunctionalChain by @ewuerger (f632169)
- ci-templates: Use virtual environment by @ewuerger (6e95006)
Bug fixes
- loader: Ignore unknown file types when loading a model by @Wuestengecko (96ca4a9)
- validation: Ignore Rule-006 entirely on non-PA layers by @Wuestengecko (f60d532)
Code refactorings
- validation: Use
element.layer
instead of a custom function by @Wuestengecko (f02da28)
capellambse v0.6.8
New features
- metamodel: Add component and functional exchange categories by @Wuestengecko (bb580d1)
- validation: Add rule for Function to Component allocations by @Wuestengecko (c7689e4)
- validation: Make SystemActor and -Component distinct types by @Wuestengecko (2c0b6d4)
- decl: Implement metadata for decl YAML by @Wuestengecko (5a26637)
Bug fixes
- validation: Consider included Capabilities as involved somewhere by @Wuestengecko (c596b8b)
- Snap on first intersect by @huyenngn (a77648e)
- diagram: Move PhysicalLink and -Port styles to
__GLOBAL__
by @ewuerger (a653214)
Build system changes
- Bump requested Sphinx and nbsphinx versions by @Wuestengecko (aaf358d)
CI/CD changes
- Update docformatter hook by @Wuestengecko (e241857, da0e8d4)
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)