Skip to content

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 12 Oct 16:29
· 19 commits to main since this release

Added

Add get_target/get_source on connections and fix transactional commit field names #189
Add scripting get(name) accessor for non-dot-accessible names #191
Surface renamed name/visibility fields through deprecation shims #192
Align metamodel #197
Add opt-in resolve_libraries flag to load and map library element contents #207
Read and write complex value expressions as text #209
Resolve feature chaining #215
Change valuation reading process #231
Support includesDerived/includesInherited and derive local collections #273
Forward includes_derived/includes_inherited on execute_query and element resolution #295
Add ForwardedNotification class and extend properties in Classifier, Feature, and Type #302
Enhance derived collections and testing framework, fix issues with missing reconstruction on derived collections #304
Centralized identifiers #329
Add api version check #352
Align project API parameters #388
Navigate nested library packages reached through NamespaceImport #401

Fixed

Rework FeatureValue set-value commits and drop legacy defaultValue paths #186
Make IPython autocomplete honor element __dir__ via complete_object hook #193
Resolve no-name elements via their ElementType and ID declared name #212
Hide private backing fields from static element autocomplete #214
Add enum support #237
Change name to declared_name in unchanged code #244
Preload roots before build and resolve root package via Namespace #272
Round-trip LiteralString values with KerML string-literal escaping #275
Repair e2e transactional documentation links and KerML literal string updates #288
Improve library package retrieval logic in ProjectImpl #305
Get libraries package() should not raise error #354
Resolve internal LibraryPackage contents when resolve_libraries is false #382
Serialize feature-chain expressions #406
Return every root package from the project #407
Fill missing derived membership collections #409

Documentation

Migration guide #230
Replace XMI models with KPAR models for bike and computer examples #311

Dependencies

Bump ansys/actions/doc-changelog from 11.0.3 to 11.0.4 #361
Bump prek from 0.4.14 to 0.5.0 #362
Bump prek from 0.5.0 to 0.5.2 #367
Bump ansys-sphinx-theme from 1.10.0 to 1.11.0 #368
Bump ansys/actions/doc-changelog from 11.0.4 to 11.0.6 #369
Bump ansys/pre-commit-hooks from v0.5.2 to v0.8.0 #371
Pin hook revisions to frozen SHAs and enable Dependabot #372
Bump https://github.com/astral-sh/ruff-pre-commit from v0.15.4 to 0.16.6 in the pre-commit group across 1 directory #373
Bump ansys/actions/doc-style from 11.0.6 to 11.0.8 #375
Bump ansys/actions/doc-deploy-changelog from 11.0.6 to 11.0.8 #376
Bump ansys/actions/check-vulnerabilities from 11.0.6 to 11.0.8 #377
Bump ansys/actions/build-wheelhouse from 11.0.6 to 11.0.8 #378
Bump ansys/actions/doc-build from 11.0.6 to 11.0.8 #379
Bump prek from 0.5.2 to 0.5.3 #383
Bump numpydoc from 1.10.0 to 1.11.0 #386
Bump the pre-commit group across 1 directory with 2 updates #387
Bump ansys/actions/check-pr-title from 11.0.6 to 11.0.8 #390
Bump ansys/actions/check-actions-security from 11.0.6 to 11.0.8 #391
Bump ansys/actions/tests-pytest from 11.0.6 to 11.0.8 #392
Bump ansys/actions/doc-deploy-stable from 11.0.6 to 11.0.8 #393
Bump ansys/actions/code-style from 11.0.6 to 11.0.8 #394
Bump ansys/actions/release-github from 11.0.6 to 11.0.8 #395
Bump ansys/actions/doc-deploy-dev from 11.0.6 to 11.0.8 #396
Bump ansys/actions/doc-changelog from 11.0.6 to 11.0.8 #397
Bump ansys/actions/build-library from 11.0.6 to 11.0.8 #398
Bump the pre-commit group with 2 updates #400
Bump pytest-mock from 3.15.1 to 3.16.0 #402
Bump prek from 0.5.3 to 0.5.4 #408
Bump https://github.com/astral-sh/ruff-pre-commit from v0.16.9 to 0.16.10 in the pre-commit group #410

Maintenance

Regenerate static metamodel for the new SysML2 API #184
Update CHANGELOG for v0.3.3 #356
Update CHANGELOG for v0.4.0b1 #360
Releasing to private PyPI #364
Allow manual trigger of private PyPI release workflow #366
Update CHANGELOG for v0.4.0b2 #374

Miscellaneous

Adapt builder and mappers to the regenerated metamodel #185
Use a dot-safe ClassName<id> fallback for empty-name elements #187
Adapt builder to FeatureChaining with lazy inherited-proxy caching #188
Remove rest api support for diagrams #243
Move parse_and_set_value from elements to SysMLTools #255
Expose real UUID for inherited elements instead of self-built composed IDs #256
Add SysMLTools.get_element_visibility and remove name and visibility deprecation shims #257
Unify metamodel #269
Reuse an HTTP session when loading SysML v2 projects #389

Test

Update e2e tests #271
Refresh modeltestset fixtures and resolve mock project dirs by UUID #303

0.4.0b2 - September 15, 2026

Added

Add get_target/get_source on connections and fix transactional commit field names #189
Add scripting get(name) accessor for non-dot-accessible names #191
Surface renamed name/visibility fields through deprecation shims #192
Align metamodel #197
Add opt-in resolve_libraries flag to load and map library element contents #207
Read and write complex value expressions as text #209
Resolve feature chaining #215
Change valuation reading process #231
Support includesDerived/includesInherited and derive local collections #273
Forward includes_derived/includes_inherited on execute_query and element resolution #295
Add ForwardedNotification class and extend properties in Classifier, Feature, and Type #302
Enhance derived collections and testing framework, fix issues with missing reconstruction on derived collections #304
Centralized identifiers #329
Add api version check #352

