Skip to content

Commit c17203f

Browse files
committed
New version 0.7.0 with release notes and adapted date/time of package
1 parent cef4660 commit c17203f

File tree

4 files changed

+56
-53
lines changed

4 files changed

+56
-53
lines changed

Manifest.toml

+18-46
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.7.1"
3+
julia_version = "1.7.2"
44
manifest_format = "2.0"
55

66
[[deps.Adapt]]
@@ -73,9 +73,9 @@ version = "0.5.1"
7373

7474
[[deps.ChainRulesCore]]
7575
deps = ["Compat", "LinearAlgebra", "SparseArrays"]
76-
git-tree-sha1 = "7dd38532a1115a215de51775f9891f0f3e1bac6a"
76+
git-tree-sha1 = "c9a6160317d1abe9c44b3beb367fd448117679ca"
7777
uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
78-
version = "1.12.1"
78+
version = "1.13.0"
7979

8080
[[deps.ChangesOfVariables]]
8181
deps = ["ChainRulesCore", "LinearAlgebra", "Test"]
@@ -247,9 +247,9 @@ version = "0.8.6"
247247

248248
[[deps.DoubleFloats]]
249249
deps = ["GenericLinearAlgebra", "LinearAlgebra", "Polynomials", "Printf", "Quadmath", "Random", "Requires", "SpecialFunctions"]
250-
git-tree-sha1 = "70858638bb1b9acb83bc0a29fdb449891a71af84"
250+
git-tree-sha1 = "4c3bfdb3369bfe4fa61695b520237af97f8d6196"
251251
uuid = "497a8b3b-efae-58df-a0af-a86822472b78"
252-
version = "1.1.26"
252+
version = "1.1.27"
253253

254254
[[deps.Downloads]]
255255
deps = ["ArgTools", "LibCURL", "NetworkOptions"]
@@ -386,22 +386,10 @@ git-tree-sha1 = "f5fc07d4e706b84f72d54eedcc1c13d92fb0871c"
386386
uuid = "d25df0c9-e2be-5dd7-82c8-3ad0b3e990b9"
387387
version = "0.1.2"
388388

389-
[[deps.InlineStrings]]
390-
deps = ["Parsers"]
391-
git-tree-sha1 = "61feba885fac3a407465726d0c330b3055df897f"
392-
uuid = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48"
393-
version = "1.1.2"
394-
395389
[[deps.InteractiveUtils]]
396390
deps = ["Markdown"]
397391
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
398392

399-
[[deps.Intervals]]
400-
deps = ["Dates", "Printf", "RecipesBase", "Serialization", "TimeZones"]
401-
git-tree-sha1 = "323a38ed1952d30586d0fe03412cde9399d3618b"
402-
uuid = "d8418881-c3e1-53bb-8760-2df7ec849ed5"
403-
version = "1.5.0"
404-
405393
[[deps.InverseFunctions]]
406394
deps = ["Test"]
407395
git-tree-sha1 = "a7254c0acd8e62f1ac75ad24d5db43f5f19f3c65"
@@ -476,10 +464,6 @@ git-tree-sha1 = "6dd77ee76188b0365f7d882d674b95796076fa2c"
476464
uuid = "10f19ff3-798f-405d-979b-55457f8fc047"
477465
version = "0.1.5"
478466

479-
[[deps.LazyArtifacts]]
480-
deps = ["Artifacts", "Pkg"]
481-
uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
482-
483467
[[deps.LibCURL]]
484468
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
485469
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
@@ -511,9 +495,9 @@ uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
511495

512496
[[deps.LinearSolve]]
513497
deps = ["ArrayInterface", "DocStringExtensions", "IterativeSolvers", "KLU", "Krylov", "KrylovKit", "LinearAlgebra", "RecursiveFactorization", "Reexport", "Requires", "SciMLBase", "Setfield", "SparseArrays", "SuiteSparse", "UnPack"]
514-
git-tree-sha1 = "55e98c887e31f5c7a1901328e3f8ccd806024f45"
498+
git-tree-sha1 = "f27bb8e4eabdb93ed3703c55025b111e045ffe81"
515499
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
516-
version = "1.11.3"
500+
version = "1.12.0"
517501

518502
[[deps.LogExpFunctions]]
519503
deps = ["ChainRulesCore", "ChangesOfVariables", "DocStringExtensions", "InverseFunctions", "IrrationalConstants", "LinearAlgebra"]
@@ -570,12 +554,6 @@ version = "1.0.2"
570554
[[deps.Mmap]]
571555
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
572556

