Capellambse

Latest version: v0.6.10

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

Scan your dependencies

Page 4 of 26

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)

0.5.59

Reverted earlier changes

- **model**: Remove stop-gap to use old diagram IDs again *by Wuestengecko* (3ba8f343a0119ee664ebd7929b9b97288df38d68)

New features

- **model**: Don't show `all_*` contents in repr *by Wuestengecko* (150f2101a13805169b2914a6149db17eba81c4ae)
- **model**: Specify format converter dependencies *by Wuestengecko* (5269d3d109311924948befc72e7dde12d8f91df0)

Bug fixes

- **diagram**: Ignore labels with transforms *by ewuerger* (9d3f776fa9a46967bac65a94c9afca2fd570c0f0)
- **git**: Keep cache locked during init *by Wuestengecko* (d38d285f5a687d35df81d16a7730350ae6d27c23)
- **model**: Ignore UUID dups within AIRD fragments *by Wuestengecko* (3f96fb55c39e3f7d6d1c3f4c2ca05637868227a3)
- **model**: Make DataType.pattern optional *by Wuestengecko* (c0512ab21870290653de5ab364a377f15ad2459e)
- **model**: Expect >1 involving functional chain *by Wuestengecko* (83e00c99ff3db9cace80d4c856548f44d217a25e)
- **model**: Fix rare exception in ElementList dir() *by Wuestengecko* (799c529cc0824be59bac8ff5c5ca814fada2bc78)

CI/CD changes

- Update to types-lxml stable release *by Wuestengecko* (1eb96d9e7ee29df09360b554b04543c617d86b83)

Page 4 of 26

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.