Capellambse

Latest version: v0.5.65

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

Scan your dependencies

Page 2 of 20

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)

0.5.58

New features

- **model**: Use enum's value for XML *by Wuestengecko* (d1f9553007b2676f986beeeb36673f998b272316)
- **model**: Import all Enums from the metamodel *by Wuestengecko* (70117a56f63be084b9b2e53c301bf27aba08cc1d)
- **model**: Forward diagram XML objects to Diagram *by Wuestengecko* (66eb25eca814235f7d3e191d1db132ee23360cff)
- **decl**: Resolve promises for sync find *by huyenngn* (33edeaef0719bcb64a1175d0145c1a9e26d7dc3d)
- **loader**: Automate namespace management *by Wuestengecko* (aa654a74a672db8e85a6d86cc87d9106a406c170)
- Add methods for viewpoint management *by Wuestengecko* (763ed2d2b26c6924396eef15595c3347d3338c3d)
- Add viewpoint names to known namespaces *by Wuestengecko* (2c674d0e568343299e20b9426e10917e10d6e79b)

Performance improvements

- **glart**: Only look up the cache once *by Wuestengecko* (f03db807d75b3709b63ca0dbc973009b15ba4274)

Bug fixes

- Add Capella nature to test project *by jamilraichouni* (46328de16b50768bfb3217bf1db8e1ccc921ddb1)
- **model**: Declare R/O diagram attributes statically R/O *by Wuestengecko* (ba19ef8943ff87046c27e6365ce22feefadf155d)
- **model**: Ignore missing follow in LinkAccessor *by Wuestengecko* (8f4a4832dade5d3f022f6a72778f9e2da9ce991b)
- **svg**: Fix symbol label wrapping *by ewuerger* (ec537ebd7920eeccd852219286b0140850dd08ce)
- **readme**: Fix second link to intro notebook *by Wuestengecko* (006f9ba75b24949af45aac6a64aabd3c6ec596c0)
- **model**: Modify existing object instead of replacing for RoleTagAccessor *by huyenngn* (01b93ab2ad5ed60d6b8bfd6bc24c6eaf53a5d73b)
- Remove broken `Association.source_role` *by Wuestengecko* (801c8cd015a45eaa9c693c4f3c48dc8ab8c37f2c)
- **svg**: Fix labels of objects with feature lines *by ewuerger* (83e55440dc1f8decca228e48d1ad77b9f098d68a)

Documentation changes

- Fix broken anchor for "Specifying models" *by Wuestengecko* (f4a6e9c55ad7c2c40bb9fd2aaab8788dcba6f9eb)
- **repl**: Improve documentation of the REPL *by Wuestengecko* (2831d6bd28d29b1c624b7f068f15684402df022f)

Code refactorings

- **model**: Adjust Enums to match metamodel *by Wuestengecko* (debbbe2b9c9f67d6cb32113ea8aa7e366f713f3b)
- **model**: Use Accessor for OperationalActivity inputs/outputs *by ewuerger* (c2fe60582f2fbc034dd17a0be16f88229c184c9c)
- Simplify namespace version checks *by Wuestengecko* (d7eb8f42c065a2ec29a9a06d44f19baa1979ff96)

0.5.57

New features

- **repl**: Add a little fzf wrapper function *by Wuestengecko* (d9a3de0c9dabc05f6a426dce8a5591ec70f1c0b2)
- **model**: Allow specifying classes on RoleTagAccessor *by Wuestengecko* (e68c3a4351ec4d16bbca08077090615df9f00e99)
- **model**: Recognize wildcard classes in search *by Wuestengecko* (1e2b06949a5f0452a2cae82872bae749abc386cc)
- **model**: Generate hlink URLs in `_short_html_` *by Wuestengecko* (f55018086deb2897673a2889cf54274594f6c726)

Bug fixes

- **model**: Use correct XML tags for `*Function` classes *by Wuestengecko* (429a753b7d28e47576030212cb557f1879b409ae)
- **model**: Fix links to owned functions *by Wuestengecko* (6cdd5a33d2b5c4615e2af87870937ab51b9d1ddb)
- **model**: Fix functional allocations and deployment links *by Wuestengecko* (86d3d53e5472b622d672fed90ceb1b01ab50f4e2)

Documentation changes

- Use markdown for README and CONTRIBUTING *by Wuestengecko* (d3966f522d2a1737df5073e4fd9b34df782e93d6, d00da25e4e6a87ae85e78d090445bfa96b0f8ad4)

0.5.56

Notable changes

- With this release, capellambse supports the new environment variable `CAPELLAMBSE_LEGACY_DIAGRAM_IDS`. When set to a non-empty string, `capellambse.model.diagram.Diagram` objects will report the pre-0.5.52 IDs on their `uuid` field. This is intended as a stop-gap measure to aid in migrating code that expects the old IDs, and should not be used or relied on with newly written code. It will eventually be removed again.

Full changelog

New features