573-
[[deps.Mocking]]
574-
deps = ["Compat", "ExprTools"]
575-
git-tree-sha1 = "29714d0a7a8083bba8427a4fbfb00a540c681ce7"
576-
uuid = "78c3b35d-d492-501b-9361-3d52fe80e533"
577-
version = "0.7.3"
578-
579557
[[deps.Modia3D]]
580558
deps = ["Colors", "DataFrames", "DoubleFloats", "FileIO", "JSON", "Libdl", "LinearAlgebra", "Measurements", "MeshIO", "ModiaLang", "MonteCarloMeasurements", "OrderedCollections", "Printf", "Reexport", "StaticArrays", "Test", "TimerOutputs", "UUIDs", "Unitful"]
581559
git-tree-sha1 = "1d69cfedaf19c649042167943c052e3e94104a5f"
@@ -685,9 +663,9 @@ version = "6.6.6"
685663

686664
[[deps.PDMats]]
687665
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"]
688-
git-tree-sha1 = "ee26b350276c51697c9c2d88a072b339f9f03d73"
666+
git-tree-sha1 = "7e2166042d1698b6072352c74cfd1fca2a968253"
689667
uuid = "90014a1f-27ba-587c-ab20-58faa44d9150"
690-
version = "0.11.5"
668+
version = "0.11.6"
691669

692670
[[deps.Parameters]]
693671
deps = ["OrderedCollections", "UnPack"]
@@ -724,10 +702,10 @@ uuid = "1d0040c9-8b98-4ee7-8388-3f51789ca0ad"
724702
version = "0.1.4"
725703

726704
[[deps.Polynomials]]
727-
deps = ["Intervals", "LinearAlgebra", "MutableArithmetics", "RecipesBase"]
728-
git-tree-sha1 = "a1f7f4e41404bed760213ca01d7f384319f717a5"
705+
deps = ["LinearAlgebra", "MutableArithmetics", "RecipesBase"]
706+
git-tree-sha1 = "0107e2f7f90cc7f756fee8a304987c574bbd7583"
729707
uuid = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
730-
version = "2.0.25"
708+
version = "3.0.0"
731709

732710
[[deps.PooledArrays]]
733711
deps = ["DataAPI", "Future"]
@@ -749,9 +727,9 @@ version = "0.2.3"
749727

750728
[[deps.Preferences]]
751729
deps = ["TOML"]
752-
git-tree-sha1 = "2cf929d64681236a2e074ffafb8d568733d2e6af"
730+
git-tree-sha1 = "de893592a221142f3db370f48290e3a2ef39998f"
753731
uuid = "21216c6a-2e73-6563-6e65-726566657250"
754-
version = "1.2.3"
732+
version = "1.2.4"
755733

756734
[[deps.PrettyTables]]
757735
deps = ["Crayons", "Formatting", "Markdown", "Reexport", "Tables"]
@@ -907,9 +885,9 @@ version = "1.20.2"
907885

908886
[[deps.SpecialFunctions]]
909887
deps = ["ChainRulesCore", "IrrationalConstants", "LogExpFunctions", "OpenLibm_jll", "OpenSpecFun_jll"]
910-
git-tree-sha1 = "85e5b185ed647b8ee89aa25a7788a2b43aa8a74f"
888+
git-tree-sha1 = "5ba658aeecaaf96923dce0da9e703bd1fe7666f9"
911889
uuid = "276daf66-3868-5448-9aa4-cd146d93841b"
912-
version = "2.1.3"
890+
version = "2.1.4"
913891

914892
[[deps.Static]]
915893
deps = ["IfElse"]
@@ -1019,12 +997,6 @@ git-tree-sha1 = "f8629df51cab659d70d2e5618a430b4d3f37f2c3"
1019997
uuid = "8290d209-cae3-49c0-8002-c8c24d57dab5"
1020998
version = "0.5.0"
1021999

1022-
[[deps.TimeZones]]
1023-
deps = ["Dates", "Downloads", "InlineStrings", "LazyArtifacts", "Mocking", "Printf", "RecipesBase", "Serialization", "Unicode"]
1024-
git-tree-sha1 = "0f1017f68dc25f1a0cb99f4988f78fe4f2e7955f"
1025-
uuid = "f269a46b-ccf7-5d73-abea-4c690281aa53"
1026-
version = "1.7.1"
1027-
10281000
[[deps.TimerOutputs]]
10291001
deps = ["ExprTools", "Printf"]
10301002
git-tree-sha1 = "97e999be94a7147d0609d0b9fc9feca4bf24d76b"
@@ -1039,9 +1011,9 @@ version = "0.3.0"
10391011

