Skip to content

Commit

Permalink
v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adamecr committed May 15, 2022
1 parent 22dcc68 commit 9c849a7
Show file tree
Hide file tree
Showing 18 changed files with 6,118 additions and 87 deletions.
10 changes: 5 additions & 5 deletions Version.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<PropertyGroup>
<RadMajor>1</RadMajor>
<RadMinor>1</RadMinor>
<RadPatch>0</RadPatch>
<RadBuild>1367</RadBuild>
<PackageVersionShort>1.1.0</PackageVersionShort>
<PackageVersionFull>1.1.0+1367.220513024315.release.841767b</PackageVersionFull>
<GitCommit>841767b</GitCommit>
<RadPatch>1</RadPatch>
<RadBuild>1385</RadBuild>
<PackageVersionShort>1.1.1</PackageVersionShort>
<PackageVersionFull>1.1.1+1385.220515020318.release.39f4e48</PackageVersionFull>
<GitCommit>39f4e48</GitCommit>
<GitBranch>release</GitBranch>
</PropertyGroup>
</Project>
14 changes: 14 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.1.1] - 2022-05-15 ##

### Fixed ###
Diagram Shape `Bounds` and Edged `Waypoint` properties are `double` now (changed in Parser, Definition, Simulator) according to the OMG standard. It was `int` in v1.1.0 and it blocked loading the DMN XML models with double values in boundaries due to a parser exception.
DmnDefinitionFactory ignores unsupported decision types

### Added ###
Known types now recognize `number` as a `typeRef` in DMN XML and maps it to `decimal` .NET type

### Changed ###
`NormalizeVariableName` replace `-` (dash) with `_` (underscore). The name of (normalized) variable can also start with underscore
When there are multiple DI:Shapes for the same element within the diagram, the element will have multiple extensions, but the extension at Definition level will have just the last one.

## [1.1.0] - 2022-05-13 ##
As this is a major update, it's recommended to go through the [documentation](readme.md) for both "big picture" and the details.

Expand Down Expand Up @@ -97,6 +110,7 @@ As this is a major update, it's recommended to go through the [documentation](re
### Added ###
- Initial release