- **model**: Expose SA metamodel as `model.sa` *by Wuestengecko* (1529d160102d210ce625395afac91088740cbffd)
- **model**: Expose the representation path on diagrams *by Wuestengecko* (c8cd58e4f7509a4bc87092b5d23f190eef9cb18e)
- Add a helper for transforming `hlink://` URLs *by Wuestengecko* (0bc2bdd94da2ff1ff15933ba2a0166db46242b35)
- Implement replacing model objects for RoleTagAccessors *by huyenngn* (4f05ca2c54870bd94377bfc4bb5f898400c02f6d)

Performance improvements

- **git**: Use tree-less partial clones *by Wuestengecko* (b00b6b6f0af1673bc59a9a58f9032415893ac4c3)

Bug fixes

- **git**: Resolve default branch *by huyenngn* (203041c8585c050629bcb28485444f6f120efa9f)
- **model**: Add stop-gap to use old diagram IDs downstream *by Wuestengecko* (44712de814a7da99911626e108a5161617525eea)

Documentation changes

- Update `load_model_extensions` docstring *by Wuestengecko* (be93e53e5bc31ac0f2835eae3ce73598cdaa048a)

CI/CD changes

- Add pyupgrade hook *by Wuestengecko* (79ce1b6ddb14cd8fc32b5b21a1953dcada790572)

Unit test changes

- Move git-specific test over to git test file *by Wuestengecko* (a91c83a6951c449806a43c56b42c0c9ba2c8062a)

Code refactorings

- Type-check with `types-lxml` *by Wuestengecko* (2e7b39e0308cda5736073ac5144f13cd41820a9e)

0.5.55

New features

- **diagram**: Add additional diagram parameters *by ewuerger* (a2ff5052c06547c86dac48f939080f1ffdc493dc)
- **diagram**: Allow multiple floating Box labels *by ewuerger* (464d5bcecd6784fb9188ecbf4efd5a8c0f3de016, e1fc737d0413f9167cc133928ea7359e3d8ac9b3)
- **model**: Implement System/LogicalFunction.involved_in *by huyenngn* (f6807fe841dea73d46f4261fe14065452a0c5473)

Bug fixes

- **svg**: Fix label size and position calculations *by ewuerger* (73a4e29a4f662d83fbeb5b4b87fea52975b191ce)

Code refactorings

- **decl**: Rename modify to set *by huyenngn* (1bb6465a73b42dee0ad84142a74ad848117df75c)

0.5.54

Notable changes

- Declarative YAML gained a new `!find` tag, an alternative to `!uuid` that finds a model element by looking for specific attribute values.

- The declarative YAML gained a new "sync" operation, which can greatly help when trying to bring in content into a model from external sources. Acting like a combination of "extend" and "modify" combined with the new `!find` tag, they allow to more easily avoid duplication and enable great simplifications in code that generates the YAML.

Check out the new documentation for more details: <https://dsd-dbs.github.io/py-capellambse/start/declarative.html#synchronizing-objects>

Full changelog

New features

- **decl**: Implement `!find` *by Wuestengecko* (e5d991a9a62a69c6b2b7122b754a10875771de2a)
- **decl**: Implement a "sync" operation *by Wuestengecko* (e29ec8b692430b1f5e7ba09cbb402a91db6db24c, 291f31894df64ab70bee8a0e8d288f51d27f8a13, d541faebd59bbd96879510b6e136a7be65cabff6)
- **decl**: Resolve promises for `parent` *by Wuestengecko* (f16f64a6de4f1bbdcadfc63c2d3ff0f310bf2e4f)
- **decl**: Support `capellambse.new_object` *by Wuestengecko* (687057a06ff7aa0ced1a0d6e1e4931e84c0e5e4a)
- **decl**: Un-deprecate the "create" key *by Wuestengecko* (119e777c5116006382776beacd3d50a1813eb2a2)
- **model**: Implement delete for RoleTagAccessors *by huyenngn* (30bd3e4259b90a6f4898f5bc67aca9d38ff5e2ac)

Performance improvements

- **model**: Add more efficient "contains" check to ElementList instances *by Wuestengecko* (6514f448d38d6ef17556a18fad6dbaea88c343cf)
- **model**: Memoize Diagram.nodes *by Wuestengecko* (3f1086678e0a9d5a19dd8abf5e77d220ae118457)

Bug fixes

- **decl**: Delete lists using `clear` *by Wuestengecko* (06d3207e3efc4f9ac4bda8267999924599202206)
- **model**: Unify naming schema for min/max_value *by Wuestengecko* (0805c94d22f40369686107a7205da1567d3b4cef)
- **svg**: Use the same font definitions everywhere *by Wuestengecko* (056bebdc0905f9122dcbfcea7e8abed0048d3db4)

Unit test changes

- **model**: Fix double-space in function name *by Wuestengecko* (c6aa43d46b3ddafdc96db5ebb85d544917f44f3a)
- Ensure that capellambse is installed *by Wuestengecko* (0246f70ef6acc3e5aa6dd7bb1cd4e2b8a05761a5)

Page 2 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.