Skip to content

Commit 8ca2c37

Browse files
committed
Bump to 0.14.19
1 parent 9ab3c3f commit 8ca2c37

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

NEWS.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,33 @@ main
66

77
- Fixed world-age issue on Julia 1.11 issue [Julia#54780](https://github.com/JuliaLang/julia/issues/54780), PR [#2034](https://github.com/CliMA/ClimaCore.jl/pull/2034).
88

9+
v0.14.19
10+
-------
11+
12+
### ![][badge-🐛bugfix] Fix undefined behavior in `DataLayout`s
13+
14+
PR [#2034](https://github.com/CliMA/ClimaCore.jl/pull/2034) fixes some undefined
15+
behavior in the `DataLayout` module. This bug was manifesting itself as a `world
16+
age` error in some applications that are using Julia 1.11.
17+
18+
### ![][badge-✨feature/enhancement] New convenience constructors for `DataLayout`s
19+
20+
PR [#2033](https://github.com/CliMA/ClimaCore.jl/pull/2033) introduces new
21+
constructors for `DataLayout`s. Instead of writing
22+
```julia
23+
array = rand(FT, Nv, Nij, Nij, 3, Nh)
24+
data = VIJFH{S, Nv, Nij}(array)
25+
```
26+
27+
You can now write
28+
```julia
29+
data = VIJFH{S}(ArrayType{FT}, rand; Nv, Nij, Nh)
30+
```
31+
and grab the `array` with `parent(data)` (if you need).
32+
33+
Note: These constructors are meant to be used in tests and interactive use, not
34+
in performance sensitive modules (due to their lack of inferrability).
35+
936
v0.14.18
1037
-------
1138

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ClimaCore"
22
uuid = "d414da3d-4745-48bb-8d80-42e94e092884"
33
authors = ["CliMA Contributors <clima-software@caltech.edu>"]
4-
version = "0.14.18"
4+
version = "0.14.19"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

0 commit comments

Comments
 (0)