Capellambse

Latest version: v0.5.65

Safety actively analyzes 638730 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 20

0.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* (add991f94949f9b4133be487a09bb694d709dde1)

Bug fixes

- Prefer local over remote Docker images *by MoritzWeber0* (0237ee19e94b61ab23d2dbfe91df792bf3d5faae)

Build system changes

- Maintain dependency versions *by Wuestengecko* (610da1b36970d697b4876b146049bbf0ae3e1c18)

0.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* (1bc4f9e826fac796ef4d65710a1fe757f4e19fef)
- Add functions to retrieve object icons *by Wuestengecko* (5f22699bc98cf16b021016bba34a0e50110ac20a, 3b92f5cffedb820d4bdec56edf02d8bb4329d09f)
- **model**: Add function to convert between diagram formats *by Wuestengecko* (84f3231786982593e5fe6565fcf0badca9ec4b00)
- **model**: Evaluate REPR_DRAW on any first read *by Wuestengecko* (da5e01044b41336f44a25b51543b95bf7554eb6b)

Bug fixes

- **model**: Don't show an empty box if there's no icon *by Wuestengecko* (f523bc98371c870c252f69eda2a32d7fba6d48e6)
- Add box styling for Physical Actors *by huyenngn* (281b1af4cb578d4e0cd9c1ae649e5b9b86116fb7)
- Move some warnings to "DEBUG" level *by Wuestengecko* (a020c60f98c2c869c9517e68749e6a9caaff0e8a)

Unit test changes

- Fix name of test module for `model.diagram` *by Wuestengecko* (6604562f32ba8fd6b89c89b077a27128f7096444)

Code refactorings

- Simplify PhysicalComponent styleclass generator *by Wuestengecko* (49491f1fb2191014a44355244740da8b3ba94402)
- **svg**: Fully decouple markers and symbols *by Wuestengecko* (0f4e504b7f526334a55e58599553669ffdac6211)

0.5.63

New features

- **model**: Optionally enforce XHTML *by Wuestengecko* (0915cc7b02ff09fd8b5374abb2464829b1e1fc56)

Documentation changes

- Document supported environment variables *by Wuestengecko* (050033582731172a962785c894f2d777c63f6a16)

0.5.62

New features

- **diagram**: Add styleclass handler for `Entity` *by ewuerger* (61469eb304c9339e70f86191fbe18be769204ac5)

Bug fixes

- Add tag for allocated_functional_exchanges accessor *by huyenngn* (954b7ec8f2a303a970553bf0c77de4cfbe2243ce)
- **loader**: Reuse old namespaces for unknown plugins *by Wuestengecko* (054a2c0803c329b0f035576a81a02c05c8b5f23a)
- **namespaces**: Tie 're' namespace to core viewpoint *by Wuestengecko* (df4a03a12c041b8ad8c3b1e1718a3b336afd71ba)
- **exs**: Ensure namespaces are sorted properly *by Wuestengecko* (dd4611383755b5a3ab4e9f9d0595e1e3796fcc36)

Code refactorings

- **diagram**: Simplify some styleclass mappers *by Wuestengecko* (4819e23ff24b46b25ef890d4be84806b310f4942)

0.5.61

Bug fixes

- **model**: Round namespace versions *by Wuestengecko* (d87e4c7f1cab48f3ac10d92d131f746676ace13a)
- **model**: Make less assumptions about IDs *by Wuestengecko* (fd58299faaf4f957f9c5479915c7b28776e9b1c7)
- **model**: Improve typing around ElementList *by Wuestengecko* (c90d4036a7a7333f2141750e4e4ea35369b3425c)

Code refactorings

- Use QName instead of manually parsing tags *by Wuestengecko* (aaf8241e4368a126614abaa34bd67de574de8ba5)

0.5.60

New features

- Crop SVG diagrams to content *by jamilraichouni* (9f35025c379d69c8adb037f94d27c22d7f02434e)
(*Experimental*, has to be enabled via `CAPELLAMBSE_EXPERIMENTAL_CROP_SVG_DIAGRAM_CACHE_VIEWPORT=1`)

Bug fixes

- **reqif**: Ignore one-sided relations *by Wuestengecko* (bfc3f8eaedb830e9086519848a9f56c23544cc8d)
- **model**: Deduplicate `ElementList.map()` output *by Wuestengecko* (99a82dce05d6be1cd17034d00e66857c5b9b16e0)
- Fix duplicate elements issue *by huyenngn* (3d832fc92fa04d3202e4910d480f899f39769618)

Page 1 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.