Releases: DSD-DBS/py-capellambse
Releases · DSD-DBS/py-capellambse
capellambse v0.5.9
New features
- diagram: Add
get_styleclass
function by @ewuerger (0450bcd) - model: Add
ControlNode
tofa
crosslayer by @ewuerger (f19f016) - model: Add
PortAllocation
and implementTraceableElement
by @ewuerger (4578c0c) - model: Add
members
attribute toinformation.Association
by @ewuerger (6440041) - repl: Accept a JSON string as model argument by @Wuestengecko (990069f)
Bug fixes
- filehandler: Simplify PathLike handling in split_protocol by @Wuestengecko (ba3d174)
- git: Don't silence errors during worktree creation by @Wuestengecko (b2714b5)
Code refactorings
capellambse v0.5.8
Bug fixes
- model: Solved bug in ComponentExchange.exchange_items by @juanitocalero (530e377)
capellambse v0.5.7
New features
- diagram: Publish
StyleOverrides
type by @ewuerger (a6bd4cd) - model: Enable writing on more model elements by @Wuestengecko (9484d2f)
- model: Enforce uniqueness on lists of links by @Wuestengecko (5bff91a)
- model: Implement the special logic for
PhysicalLink.ends
by @Wuestengecko (4967ace)
Bug fixes
- model: Add missing
PhysicalPort.exchanges
by @ewuerger (18571b3) - model: Fix class-level access to DeprecatedAccessor by @Wuestengecko (cd2bba6)
Unit test changes
Code refactorings
- model: Untangle calls between Accessor and coupled ElementList by @Wuestengecko (5a755f0)
- Fix bad type error about GenericElement.diagrams by @Wuestengecko (b684493)
- Remove legacy cache directory migration by @Wuestengecko (aa4cff3)
- Restructure diagram related modules by @Wuestengecko (d0accbf)
- Restructure filehandler subpackage by @Wuestengecko (5adf61f)
capellambse v0.5.6
New features
- model: Export GenericElement and ElementList on capellambse.model by @Wuestengecko (fa25f53)
- model: Implement Scenario and related classes by @Wuestengecko (0f914f0)
- model: Make
elemclass
optional inElementList
by @Wuestengecko (03d8a5f) - reqif: Recognize
datetime
as alias forDateValueAttribute
by @Wuestengecko (ddd4ef7) - Add
Association
s to information crosslayer by @ewuerger (cbe3b27) - Add
kind
attribute to class properties by @ewuerger (b395ab8)
Bug fixes
- model: Don't invent names for unnamed elements by @Wuestengecko (b2e09f3)
- model: Remove legacy
__str__
from ElementList by @Wuestengecko (02c7de1) - reqif: Fix incorrect format for DateValueAttribute by @Wuestengecko (4a61d0d)
Documentation changes
- Add LXML to intersphinx mapping by @ewuerger (53000f8)
- Add
summary
demo for the association by @ewuerger (1ad672b) - Document the "low-level" model API by @Wuestengecko (5cd7987)
- Update
Data Values
intro notebook by @ewuerger (45305cb)
Code refactorings
- loader: Deprecate
find_by_xsi_type
in favor ofiterall_xt
by @Wuestengecko (57a6bef) - model: Improve
Association
property definitions by @Wuestengecko (ead9bee)
capellambse v0.5.5
New features
- loader: Allow ignoring CorruptModelError from duplicate UUIDs contributed by @Wuestengecko (f45ac44)
- model: Log cache misses when rendering diagrams contributed by @Wuestengecko (e04f70b)
Bug fixes
- reqif: Fix repr of relations contributed by @Wuestengecko (0e22a12)
Build system changes
- Officially support Python 3.11 contributed by @Wuestengecko (d332f39)
CI/CD changes
- Disable the "refactorings" checker in GH Actions contributed by @Wuestengecko (e3a4721)
- Fix all pylint warnings contributed by @ewuerger (6f6dcc3)
- Warn about unnecessary
type:ignore
comments contributed by @Wuestengecko (360b120)
Code refactorings
v0.5.4
New features
- model: Make AttrProxyAccessor writable contributed by @Wuestengecko (409e63b)
- repl: Add more convenience imports and functions contributed by @Wuestengecko (e8426f4)
- Add
entries
andexits
attribute tocapellacommon.State
s contributed by @ewuerger (df3e67d) - Add
realization
attributes toClass
es contributed by @ewuerger (2ce17c8)
Bug fixes
- loader: Fix DeprecationWarning when looking for file handlers contributed by @Wuestengecko (7f9746a)
- model: Fix
del x[-1]
on coupled ElementLists contributed by @Wuestengecko (54c90c2) - model: Fix display of warnings contributed by @Wuestengecko (7b7dad9)
- Fill in tag for
LinkAccessor
s contributed by @ewuerger (4ad7060) - Fix definition of
GenericElement.parent
contributed by @Wuestengecko (a58970b)
Documentation changes
- model: Fix / update docstrings for Accessors contributed by @Wuestengecko (b0590cd)
- Extend documentation of
extend
contributed by @ewuerger (a54956e) - Update example notebooks contributed by @ewuerger (600cef8)
CI/CD changes
- Require Sphinx v5+ contributed by @Wuestengecko (b419bfa)
Code refactorings
- aird: Demote "No default style" warnings to DEBUG level contributed by @Wuestengecko (f77d065)
- model: Extract deprecated-alias logic to an Accessor contributed by @Wuestengecko (d4a8663)
- Rename
create
operation toextend
contributed by @ewuerger (617900d)
v0.5.3
v0.5.2
Bug fixes
- model: Add back missing Component.functions on LA/PA (9dcee13)
Full Changelog: v0.5.1...v0.5.2
v0.5.1
API changes
Improvements
- Documentation improvements by @Wuestengecko in #160
- Improve docs by @ewuerger in #161
- Disallow model loading from capella files without valid entrypoint by @ewuerger in #164
Bug fixes
- Fix class diagrams ([CDB]) by @ewuerger in #163
- Rename the
exchanges
attribute torelated_exchanges
on OperationalActivity by @ewuerger in #162 - Fix crash when a diagram element has no
<semanticElements>
by @Wuestengecko in #166
Full Changelog: v0.5.0...v0.5.1
v0.5.0
Breaking API changes
- The
exchanges
attribute on Components and Functions has been renamed torelated_exchanges
. Theexchanges
attribute now provides a (modifiable) list of owned exchanges. This is consistent with other, similar parts of the API.
Noteworthy Changes
- YAML-based declarative modelling by @Wuestengecko in #145
- Demo for context diagrams extension (on-the-fly diagram generation) by @vik378 in #151
- Capella 6.0 support by @ewuerger in #155
Bug Fixes
- Suite of fixes to the
MelodyModel
API by @Wuestengecko in #149 - Fix launch.json by @ewuerger in #156
Other minor changes
- Add a note for save and update_cache dependance by @ewuerger in #157
- Update docs for
diagram_cache=
arg ofMelodyModel
by @Wuestengecko in #158
Full Changelog: v0.4.19...v0.5.0