From 4f0ff307d35146f4d1c5cbbade719b126508581c Mon Sep 17 00:00:00 2001 From: antoineatsoprasteria Date: Mon, 30 Nov 2026 10:36:44 +0100 Subject: [PATCH] release 0.27.1 --- SySML2.NET.REST/SySML2.NET.REST.csproj | 7 ++++--- SysML2.NET.CodeGenerator/SysML2.NET.CodeGenerator.csproj | 2 +- SysML2.NET.Dal/SysML2.NET.Dal.csproj | 9 ++------- SysML2.NET.Extensions/SysML2.NET.Extensions.csproj | 5 ++--- SysML2.NET.Kpar/SysML2.NET.Kpar.csproj | 4 ++-- SysML2.NET.Semantics/SysML2.NET.Semantics.csproj | 4 ++-- .../SysML2.NET.Serializer.Json.csproj | 5 ++--- .../SysML2.NET.Serializer.MessagePack.csproj | 6 ++---- .../SysML2.NET.Serializer.TextualNotation.csproj | 4 ++-- .../SysML2.NET.Serializer.Xmi.csproj | 5 ++--- SysML2.NET.Validation/SysML2.NET.Validation.csproj | 7 ++++++- SysML2.NET/SysML2.NET.csproj | 9 ++------- 12 files changed, 29 insertions(+), 38 deletions(-) diff --git a/SySML2.NET.REST/SySML2.NET.REST.csproj b/SySML2.NET.REST/SySML2.NET.REST.csproj index e0138bd02..6ae402bac 100644 --- a/SySML2.NET.REST/SySML2.NET.REST.csproj +++ b/SySML2.NET.REST/SySML2.NET.REST.csproj @@ -3,7 +3,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 REST/HTTP PSM Client SysML2.NET.REST Starion Group S.A. @@ -14,8 +14,9 @@ Sam Gerené true - [Add] ISession.LoadCommit and LoadBranchHead read the element model of a commit or of a branch head into ISession.Assembler, reading a commit only once since commits are immutable (#446) - [Add] ISession.CurrentCommit gives the project and commit whose element model the session holds; Close drops that model (#446) + [Add] ISessionContext exposes the Assembler, Client and CurrentCommit of a session and its LoadCommit and LoadBranchHead operations, without Open and Close (#466) + [Add] ISessionLifecycle exposes the Open and Close operations of a session (#466) + [Update] ISession combines ISessionContext and ISessionLifecycle and declares no member of its own (#466) true true diff --git a/SysML2.NET.CodeGenerator/SysML2.NET.CodeGenerator.csproj b/SysML2.NET.CodeGenerator/SysML2.NET.CodeGenerator.csproj index d77b19a55..e075e4265 100644 --- a/SysML2.NET.CodeGenerator/SysML2.NET.CodeGenerator.csproj +++ b/SysML2.NET.CodeGenerator/SysML2.NET.CodeGenerator.csproj @@ -2,7 +2,7 @@ net10.0 14.0 - 0.27.0 + 0.27.1 A Library to generate SysML v2 code. Starion Group S.A. Copyright © Starion Group S.A. diff --git a/SysML2.NET.Dal/SysML2.NET.Dal.csproj b/SysML2.NET.Dal/SysML2.NET.Dal.csproj index dc397f195..05117e4e3 100644 --- a/SysML2.NET.Dal/SysML2.NET.Dal.csproj +++ b/SysML2.NET.Dal/SysML2.NET.Dal.csproj @@ -3,7 +3,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 specification data-acces-layer. SysML2.NET.Dal Starion Group S.A. @@ -14,12 +14,7 @@ Sam Gerené true - [Add] IAssembler.Synchronize overload taking the identifiers of deleted elements; an element that a DTO no longer lists as owned is detached, not deleted (#427) - [Add] ElementContainmentExtensions.UpdateContainment brings the owned relationships, owned related elements and owner of a POCO in line with its DTO (#427) - [Update] ToDto takes an optional ILogger and, when derived properties are included, maps each of them independently, leaving an unsupported derivation at its default value with a logged warning instead of throwing (#455) - [Update] ToDto maps the members that a subclass redefines with a derived property, such as Membership.MemberElement and Relationship.Source and Target, only when derived properties are included (#455) - [Fix] ToDto and FromDto copy value lists such as AliasIds instead of sharing them between the POCO and the DTO (#428) - [Fix] The SQL schema makes a column nullable and drops its default when a subclass redefines its property with a derived one, so OwningMembership and ReferenceSubsetting rows can be inserted (#453) + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Extensions/SysML2.NET.Extensions.csproj b/SysML2.NET.Extensions/SysML2.NET.Extensions.csproj index 31c255a4f..723988b58 100644 --- a/SysML2.NET.Extensions/SysML2.NET.Extensions.csproj +++ b/SysML2.NET.Extensions/SysML2.NET.Extensions.csproj @@ -3,7 +3,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 specification Extension and Helper methods. SysML2.NET.Extensions Starion Group S.A. @@ -14,8 +14,7 @@ Sam Gerené true - [Fix] The DTO comparers compare the members that a subclass redefines with a derived property (#424) - [Fix] LiteralRationalComparer treats nearly equal values as equal and different values as different + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Kpar/SysML2.NET.Kpar.csproj b/SysML2.NET.Kpar/SysML2.NET.Kpar.csproj index 9003fbdb1..a2fd00d90 100644 --- a/SysML2.NET.Kpar/SysML2.NET.Kpar.csproj +++ b/SysML2.NET.Kpar/SysML2.NET.Kpar.csproj @@ -5,7 +5,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 specification. SysML2.NET.Kpar Starion Group S.A. @@ -16,7 +16,7 @@ Sam Gerené true - [Update] Aligned with SysML2.NET.Serializer.Json 0.27.0 and SysML2.NET.Serializer.Xmi 0.27.0 + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Semantics/SysML2.NET.Semantics.csproj b/SysML2.NET.Semantics/SysML2.NET.Semantics.csproj index 2cd72f62e..2d40296bc 100644 --- a/SysML2.NET.Semantics/SysML2.NET.Semantics.csproj +++ b/SysML2.NET.Semantics/SysML2.NET.Semantics.csproj @@ -4,7 +4,7 @@ netstandard2.1;net10.0 14.0 disable - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 specification semantic constraints and implied Relationships. SysML2.NET.Semantics Starion Group S.A. @@ -15,7 +15,7 @@ Sam Gerené true - [Update] Aligned with SysML2.NET.Extensions 0.27.0 + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Serializer.Json/SysML2.NET.Serializer.Json.csproj b/SysML2.NET.Serializer.Json/SysML2.NET.Serializer.Json.csproj index 3fc845959..dfde59f0f 100644 --- a/SysML2.NET.Serializer.Json/SysML2.NET.Serializer.Json.csproj +++ b/SysML2.NET.Serializer.Json/SysML2.NET.Serializer.Json.csproj @@ -3,7 +3,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 JSON serializer. SysML2.NET.Serializer.Json Starion Group S.A. @@ -14,8 +14,7 @@ Sam Gerené true - [Fix] The Core serializers and deserializers write and read back the members that a subclass redefines with a derived property, such as memberElement, memberName, source and target, so a JSON round trip keeps them (#424) - [Fix] The PSM request serializers omit an unset optional reference that the OpenAPI document does not declare nullable, instead of writing null (#425) + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Serializer.MessagePack/SysML2.NET.Serializer.MessagePack.csproj b/SysML2.NET.Serializer.MessagePack/SysML2.NET.Serializer.MessagePack.csproj index a99df43f9..122476f79 100644 --- a/SysML2.NET.Serializer.MessagePack/SysML2.NET.Serializer.MessagePack.csproj +++ b/SysML2.NET.Serializer.MessagePack/SysML2.NET.Serializer.MessagePack.csproj @@ -2,7 +2,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 MessagePack serializer. SysML2.NET.Serializer.MessagePack Starion Group S.A. @@ -13,9 +13,7 @@ Sam Gerené true - [Add] SysMLMessagePackSerializerOptions tells the formatters whether derived properties are exchanged (#436) - [Update] The ISerializer and IDeSerializer methods take an includeDerivedProperties or deserializeDerivedProperties argument (#436) - [Fix] A MessagePack round trip that includes derived properties keeps the members that a subclass redefines with a derived property (#436) + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Serializer.TextualNotation/SysML2.NET.Serializer.TextualNotation.csproj b/SysML2.NET.Serializer.TextualNotation/SysML2.NET.Serializer.TextualNotation.csproj index bae0ee1a1..5f5838d7b 100644 --- a/SysML2.NET.Serializer.TextualNotation/SysML2.NET.Serializer.TextualNotation.csproj +++ b/SysML2.NET.Serializer.TextualNotation/SysML2.NET.Serializer.TextualNotation.csproj @@ -5,7 +5,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 Textual Notation serializer. SysML2.NET.Serializer.TextualNotation Starion Group S.A. @@ -17,7 +17,7 @@ Sam Gerené, Antoine Théate true - [Update] Aligned with SysML2.NET.Extensions 0.27.0 + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Serializer.Xmi/SysML2.NET.Serializer.Xmi.csproj b/SysML2.NET.Serializer.Xmi/SysML2.NET.Serializer.Xmi.csproj index 39cea0033..c1e8bf4f0 100644 --- a/SysML2.NET.Serializer.Xmi/SysML2.NET.Serializer.Xmi.csproj +++ b/SysML2.NET.Serializer.Xmi/SysML2.NET.Serializer.Xmi.csproj @@ -3,7 +3,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 Xmi serializer. SysML2.NET.Serializer.Xmi Starion Group S.A. @@ -14,8 +14,7 @@ Sam Gerené, Théate Antoine true - [Fix] The XMI writers write the members that a subclass redefines with a derived property, such as memberElement, memberName, source and target, when derived properties are included (#456) - [Fix] The XMI readers skip derived properties without logging them as unexpected elements (#456) + [Update] Aligned with SysML2.NET 0.27.1 - no functional change true true diff --git a/SysML2.NET.Validation/SysML2.NET.Validation.csproj b/SysML2.NET.Validation/SysML2.NET.Validation.csproj index 69c835508..41cc606c7 100644 --- a/SysML2.NET.Validation/SysML2.NET.Validation.csproj +++ b/SysML2.NET.Validation/SysML2.NET.Validation.csproj @@ -3,7 +3,7 @@ net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 REST/HTTP PSM request validators SysML2.NET.Validation Starion Group S.A. @@ -13,6 +13,11 @@ Git Sam Gerené true + + [Add] FluentValidation validators for the 167 concrete core DTO types check the multiplicities and types of their non-derived properties, generated from the KerML and SysML UML models (#445) + [Add] DtoValidator<TElement> base class, which checks the Id and ElementId identifiers and whose AddCustomValidation registers hand-coded rules alongside the generated ones (#445) + [Add] A property that a subclass redefines with a required derived property is checked for its lower bound only, with warning severity (#445) + true true diff --git a/SysML2.NET/SysML2.NET.csproj b/SysML2.NET/SysML2.NET.csproj index b363d3620..adf9a3dac 100644 --- a/SysML2.NET/SysML2.NET.csproj +++ b/SysML2.NET/SysML2.NET.csproj @@ -5,7 +5,7 @@ netstandard2.1;net10.0 14.0 - 0.27.0 + 0.27.1 A .NET implementation of the OMG SysML v2 specification. SysML2.NET Starion Group S.A. @@ -16,12 +16,7 @@ Sam Gerené true - [Add] ElementOwnershipExtensions and RelationshipOwnershipExtensions move, remove and replace the owned relationships of an element and the owned related elements of a relationship (#427) - [Update] Derived properties and operations return null, the first candidate or the elements present when the model is incomplete or over-populated, and no longer throw because of model state (#340) - [Update] RedefinedByPropertyAttribute takes an isDerivedByRedefinition argument, exposed as IsDerivedByRedefinition, and its PropertyName is read-only (#424) - [Remove] MultiplicityViolationException, which no derivation throws any more (#340) - [Fix] DTO members that a subclass redefines with a derived property, such as Membership.MemberElement, MemberName, MemberShortName and Relationship.Source and Target, keep the value assigned through the interface (#424) - [Fix] AssignOwnership no longer adds the target a second time when an owning membership is re-assigned (#427) + [Update] Version 0.27.1 - no functional change true true