Capellambse

Latest version: v0.6.10

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

Scan your dependencies

Page 6 of 26

0.5.52

Notable changes

- The UUIDs reported for diagrams have changed. Diagram caches created before this version of py-capellambse are incompatible with the new release and have to be recreated.

- You can now load models from ZIP files, including ones hosted on remote servers, using URLs like ``zip+https://some.url/path/to/mymodel.zip``. See the [documentation about the ZIP file handler] for more details and examples.

[documentation about the ZIP file handler]:
https://dsd-dbs.github.io/py-capellambse/code/capellambse.filehandler.html#capellambse.filehandler.zip.ZipFileHandler

Full changelog

New features

- **cli**: Fall back to treating strings as URLs *by Wuestengecko* (0b4ca00d0cdc91c1267d4bd7aea3f5d20707ce16)
- **filehandler**: Allow is_file/dir on FileHandler *by Wuestengecko* (8667e1a8f68e9e0b1e3395c9a6419db7886f52ae)
- **http**: Log requested URL and response status *by Wuestengecko* (2c9c1ef9d5ab12f65d0b34950cd08d2361a64ea8)
- Add Capella's demo models as "known models" *by Wuestengecko* (ff5249fcfe96420e7c2b19a689ac2517e663fedd)
- Add support for loading models from ZIP files *by Wuestengecko* (0121b504e75fc95f6d74dacf01e94af6aa52ff41)
- Work with DRepresentationDescriptor objects *by Wuestengecko* (6dcdaee1303a957a9b23a0d043f813f3db75f883)

Bug fixes

- **loader**: Handle resources in write_tmp_project_dir *by Wuestengecko* (5cf9cc3b58331f199cc5d9181f8ef66cfd489a94)
- **native**: Remove destination before copying into container *by Wuestengecko* (0114b06a8e3f5ad3b53c46ecb6f341ae3f07140f)

CI/CD changes

- Update pre-commit hooks *by Wuestengecko* (b29590d6ef2c346d0bb8f0228d15484e16b03b49)

Unit test changes

- Shorten code in printed stack traces *by Wuestengecko* (c11062dbbe31f0297345a4d8f9dc5f3a49ebfbf6)

0.5.51

New features

- **diagram**: Add styling for primitive `Class`es *by ewuerger* (097891ea0220493f3a51f75802f5b3262d683454)
- **repl**: Improve help text and banner *by Wuestengecko* (dcafcb804c6634d1a60758e1c7a81cc1b18f1108)

Bug fixes

- **filehandler**: Normalize 'self.subdir' *by Wuestengecko* (e69e7e27bf4917edccd62f8792a8ee74461e3b21)
- **svg**: Add dependency for LogicalHumanActorSymbol *by ewuerger* (70a0dfcd912e5c90401482062dad920e5ba4a591)
- Replace references to deprecated `capella/cli` image *by MoritzWeber0* (c1b02049b00dc172f53e908039d7d4e68f830d2d)

Documentation changes

- **git**: Move cache_dir docstring to the attribute *by Wuestengecko* (c20586b5023fb9a9f82ae2c4ff5a4767b0f1a752)
- Remove make.bat *by Wuestengecko* (f246ed0671cb602cf01eeefe8d1b20e7ee120c95)
- Repair various APIDOC / docstring related issues *by freshavocado7, Wuestengecko* (e273f7ce7890890ffb369f59577d729dc65e5a5e, f16f2ea67bcebd91b6baeb123687b748358873e0, c0e00e5c771e25c46dadb2783c9fd1ad37da9eb4)
- Treat Sphinx warnings as errors *by Wuestengecko* (28a86a1d3b50796cb6f617cc97657a2f7b3eb026)

Build system changes

- Simplify dependency management *by Wuestengecko* (97e9cd8dbee8df985f79e31ed16357ae67e6d462)

CI/CD changes