Fixed

Rework FeatureValue set-value commits and drop legacy defaultValue paths #186
Make IPython autocomplete honor element __dir__ via complete_object hook #193
Resolve no-name elements via their ElementType and ID declared name #212
Hide private backing fields from static element autocomplete #214
Add enum support #237
Change name to declared_name in unchanged code #244
Preload roots before build and resolve root package via Namespace #272
Round-trip LiteralString values with KerML string-literal escaping #275
Repair e2e transactional documentation links and KerML literal string updates #288
Improve library package retrieval logic in ProjectImpl #305
Get libraries package() should not raise error #354

Documentation

Migration guide #230
Replace XMI models with KPAR models for bike and computer examples #311

Dependencies

Bump ansys/actions/doc-changelog from 11.0.3 to 11.0.4 #361
Bump prek from 0.4.14 to 0.5.0 #362
Bump prek from 0.5.0 to 0.5.2 #367
Bump ansys-sphinx-theme from 1.10.0 to 1.11.0 #368
Bump ansys/actions/doc-changelog from 11.0.4 to 11.0.6 #369
Bump ansys/pre-commit-hooks from v0.5.2 to v0.8.0 #371
Pin hook revisions to frozen SHAs and enable Dependabot #372
Bump https://github.com/astral-sh/ruff-pre-commit from v0.15.4 to 0.16.6 in the pre-commit group across 1 directory #373

Maintenance

Regenerate static metamodel for the new SysML2 API #184
Update CHANGELOG for v0.3.3 #356
Update CHANGELOG for v0.4.0b1 #360
Releasing to private PyPI #364
Allow manual trigger of private PyPI release workflow #366

Miscellaneous

Adapt builder and mappers to the regenerated metamodel #185
Use a dot-safe ClassName<id> fallback for empty-name elements #187
Adapt builder to FeatureChaining with lazy inherited-proxy caching #188
Remove rest api support for diagrams #243
Move parse_and_set_value from elements to SysMLTools #255
Expose real UUID for inherited elements instead of self-built composed IDs #256
Add SysMLTools.get_element_visibility and remove name and visibility deprecation shims #257
Unify metamodel #269

Test

Update e2e tests #271
Refresh modeltestset fixtures and resolve mock project dirs by UUID #303

0.4.0b1 - September 04, 2026

Added

Add get_target/get_source on connections and fix transactional commit field names #189
Add scripting get(name) accessor for non-dot-accessible names #191
Surface renamed name/visibility fields through deprecation shims #192
Align metamodel #197
Add opt-in resolve_libraries flag to load and map library element contents #207
Read and write complex value expressions as text #209
Resolve feature chaining #215
Change valuation reading process #231
Support includesDerived/includesInherited and derive local collections #273
Forward includes_derived/includes_inherited on execute_query and element resolution #295
Add ForwardedNotification class and extend properties in Classifier, Feature, and Type #302
Enhance derived collections and testing framework, fix issues with missing reconstruction on derived collections #304
Add api version check #352

Fixed

Rework FeatureValue set-value commits and drop legacy defaultValue paths #186
Make IPython autocomplete honor element __dir__ via complete_object hook #193
Resolve no-name elements via their ElementType and ID declared name #212
Hide private backing fields from static element autocomplete #214
Add enum support #237
Change name to declared_name in unchanged code #244
Preload roots before build and resolve root package via Namespace #272
Round-trip LiteralString values with KerML string-literal escaping #275
Repair e2e transactional documentation links and KerML literal string updates #288
Improve library package retrieval logic in ProjectImpl #305
Get libraries package() should not raise error #354

Documentation

Migration guide #230
Replace XMI models with KPAR models for bike and computer examples #311

Maintenance

Regenerate static metamodel for the new SysML2 API #184
Update CHANGELOG for v0.3.3 #356

Miscellaneous

Adapt builder and mappers to the regenerated metamodel #185
Use a dot-safe ClassName<id> fallback for empty-name elements #187
Adapt builder to FeatureChaining with lazy inherited-proxy caching #188
Remove rest api support for diagrams #243
Move parse_and_set_value from elements to SysMLTools #255
Expose real UUID for inherited elements instead of self-built composed IDs #256
Add SysMLTools.get_element_visibility and remove name and visibility deprecation shims #257
Unify metamodel #269

Test

Update e2e tests #271
Refresh modeltestset fixtures and resolve mock project dirs by UUID #303

Artifact Attestations

You can verify this release's artifact attestations using GitHub's command-line tool. For example, download the files from this release page or from PyPI. Then, run the following commands:

$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-ubuntu-latest-3.14.zip
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-windows-latest-3.12.zip
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-ubuntu-latest-3.12.zip
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-windows-latest-3.13.zip
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-ubuntu-latest-3.13.zip
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-windows-latest-3.14.zip
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-ubuntu-latest-3.12-sbom.spdx
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-windows-latest-3.12-sbom.spdx
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-windows-latest-3.13-sbom.spdx
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-ubuntu-latest-3.13-sbom.spdx
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-ubuntu-latest-3.14-sbom.spdx
$ gh attestation verify --owner ansys ansys_sam_sysml2-v0.4.1-wheelhouse-windows-latest-3.14-sbom.spdx
$ gh attestation verify --owner ansys ansys_sam_sysml2-0.4.1.tar.gz
$ gh attestation verify --owner ansys ansys_sam_sysml2-0.4.1-py3-none-any.whl