[1.1.1]: https://github.com/adamecr/Common.DMN.Engine/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/adamecr/Common.DMN.Engine/compare/v1.0.1...v1.1.0
[1.0.1]: https://github.com/adamecr/Common.DMN.Engine/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/adamecr/Common.DMN.Engine/compare/v0.1.2...v1.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h3> Properties </h3>
<p> </p>
<h3> Constructors </h3>
<table><tr><th>Name</th><th>Modifier</th><th>Summary</th></tr>
<tr><td><a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.int32-system.int32-system.int32-system.int32___1g0zie8" >DiDiagramShapeExtension(int, int, int, int)</a></td><td>public</td><td>CTOR</td></tr>
<tr><td><a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.double-system.double-system.double-system.double___xbxmn4" >DiDiagramShapeExtension(double, double, double, double)</a></td><td>public</td><td>CTOR</td></tr>
</table>
<p> </p>
<h3> Methods </h3>
Expand All @@ -168,8 +168,8 @@ <h2> <a id="p-net.adamec.lib.common.dmn.engine.engine.definition.extensions.dia
Type: <a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#t-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension__1g3jyq3" >DiDiagramShapeExtension</a><br />
Sources: engine\definition\extensions\diagram\DiDiagramShapeExtension.cs</small></p>
<p>Height of shape in diagram</p>
<pre><code class="csharp">public int Height { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a></dt><dd></dd></dl></p>
<pre><code class="csharp">public double Height { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a></dt><dd></dd></dl></p>
<p>Go to <a href="net.adamec.lib.common.dmn.engine.html#namespace-list" >namespaces</a> or <a href="net.adamec.lib.common.dmn.engine.html#type-list" >types</a></p>
<p> </p>
<h2> <a id="p-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.width__12v4zib" ></a> DiDiagramShapeExtension.Width Property </h2>
Expand All @@ -178,8 +178,8 @@ <h2> <a id="p-net.adamec.lib.common.dmn.engine.engine.definition.extensions.dia
Type: <a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#t-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension__1g3jyq3" >DiDiagramShapeExtension</a><br />
Sources: engine\definition\extensions\diagram\DiDiagramShapeExtension.cs</small></p>
<p>Width of shape in diagram</p>
<pre><code class="csharp">public int Width { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a></dt><dd></dd></dl></p>
<pre><code class="csharp">public double Width { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a></dt><dd></dd></dl></p>
<p>Go to <a href="net.adamec.lib.common.dmn.engine.html#namespace-list" >namespaces</a> or <a href="net.adamec.lib.common.dmn.engine.html#type-list" >types</a></p>
<p> </p>
<h2> <a id="p-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.x__1gql5fp" ></a> DiDiagramShapeExtension.X Property </h2>
Expand All @@ -188,8 +188,8 @@ <h2> <a id="p-net.adamec.lib.common.dmn.engine.engine.definition.extensions.dia
Type: <a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#t-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension__1g3jyq3" >DiDiagramShapeExtension</a><br />
Sources: engine\definition\extensions\diagram\DiDiagramShapeExtension.cs</small></p>
<p>X position of shape in diagram</p>
<pre><code class="csharp">public int X { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a></dt><dd></dd></dl></p>
<pre><code class="csharp">public double X { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a></dt><dd></dd></dl></p>
<p>Go to <a href="net.adamec.lib.common.dmn.engine.html#namespace-list" >namespaces</a> or <a href="net.adamec.lib.common.dmn.engine.html#type-list" >types</a></p>
<p> </p>
<h2> <a id="p-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.y__1gql5fq" ></a> DiDiagramShapeExtension.Y Property </h2>
Expand All @@ -198,18 +198,18 @@ <h2> <a id="p-net.adamec.lib.common.dmn.engine.engine.definition.extensions.dia
Type: <a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#t-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension__1g3jyq3" >DiDiagramShapeExtension</a><br />
Sources: engine\definition\extensions\diagram\DiDiagramShapeExtension.cs</small></p>
<p>Y position of shape in diagram</p>
<pre><code class="csharp">public int Y { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a></dt><dd></dd></dl></p>
<pre><code class="csharp">public double Y { get; }</code></pre>
<p><strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a></dt><dd></dd></dl></p>
<p>Go to <a href="net.adamec.lib.common.dmn.engine.html#namespace-list" >namespaces</a> or <a href="net.adamec.lib.common.dmn.engine.html#type-list" >types</a></p>
<p> </p>
<h2> <a id="m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.int32-system.int32-system.int32-system.int32___1g0zie8" ></a> DiDiagramShapeExtension.DiDiagramShapeExtension(int, int, int, int) Constructor </h2>
<h2> <a id="m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.double-system.double-system.double-system.double___xbxmn4" ></a> DiDiagramShapeExtension.DiDiagramShapeExtension(double, double, double, double) Constructor </h2>
<p><small>Namespace: <a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#n-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25" >net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram</a><br />
Assembly: net.adamec.lib.common.dmn.engine<br />
Type: <a href="net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.html#t-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension__1g3jyq3" >DiDiagramShapeExtension</a><br />
Sources: engine\definition\extensions\diagram\DiDiagramShapeExtension.cs</small></p>
<p>CTOR</p>
<pre><code class="csharp">public DiDiagramShapeExtension(int x, int y, int width, int height)</code></pre>
<strong>Constructor parameters</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a> <strong>x</strong></dt><dd>X position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a> <strong>y</strong></dt><dd>Y position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a> <strong>width</strong></dt><dd>Width of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" class="link-external" target="_blank" >int</a> <strong>height</strong></dt><dd>Height of shape in diagram</dd></dl>
<pre><code class="csharp">public DiDiagramShapeExtension(double x, double y, double width, double height)</code></pre>
<strong>Constructor parameters</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a> <strong>x</strong></dt><dd>X position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a> <strong>y</strong></dt><dd>Y position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a> <strong>width</strong></dt><dd>Width of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" class="link-external" target="_blank" >double</a> <strong>height</strong></dt><dd>Height of shape in diagram</dd></dl>
<p>Go to <a href="net.adamec.lib.common.dmn.engine.html#namespace-list" >namespaces</a> or <a href="net.adamec.lib.common.dmn.engine.html#type-list" >types</a></p>
<p> </p>
<h2> <a id="m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.clone__10pf7dz" ></a> DiDiagramShapeExtension.Clone() Method </h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Implements: <a href="https://docs.microsoft.com/en-us/dotnet/api/system.icloneab

| Name | Modifier | Summary |
| ------ | ---------- | --------- |
| [DiDiagramShapeExtension(int, int, int, int)](net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.md#m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.int32-system.int32-system.int32-system.int32___1g0zie8) | public | CTOR |
| [DiDiagramShapeExtension(double, double, double, double)](net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.md#m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.double-system.double-system.double-system.double___xbxmn4) | public | CTOR |



Expand Down Expand Up @@ -276,10 +276,10 @@ Height of shape in diagram


```csharp
public int Height { get; }
public double Height { get; }
```

<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a></dt><dd></dd></dl>
<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a></dt><dd></dd></dl>

Go to [namespaces](net.adamec.lib.common.dmn.engine.md#namespace-list) or [types](net.adamec.lib.common.dmn.engine.md#type-list)
Expand All @@ -300,10 +300,10 @@ Width of shape in diagram


```csharp
public int Width { get; }
public double Width { get; }
```

<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a></dt><dd></dd></dl>
<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a></dt><dd></dd></dl>

Go to [namespaces](net.adamec.lib.common.dmn.engine.md#namespace-list) or [types](net.adamec.lib.common.dmn.engine.md#type-list)
Expand All @@ -324,10 +324,10 @@ X position of shape in diagram


```csharp
public int X { get; }
public double X { get; }
```

<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a></dt><dd></dd></dl>
<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a></dt><dd></dd></dl>

Go to [namespaces](net.adamec.lib.common.dmn.engine.md#namespace-list) or [types](net.adamec.lib.common.dmn.engine.md#type-list)
Expand All @@ -348,10 +348,10 @@ Y position of shape in diagram


```csharp
public int Y { get; }
public double Y { get; }
```

<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a></dt><dd></dd></dl>
<strong>Property value</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a></dt><dd></dd></dl>

Go to [namespaces](net.adamec.lib.common.dmn.engine.md#namespace-list) or [types](net.adamec.lib.common.dmn.engine.md#type-list)
Expand All @@ -360,7 +360,7 @@ Go to [namespaces](net.adamec.lib.common.dmn.engine.md#namespace-list) or [types



## <a id="m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.int32-system.int32-system.int32-system.int32___1g0zie8" /> DiDiagramShapeExtension.DiDiagramShapeExtension(int, int, int, int) Constructor ##
## <a id="m-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension.-ctor_system.double-system.double-system.double-system.double___xbxmn4" /> DiDiagramShapeExtension.DiDiagramShapeExtension(double, double, double, double) Constructor ##
<small>Namespace: [net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram](net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.md#n-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25)
Assembly: net.adamec.lib.common.dmn.engine
Type: [DiDiagramShapeExtension](net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram__1fw6w25.md#t-net.adamec.lib.common.dmn.engine.engine.definition.extensions.diagram.didiagramshapeextension__1g3jyq3)
Expand All @@ -372,10 +372,10 @@ CTOR


```csharp
public DiDiagramShapeExtension(int x, int y, int width, int height)
public DiDiagramShapeExtension(double x, double y, double width, double height)
```

<strong>Constructor parameters</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a> <strong>x</strong></dt><dd>X position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a> <strong>y</strong></dt><dd>Y position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a> <strong>width</strong></dt><dd>Width of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.int32" target="_blank" >int</a> <strong>height</strong></dt><dd>Height of shape in diagram</dd></dl>
<strong>Constructor parameters</strong><dl><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a> <strong>x</strong></dt><dd>X position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a> <strong>y</strong></dt><dd>Y position of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a> <strong>width</strong></dt><dd>Width of shape in diagram</dd><dt><a href="https://docs.microsoft.com/en-us/dotnet/api/system.double" target="_blank" >double</a> <strong>height</strong></dt><dd>Height of shape in diagram</dd></dl>
Go to [namespaces](net.adamec.lib.common.dmn.engine.md#namespace-list) or [types](net.adamec.lib.common.dmn.engine.md#type-list)


Expand Down
Loading

0 comments on commit 9c849a7

Please sign in to comment.