Skip to content

Commit 2d4b29b

Browse files
committed
Version number changed to 0.8.0, Manifest.toml file and release notes updated
1 parent 723a577 commit 2d4b29b

File tree

3 files changed

+57
-44
lines changed

3 files changed

+57
-44
lines changed

Manifest.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -496,10 +496,10 @@ version = "1.0.2"
496496
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
497497

498498
[[deps.ModiaBase]]
499-
deps = ["DataFrames", "DiffRules", "LinearAlgebra", "Measurements", "MonteCarloMeasurements", "OrderedCollections", "RecursiveFactorization", "StaticArrays", "TimerOutputs", "Unitful"]
500-
git-tree-sha1 = "e32f09c491f569f254d3c7776326539f4b3c5f24"
499+
deps = ["DataFrames", "DiffRules", "Measurements", "MonteCarloMeasurements", "OrderedCollections", "StaticArrays", "Unitful"]
500+
git-tree-sha1 = "4562d56ff6b2fe5b78ef0995e478e8b734e24f2a"
501501
uuid = "ec7bf1ca-419d-4510-bbab-199861c55244"
502-
version = "0.9.2"
502+
version = "0.10.0"
503503

504504
[[deps.ModiaResult]]
505505
deps = ["DataFrames", "Measurements", "MonteCarloMeasurements", "OrderedCollections", "Pkg", "Tables", "Unitful"]

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ FiniteDiff = "2"
3232
ForwardDiff = "0.10"
3333
JSON = "0.21"
3434
Measurements = "2"
35-
ModiaBase = "0.10, 0.9.2"
35+
ModiaBase = "0.10"
3636
ModiaResult = "0.4.1"
3737
MonteCarloMeasurements = "1"
3838
OrderedCollections = "1"

docs/src/index.md

+53-40
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,35 @@ Note, Modia exports all exported symbols of
3434

3535
### Version 0.8.0
3636

37-
**Non-backwards** compatible changes:
38-
39-
- ModiaLang#main 0.11.3 and ModiaLang#development merged into Modia 0.7.0
40-
(hereby preserving history of both ModiaLang and of Modia).
41-
42-
- Removing all Modia3D references from Modia
43-
44-
45-
46-
37+
**Non-backwards** compatible changes
38+
39+
The Modia packages are slightly restructured to allow more efficient operations.
40+
Previously, Modia was planned to include all the functionality with all model libraries.
41+
This is now changed and Modia includes now equation-oriented modeling and basic model libraries.
42+
Further model libraries, such as Modia3D (and other model libraries in the future) must be
43+
explicitly imported and are no longer automatically imported by Modia.
44+
To simplify the structuring, ModiaLang is merged into Modia
45+
and some functionality for the code generation is moved from ModiaBase to Modia.
46+
Overall, the benefit is that loading and compilation times are reduced, if Modia3D is not needed.
47+
Furthermore, the generated code contains only references to Modia functionality and no longer to ModiaBase.
48+
Details of the changes:
49+
50+
- ModiaLang#main 0.11.3 and ModiaLang#development merged into Modia 0.7.0 resulting
51+
in the new Modia version 0.8.0 (hereby history of both ModiaLang and of Modia is preserved).
52+
53+
- Modia3D is removed from Modia (so when a model is using Modia3D, the package must be explicitly imported
54+
and is no longer automatically imported from Modia).
4755

56+
- Require ModiaBase 0.10 (where EquationAndStateInfo.jl and StateSelection.jl are removed and
57+
added to Modia, in order that only references to Modia are in the generated code and no longer
58+
references to ModiaBase).
59+
4860

61+
## Old Release Notes (until 28.2.2022)
4962

50-
## Release Notes of Modia (until Feb. 28, 2022)
63+
### Release Notes of Modia (until 28.2.2022)
5164

52-
### Version 0.7.0
65+
#### Version 0.7.0
5366

5467
**Non-backwards** compatible changes (basically, these changes are, erronously, in 0.6.1):
5568

@@ -90,7 +103,7 @@ Other changes
90103
- 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).
91104

92105

93-
### Version 0.6.1
106+
#### Version 0.6.1
94107