10401012
[[deps.TriangularSolve]]
10411013
deps = ["CloseOpenIntervals", "IfElse", "LayoutPointers", "LinearAlgebra", "LoopVectorization", "Polyester", "Static", "VectorizationBase"]
1042-
git-tree-sha1 = "c3ab8b77b82fd92e2b6eea8a275a794d5a6e4011"
1014+
git-tree-sha1 = "5cbc1a4551fcf8afe8f80bb4f1f13e3271ee2656"
10431015
uuid = "d5829a12-d9aa-46ab-831f-fb7c9ab06edf"
1044-
version = "0.1.9"
1016+
version = "0.1.10"
10451017

10461018
[[deps.UUIDs]]
10471019
deps = ["Random", "SHA"]

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Modia"
22
uuid = "cb905087-75eb-5f27-8515-1ce0ec8e839e"
33
authors = ["Hilding Elmqvist <[email protected]>", "Martin Otter <[email protected]>", "Andrea Neumayr <[email protected]>", "Gerhard Hippmann <[email protected]>"]
4-
version = "0.6.1"
4+
version = "0.7.0"
55

66
[deps]
77
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"

docs/src/index.md

+35-4
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,51 @@ julia> ]add Measurements, MonteCarloMeasurements, Distributions
4343

4444
## Release Notes
4545

46-
### Version 0.6.1
46+
### Version 0.7.0
4747

48-
Non-backwards compatible changes
48+
**Non-backwards** compatible changes (basically, these changes are, erronously, in 0.6.1):
4949

50-
- Equations can only be defined with key `equations` and no other key.
50+
- Equations can only be defined with key `equations` and no other key
51+
(still, expressions can be associated with one variable, such as `b = Var(:(2*a))`).
52+
In versions 0.6.0 and before, equations could be associated with any key.
53+
54+
- The merge operator `|` appends the expression vectors of `equations`, so
55+
`m1 | m2` basically appends the vector of `m2.equations` to the vector of `m1.equations`.
56+
In versions 0.6.0 and before, the merge operator did not handle `equations` specially,
57+
and therefore `m1 | m2` replaced `m1.equations` by `m2.equations`.
5158

5259
- Parameter values in the code are now type cast to the type of the parameter value from the
5360
`@instantiatedModel(..)` call. The benefit is that access of parameter values in the code is type stable
5461
and operations with the parameter value are more efficient and at run-time no memory is allocated.
5562
Existing models can no longer be simulated, if parameter values provided via `simulate!(.., merge=xx)` are not
5663
type compatible to their definition. For example, an error is thrown if the @instantedModel(..) uses a Float64 value and the
5764
`simulate!(.., merge=xx)` uses a `Measurement{Float64}` value for the same parameter
65+
66+
- Operator `buildModia3D(..)` as used in Modia3D models is removed. Instead, the new constructor
67+
`Model3D(..)` must be used at the top level of a Modia3D definition. It is now possible to define
68+
several, independent multibody systems (currently, only one of them can have animation and animation export).
69+
70+
- `Var(init=[...])` or `Var(start=[..])` of FreeMotion joints must be defined as
71+
`Var(init=SVector{3,Float64}(..))` or `Var(start=SVector{3,Float64}(..))`.
72+
Otherwise, errors occur during compilation.
73+
74+
75+
Other changes
76+
77+
- Documentation (especially tutorial) adapted to the new version.
78+
79+
- Examples and test models (Modia/examples, Modia/tests) adapted to the new version, especially
80+
to the non-backwards compatible changes.
81+
82+
- For further changes of equation-based models, see the release notes of [ModiaLang 0.11.0](https://github.com/ModiaSim/ModiaLang.jl/releases/tag/v0.11.0).
83+
84+
- For further changes of Modia3D models, see the release notes of [Modia3D 0.9.0](https://github.com/ModiaSim/Modia3D.jl/releases/tag/v0.9.0).
85+
86+
87+
### Version 0.6.1
5888

59-
Other changes:
89+
This version was erronously released as 0.6.1. Since it contains non-backwards compatible
90+
changes with respect to 0.6.0, this is wrong and should have been released as version 0.7.0.
6091

6192
- See release notes of [ModiaLang](https://github.com/ModiaSim/ModiaLang.jl/releases/tag/v0.11.0) and
6293
of [Modia3D](https://github.com/ModiaSim/Modia3D.jl/releases/tag/v0.9.0).

src/Modia.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Modia main module.
99
module Modia
1010

1111
const path = dirname(dirname(@__FILE__)) # Absolute path of package directory
12-
const Version = "0.6.1"
13-
const Date = "2022-02-23"
12+
const Version = "0.7.0"
13+
const Date = "2022-02-27"
1414

1515
#println(" \n\nWelcome to Modia - Dynamic MODeling and Simulation in julIA")
1616
print(" \n\nWelcome to ")

0 commit comments

Comments
 (0)