- Enforce `pre-commit` version >= 3.2.0 *by MoritzWeber0* (9eb62cf344028c3d9f9666673cf54b7af7b3c2b3)
- Use custom fork of 'reuse' tool *by Wuestengecko* (f577f4741abd3e59d0dff01cec9b5c86e212f54a)
- Use upstream pylint hook *by Wuestengecko* (6abf82314d8d76687c122a1ce658297d46bf6925)

0.5.50

Bug fixes

- **model**: Fix CapabilityRealization.involved_components *by Wuestengecko* (2006c0aa30c25b026eb2468f563a0c862ec91700)
- **svg**: Remove invalid Path attributes *by ewuerger* (87105cb8934859e5274167f91f679dd890ba721a)

CI changes

- Ignore D1xx warnings globally *by Wuestengecko* (ecfc5fe14276a98f16a2e1ee58b8c1f801844631)
- Update pre-commit hooks once more *by Wuestengecko* (40dd3faab0c05d2a6e3069f80c85618644d16363)

0.5.49

New features

- **model**: Add ability to upscale rendered PNGs *by Wuestengecko* (03c1344b8007992042b65b772e27f550f83b6335)
- **model**: Auto-generate diagram filenames *by Wuestengecko* (99cc0ab2803697ac317f3b2ab63be8ae96061b7d)
- **repl**: Allow starting a REPL without a model *by Wuestengecko* (dddb9864579b5b3552914578cfd8c150916a737b)

Bug fixes

- **diagram**: Call FEX 'OperationalExchange' on OA *by ewuerger* (a65ea80e7a6851321ca769b6b1312b48d114efce)
- **diagram**: Correctly capitalize Association classes *by Wuestengecko* (a80ea0ea4a37657eb1da1a3af0f471f70d608f90)
- **svg**: Switch to representational attributes for fonts *by ewuerger* (8698e7be1d59a83bc955f667f6d3cf488a47b64a)
- **svg**: Write context of all element types to SVG *by ewuerger* (15ae9ebb5b5e707576e9467b75c9298bf906818a)

Documentation changes

- **contributing**: Actually describe the pre-commit setup *by Wuestengecko* (c92cf6a421e1414dcbc4988d44e8dcec95725146)
- **readme**: Remove note about SVG stylesheets *by Wuestengecko* (213aa6437647eb80892fbd67a09fc2b0ac9d19f1)
- Syntax-highlight all the code blocks! *by Wuestengecko* (1f45f103867fdb2cc9c8aacd1c6a47a4c5dc3c41)

CI/CD changes

- Check PRs for conventional commits compliance *by Wuestengecko* (a5dbc495d8f0fbc218134b0d455e3ef7f2749fc9)
- Update Github actions *by Wuestengecko* (4b98c7c9f508e50560fe2f4ccd5b4db633fb3645)

Code refactorings

- **svg**: Get rid of style="..." attributes *by Wuestengecko* (06764fc1dc784aff27f69d7d56163c17bba7bc65)

0.5.48

Bug fixes

- **model**: Add missing `sub="..."` backlink to Generalization *by Wuestengecko* (2bb88707e7ac74f398789d332a9419191a145942)
- **svg**: Avoid class="context-" on empty context *by Wuestengecko* (4c04084bb5e032dce6db33c28ed0ab4030142a33)

0.5.47

New features

- **git**: Use exact ref match if one exists *by Wuestengecko* (207570d4e7c2ae976ac0ecf827fc882a343f3664)
- **http**: Add a hint about 'git+' to iterdir error *by Wuestengecko* (8b47bd14ebbe1d703c68ad685f5256958b93a9cb)

Bug fixes

- **git**: Improve handling of local repositories *by Wuestengecko* (59a2d8d5f9590ebd0dd7065ecd075d069fe34f06)
- **git**: Use shorter cache dir hashes *by Wuestengecko* (c796b085bf9ac9f6dfae54ff8b38c76a9104cb22)
- **loader**: Don't fall back to making a random UUID *by Wuestengecko* (d7e1a887a901ecf7ba29fd7d1940dd0f58f1561e)
- **model**: Deduplicate allocations *by Wuestengecko* (1e92190643596576b318f37cea5ed8aee7a9662f)

Page 6 of 26

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.