Releases: DSD-DBS/py-capellambse
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)
capellambse v0.5.69
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
New features
- model: Add
Enumeration.domain_type
by @Wuestengecko (582ff0f)
capellambse v0.5.68
Breaking changes incoming!
This is the last planned release of the v0.5.x series. v0.6 will clean up with the currently deprecated features and attributes.
If your code currently raises any DeprecationWarnings, it needs to be updated before you can upgrade to capellambse v0.6.
Full changelog
New features
- model: Present
by_nodes
indir(some_ElementList)
by @Wuestengecko (7fed2c2) - model: Allow using an alternate form in RoleTagAccessor by @Wuestengecko (eb87791)
- model: Allow specifying list extra args directly by @Wuestengecko (9564b14)
- model: Add a non-deprecated "Alias" accessor by @Wuestengecko (6f372c3)
- Capella 7.0 support by @Wuestengecko (e54ac8c)
Performance improvements
- aird: Use a hashmap for style lookups in iter_visible by @Wuestengecko (4e1504b)
Bug fixes
- svg: Fall back to ErrorSymbol if no symbol found by @Wuestengecko (4b36ac2)
- model: Set the UUID first when creating elements by @Wuestengecko (644144a)
- model: Avoid showing full object values in
_short_html_
by @Wuestengecko (e15ac3c) - model: Deduplicate CEX exchange items by @ewuerger (c00c7d4)
- model: Remove no longer needed
__dir__
overrides by @Wuestengecko (59ff85e) - model: Allow filtering lists '.by_' list attributes by @Wuestengecko (24f8cee)
CI/CD changes
- Push the release-X branch from the build job by @Wuestengecko (519b9d3)
capellambse v0.5.67
New features
- model: Allow mapkey without mapvalue by @Wuestengecko (81eeb47)
- loader: Add the actual
entrypoint
to ModelInfo by @Wuestengecko (216ca02) - validation: Enable validation of an entire layer by @Wuestengecko (4f68718)
- model: Add a way back to an element's layer by @Wuestengecko (e26fa67)
Performance improvements
- model: Cache rendered object icons by @Wuestengecko (9bd51d5)
Bug fixes
- model: Hide deprecated attributes from
dir()
by @Wuestengecko (983ef59) - validation: Only look at non-None activity owners by @Wuestengecko (509984d)
- git: Don't create empty commits by @Wuestengecko (73b3973)
- model: Leave a margin around terminal icons by @Wuestengecko (227aaf5)
CI/CD changes
- Update commitlint hook by @Wuestengecko (9091530)
- Update workflows by @Wuestengecko (0f40cd7)
- Auto-push the 'release-X' branch by @Wuestengecko (fa5ba70)
Code refactorings
- git: Check out the work tree by @Wuestengecko (3265253)
capellambse v0.5.66
Notable changes
-
Development versions of capellambse will no longer be published to
PyPI. If you want to work with the current development state, install
capellambse directly from the git repository instead of usingpip install --pre
:pip install git+https://github.com/DSD-DBS/py-capellambse.git
Full changelog
Reverted earlier changes
New features
- glart: Allow packing project, branch, job and subdir into path by @Wuestengecko (d90205c, 4231390)
- model: Add diagram cache metadata to Model.info by @Wuestengecko (aa1891e)
- diagram_cache: Allow specifying CLI options via envvars by @Wuestengecko (27b92e3)
- decl: Accept !find in sync:*:find by @Wuestengecko (7677a50)
Bug fixes
- model: Do format conversion when loading from cache by @Wuestengecko (7e4d2e4)
- Map dotted ElementList.map() args separately by @Wuestengecko (aafa28e)
- model: Fix
Interface.exchange_item_allocations
by @ewuerger (66bb119) - validation: Use correct field names in Result repr by @Wuestengecko (6cd09e6)
- exs: Write xsi:type first by @Wuestengecko (3d9bafb)
- Solve most deprecation warnings by @Wuestengecko (72ddd75)
- Use Traversable from new location on Py 3.11+ by @Wuestengecko (eaa5858)
Documentation changes
- readme: Add capella-ros-tools as related project by @Wuestengecko (75a2628)
Build system changes
- scripts: Add a script to generate changelogs from Git by @Wuestengecko (662dcee)
- Ignore Sphinx errors on master builds by @Wuestengecko (af3b99c)
CI/CD changes
- Switch to PyPI trusted publishing by @Wuestengecko (c1489e4)
Unit test changes
- Remove tests that assert hashability by @Wuestengecko (5ffaf0e)
Code refactorings
- glart: Use requests' Link header parser by @Wuestengecko (0a9d1a4)
- aird: Remove wrong type hint by @Wuestengecko (bcc5936)
- Use PEP-702
@deprecated
to mark deprecations by @Wuestengecko (0bea8a1)
capellambse v0.5.65
Notable changes
-
This release introduces model validation using a custom rule set.
Note that this feature is distinct from the "Validate Model" option in the Capella GUI. Validation in capellambse uses its own custom set of rules.
In this initial feature release, the rule set is hard coded, and only contains a handful of rules that have proven useful in internal tests. Future releases may extend this functionality with more rules, and may add the ability to load and apply a custom rule set.
Full changelog
New features
- Implement modelling rules and validation by @freshavocado7 (add991f)
Bug fixes
- Prefer local over remote Docker images by @MoritzWeber0 (0237ee1)
Build system changes
- Maintain dependency versions by @Wuestengecko (610da1b)
capellambse v0.5.64
Notable changes
- This release introduces a new method on model objects (specifically,
GenericElement
subclasses), which exposes the icon that would be used when drawing this element on a diagram. Refer to its documentation for more details: https://dsd-dbs.github.io/py-capellambse/code/capellambse.model.html#capellambse.model.GenericElement._get_icon
Full changelog
New features
- model: Show object icon HTML and text repr by @Wuestengecko (1bc4f9e)
- Add functions to retrieve object icons by @Wuestengecko (5f22699, 3b92f5c)
- model: Add function to convert between diagram formats by @Wuestengecko (84f3231)
- model: Evaluate REPR_DRAW on any first read by @Wuestengecko (da5e010)
Bug fixes
- model: Don't show an empty box if there's no icon by @Wuestengecko (f523bc9)
- Add box styling for Physical Actors by @huyenngn (281b1af)
- Move some warnings to "DEBUG" level by @Wuestengecko (a020c60)
Unit test changes
- Fix name of test module for
model.diagram
by @Wuestengecko (6604562)
Code refactorings
- Simplify PhysicalComponent styleclass generator by @Wuestengecko (49491f1)
- svg: Fully decouple markers and symbols by @Wuestengecko (0f4e504)