95108
This version was erronously released as 0.6.1. Since it contains non-backwards compatible
96109
changes with respect to 0.6.0, this is wrong and should have been released as version 0.7.0.
@@ -103,46 +116,46 @@ changes with respect to 0.6.0, this is wrong and should have been released as ve
103116
- docu: fix some typing and formatting
104117

105118

106-
### Version 0.6.0
119+
#### Version 0.6.0
107120

108121
- Modia is restricted to Julia 1.7
109122
- cyclic dependencies with Modia3D package are removed
110123

111124

112-
### Version 0.5.2
125+
#### Version 0.5.2
113126

114127
- Fully reexporting Modia3D and removing duplicate ModiaInterface (see [Modia3D release notes 0.6.0](https://github.com/ModiaSim/Modia3D.jl/releases/tag/v0.6.0)).
115128

116-
### Version 0.5.1
129+
#### Version 0.5.1
117130

118131
- Using and reexporting ModiaLang 0.8.3 (see [release notes 0.8.3 and 0.8.2](https://github.com/ModiaSim/ModiaLang.jl/releases)).
119132
- Using and partially reexporting Modia3D 0.5.1 (see [release notes 0.5.1](https://github.com/ModiaSim/Modia3D.jl/releases/tag/v0.5.1)).
120133

121134

122135

123-
### Version 0.5.0
136+
#### Version 0.5.0
124137

125138
- Using and reexporting ModiaLang 0.8.1 (see [release notes](https://modiasim.github.io/ModiaLang.jl/stable/)).
126139
- Using and partially reexporting Modia3D 0.5.0 (see [release notes](https://modiasim.github.io/Modia3D.jl/stable/#Release-Notes)).
127140
- New plot package interface via [ModiaResult](https://github.com/ModiaSim/ModiaResult.jl). Additional support for PyPlot, WGLMakie, CairoMakie (besides GLMakie).
128141

129142

130-
### Version 0.4.0
143+
#### Version 0.4.0
131144

132145
- Initial version of new Modia design.
133146

134147

135-
## Release Notes of ModiaLang (until Feb. 28, 2022)
148+
### Release Notes of ModiaLang (until 28.2.2022)
136149

137-
### Version 0.11.3
150+
#### Version 0.11.3
138151

139152
- @instantiateModel(..): `Var(hideResult=true)` is no longer ignored if present in a sub-component.
140153

141154
- simulate!(..): Unnecessary evaluation of the parameters dictionary is avoided
142155
(if merge = missing, nothing or has no elements).
143156

144157

145-
### Version 0.11.2
158+
#### Version 0.11.2
146159

147160
- Minor (efficiency) improvement if states are SVectors.
148161

@@ -151,13 +164,13 @@ changes with respect to 0.6.0, this is wrong and should have been released as ve
151164
- Replace ustrip(..) with ustrip.(..) at some places to get rid of warnings.
152165

153166

154-
### Version 0.11.1
167+
#### Version 0.11.1
155168

156169
- Update of Manifest.toml file
157170
- Require ModiaBase 0.9.1 (with updated Manifest.toml file)
158171

159172

160-
### Version 0.11.0
173+
#### Version 0.11.0
161174

162175
Non-backwards compatible changes
163176

@@ -223,20 +236,20 @@ Bug fixes
223236
- Function `ModiaLang.firstInitialOfAllSegments(..)` now correctly returns true for the first call of the getDerivatives function during the simulation.
224237

225238

226-
### Version 0.10.2
239+
#### Version 0.10.2
227240

228241
- Minor (efficiency) improvement if states are SVectors.
229242
- Require ModiaBase 0.9.2 (to get rid of performance issues in Modia3D).
230243
- Replace ustrip(..) with ustrip.(..) at some places to get rid of warnings.
231244

232245

233-
### Version 0.10.1
246+
#### Version 0.10.1
234247

235248
- Update of Manifest.toml file
236249
- Require ModiaBase 0.9.1 (with updated Manifest.toml file).
237250

238251

239-
### Version 0.10.0
252+
#### Version 0.10.0
240253

241254
- Require DifferentialEquations.jl version 7.
242255
- Cleanup of using/export
@@ -247,36 +260,36 @@ Bug fixes
247260
- Change `SimulationModel{FloatType,ParType,EvaluatedParType,TimeType}` to `SimulationModel{FloatType,TimeType}`
248261

249262

250-
### Version 0.9.1
263+
#### Version 0.9.1
251264

252265
- New function plotPath to plot a PTP_path
253266
- Replace ustrip(..) with ustrip.(..) at some places to get rid of warnings.
254267
- Include time in error message, if simulation failed
255268

256269

257-
### Version 0.9.0
270+
#### Version 0.9.0
258271

259272
- Require Julia 1.7
260273
- Upgrade Manifest.toml to version 2.0
261274
- Update Project.toml/Manifest.toml
262275

263276

264277

265-
### Version 0.8.7
278+
#### Version 0.8.7
266279

267280
- Packages used in test models, prefixed with ModiaLang. to avoid missing package errors.
268281
- Deactivating test with DoubleFloats, since not in Project.toml
269282
- Version/date updated
270283

271284

272285

273-
### Version 0.8.6
286+
#### Version 0.8.6
274287

275288
- Require ModiaResult, version 0.3.9
276289
- Project.toml/Manifest.toml updated
277290

278291

279-
### Version 0.8.5
292+
#### Version 0.8.5
280293

281294
- simulate!(..):
282295
- Trigger an error, if simulation is not successful (retcode is neither :Default nor :Success nor :Terminate)
@@ -293,7 +306,7 @@ Bug fixes
293306
- Fixing and activating the deactivated test TestTwoInertiasAndIdealGearWithUnitsAndMonteCarlo.jl.
294307

295308

296-
### Version 0.8.4
309+
#### Version 0.8.4
297310

298311
- FloatType is included in the name space of Core.eval when evaluating parameters.
299312

@@ -304,14 +317,14 @@ Bug fixes
304317
- Print difference of finalStates and requiredFinalStates in case they do not match with the given tolerance.
305318

306319

307-
### Version 0.8.3
320+
#### Version 0.8.3
308321

309322
- Project.toml, Manifest.toml updated: Require newest version 0.7.7 of ModiaBase (containing a bug fix)
310323

311324
- Minor correction of simulate!(log=true) output
312325

313326

314-
### Version 0.8.2
327+
#### Version 0.8.2
315328

316329
- Issue with tearing fixed: Variables are only explicitly solved, if linear factor is a non-zero literal number
317330
(previously a division by zero could occur, if the linear factor became zero during simulation).
@@ -342,14 +355,14 @@ Bug fixes
342355
and improved Project.toml file to reduce issues with package constraints
343356

344357

345-
### Version 0.8.1
358+
#### Version 0.8.1
346359

347360
- Added a minimal documentation, including release notes.
348361
- No message anymore, when ModiaLang is started.
349362
- Fixed bug that `using ModiaResult` is needed, when calling `@usingModiaPlot`.
350363

351364

352-
### Version 0.8.0
365+
#### Version 0.8.0
353366

354367
- Improved scalability by using OrderedDicts instead of named tuples for models, variables and parameter modifications.
355368
- Speed improvements for structural and symbolic algorithms.
@@ -387,19 +400,19 @@ Changes that are **not backwards compatible** to version 0.7.x:
387400
- Plotting is defined slightly differently (`@useModiaPlot`, instead of `using ModiaPlot`).
388401

389402

390-
### Version 0.7.3
403+
#### Version 0.7.3
391404

392405
- Evaluation and propagation of parameter expressions (also in simulate!(..., merge=Map(...))).
393406
Propagation of start/init values of states is not yet supported.
394407

395408
- State events supported.
396409

397410

398-
### Version 0.7.2
411+
#### Version 0.7.2
399412

400413
- Missing dependency of Test package added.
401414

402-
### Version 0.7.1
415+
#### Version 0.7.1
403416

404417
- Variable constructor `Var(...)` introduced. For example:
405418
`v = input | Var(init = 1.2u"m")`.
@@ -420,7 +433,7 @@ Changes that are **not backwards compatible** to version 0.7.x:
420433

421434
- Functions docu improved.
422435

423-
### Version 0.7.0
436+
#### Version 0.7.0
424437

425438
- Initial version, based on code developed for Modia 0.6 and ModiaMath 0.6.
426439

0 commit comments

Comments
 (0)