Skip to content

Commit

Permalink
Merge pull request #1077 from CliMA/ar/bump-v0.43.0
Browse files Browse the repository at this point in the history
Bump v0.43.0
  • Loading branch information
glwagner authored Oct 20, 2020
2 parents 58a99b0 + 688feaa commit 232aab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Oceananigans"
uuid = "9e8cae18-63c1-5223-a75c-80ca9d6e9a09"
version = "0.42.0"
version = "0.43.0"

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

2 comments on commit 232aab2

@glwagner
Copy link
Member Author

@glwagner glwagner commented on 232aab2 Oct 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

  • Fixes a bug in TwoDimensionalLeith (PR TendencyTermField (or something like it) for diagnosing exact tendency terms and fluxes #1073, issue Bug in TwoDimensionalLeith closure #1034). Previously tests were being skipped due to extreme slowness. Now we run tests on GPU (but not CPU, where the closure is much slower to compile).

  • Rewrites the interface for "scheduling" output and diagnostics (PR AbstractSchedules for scheduling output and diagnostics #1070). Previously output and diagnostics were usually scheduled by specifying either time_interval or iteration_interval kwargs in the constrcutor for the object in question. Now, the relevant kwarg is called schedule and takes a callable AbstractSchedule object (or any user-defined function func that returns true or false depending on the single argument func(model)). This design is more flexible and extensible, and also simplifies underlying code. Four schedules are provided:

    • TimeInterval(interval)
    • IterationInterval(interval)
    • WallTimeInterval(interval)
    • AveragedTimeInterval(interval; window=interval, stride=1) (for time-averaging output).

Breaking changes:

  • Output writers and diagnostics no longer have the keyword arguments time_interval or iteration_interval. The most commonly-used features that are affected are JLD2OutputWriter, NetCDFOutputWriter, and Checkpointer. JLD2OutputWriter and NetCDFOutputWriter no longer have the kwargs time_averaging_window and time_averaging_stride. The specific syntax changes are:

    • time_interval=T becomes schedule=TimeInterval(T)
    • iteration_interval=I becomes schedule=IterationInterval(I)
    • time_interval=T, time_averaging_window=W becomes schedule=AveragedTimeInterval(T, window=W).

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/23319

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.43.0 -m "<description of version>" 232aab2b8c3dc5cf6bc59931a197fde588d6be57
git push origin v0.43.0

Please sign in to comment.