capellambse v0.7.0
Notable changes
-
This is the first release with the generated metamodel.
While most code that ran with v0.6 should continue to work the same with v0.7, there may be some edge cases that are handled differently, which is why it's marked as breaking change. Downstream projects should update their dependency specification to
capellambse>=0.7.0,<0.8(orcapellambse>=0.6.??,<0.8if needed).v0.7.0 will emit a lot of DeprecationWarning and FutureWarning instances. Some of them still originate within capellambse itself, those will addressed in later v0.7.x releases. Other warnings indicate properties that were accessed, which will be removed or change which elements are exposed in the future. To prepare for a smoother transition post v0.7, downstream projects should address these warnings and update the code accordingly.
Full changelog
New features
- Implement new Namespace-based class discovery by @Wuestengecko (e34370d)
- model: Implement MultiStringPOD by @Wuestengecko (d20c67d)
- Improve class selection during insert without type hint by @Wuestengecko (418a448)
- model: Reuse existing Allocation objects by @Wuestengecko (5460583)
- Improve type hints for 'ElementList.by_*' by @Wuestengecko (8658fc3)
- model: Implement context-specific type hints by @Wuestengecko (e872010)
- Migrate and extend metamodel to namespace discovery by @Wuestengecko (c4e9bd1)
Bug fixes
- model: Rework list filtering by @Wuestengecko (1c51ea0)
- Verify that the DeprecatedAccessor alternative exists by @Wuestengecko (48252fc)
- Add a type annotation to ModelElement.xtype by @Wuestengecko (a9b1528)
Documentation changes
- Remove outdated documentation model by @Wuestengecko (7ecc83c)
Build system changes
- Add a more complete ecore parsing script by @Wuestengecko (c154da2, c371994)