File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Version 7
44.. toctree ::
55 :maxdepth: 1
66
7+ v7/v7.11.1
78 v7/v7.11.0
89 v7/v7.10.0
910 v7/v7.9.1
Original file line number Diff line number Diff line change 1+ Version 7.11.1
2+ ===============
3+
4+ Patch release: **honest ** ``Multiplicity.max `` **typing and idiomatic empty-list
5+ literals **. A metamodel type-hint and lint cleanup with no behavioural change —
6+ it only aligns the declared types with existing runtime behaviour.
7+
8+ Highlights
9+ ----------
10+
11+ - **Honest ** ``Multiplicity.max `` **input typing **: the ``Multiplicity ``
12+ constructor and ``max `` setter now declare ``int | Literal["*"] `` instead of
13+ plain ``int ``. ``"*" `` has always been accepted and normalised to
14+ ``UNLIMITED_MAX_MULTIPLICITY `` at runtime, but the old signature claimed
15+ ``int ``, so callers — and static type checkers — passing ``"*" `` saw a false
16+ type error. The getter stays ``int ``, since a normalised value is always
17+ returned. Docstrings were updated to match.
18+ - **Idiomatic empty lists **: ``Method `` parameter / precondition / postcondition
19+ initialisation uses the ``[] `` literal instead of ``list() `` (SonarQube rule
20+ ``python:S7498 ``).
21+
22+ No runtime behaviour changes, and no metamodel or API contract changes.
23+
24+ Thanks to `@ichxorya <https://github.com/ichxorya >`_ for the contribution
25+ (`#564 <https://github.com/BESSER-PEARL/BESSER/pull/564 >`_).
Original file line number Diff line number Diff line change 11[metadata]
22name = besser
3- version = 7.11.0
3+ version = 7.11.1
44author = Luxembourg Institute of Science and Technology
55description = BESSER
66long_description = file: README.md
You can’t perform that action at this time.
0 commit comments