Skip to content

Commit 4704699

Browse files
authored
Merge pull request #2037 from CliMA/gb/bump
Release 0.14.19 and add julia 1.11 to CI
2 parents 9ab3c3f + e0aa5c2 commit 4704699

File tree

4 files changed

+39
-13
lines changed

4 files changed

+39
-13
lines changed

.github/workflows/Downstream.yml

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- uses: julia-actions/setup-julia@v2
3737
with:
3838
version: '1.10'
39+
version: '1.11'
3940
- uses: julia-actions/cache@v2
4041
- uses: julia-actions/julia-buildpkg@v1
4142
- uses: actions/checkout@v4

.github/workflows/UnitTests.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,25 @@ concurrency:
1818
jobs:
1919
test:
2020
timeout-minutes: 80
21+
name: ci ${{ matrix.version }} - ${{ matrix.os }}
22+
runs-on: ${{ matrix.os }}
2123
strategy:
2224
fail-fast: false
2325
matrix:
24-
include:
25-
- os: ubuntu-latest
26-
julia-version: '1.10'
27-
- os: windows-latest
28-
julia-version: '1.10'
29-
- os: macos-latest
30-
julia-version: '1.10'
31-
- os: ubuntu-latest
32-
julia-version: '~1.11.0-0'
33-
34-
runs-on: ${{ matrix.os }}
26+
version:
27+
- '1.10'
28+
- '1.11'
29+
os:
30+
- ubuntu-latest
31+
- macOS-latest
32+
- windows-latest
3533

3634
steps:
3735
- name: Checkout
3836
uses: actions/checkout@v4
3937
- uses: julia-actions/setup-julia@v2
4038
with:
41-
version: ${{ matrix.julia-version }}
39+
version: ${{ matrix.version }}
4240
- uses: julia-actions/cache@v2
4341
- uses: julia-actions/julia-buildpkg@latest
4442
- uses: julia-actions/julia-runtest@latest

NEWS.md

+27
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

+1-1
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)