Repository navigation
Description
Draft release notes for v0.2.0, the first release since v0.1.0 (1 October).
Project.toml already says 0.2.0, so no version bump is needed.
Register after these are merged:
- Fail at the call when a step reads a float parameter from the modifier #981, a step that reads a float parameter from the modifier fails at the call.
- Run the compat-floor CI legs on Julia 1.12 #1036, the compat-floor CI legs on Julia 1.12.
- Update to EpiAwarePackageTools 0.5 #1035, the EpiAwarePackageTools 0.5 standard.
- A cheaper resumed step: the state stays in the run's buffer, a state as one vector, PerStratum histories, and advance! as a proposal #1009, a cheaper resumed step, with the particle filtering page.
- Move to EpiAwarePackageTools 0.5.2: kit benchmark layout, a daily AD tier, and no kit pin #1048, the benchmark side of the kit move, now on kit 0.5.2, with the kit's git pin dropped and the stray Reactant badge removed.
- Bring the docs to the kit writing standard and fix the README links #1056, the light docs rewrite to the kit's writing standard (Forecasting page use advance resume update #1043 and In fitting overview we need to be clear we are fitting tool agnostic ie no reason #1046; Conjugate devolves into maths land #1044 waits on the owner), which also fixes the README's broken docs links.
- AD on Julia 1.12: doubled Enzyme gradient through a symmetric sparse coupling, and the NoAdjoint table cut #1038, the doubled Enzyme gradient (Mark the Symmetric sparse named container broken under Enzyme on Julia 1.12 #1052, an Enzyme bug on Julia 1.12 only, marked broken there) and the NoAdjoint table cut (Route the NoAdjoint twin of the table cut through the wrapper #1049).
- Name the method that keeps an FFTMethod convolution off the device rule #1050, a device call with
FFTMethod()names the method it cannot take. - Time only the convolution body for a revision whose fixtures predate the suite #1061, the benchmark history job on old tags, whose fixtures predate the suite.
- Fix the Reactant growth Jacobian and give the coverage job longer per case #1062, the Reactant growth Jacobian (a regression from Growth under ReverseDiff: no hcat, a valid zero point, and a replay check #1022) and a longer Reactant timeout under coverage.
- Split the reverse AD jobs and raise the AD and downgrade timeouts #1063, sharded reverse AD jobs and longer AD and downgrade timeouts.
- Attach the vec(state) docstring so its references resolve #1064, the
vec(state)docstring, so its references resolve (Docs: the vec(state) reference does not resolve #1057). - Inline the Recurrence keyword constructor so Enzyme static activity holds under coverage #1066 and Share the test_adjoint and chunked items across AD shards, and split Enzyme reverse in three #1067, Enzyme reverse: the
Recurrenceconstructor is inlined so coverage no longer breaks Enzyme's activity analysis, and the job is split in three with the slow package items shared across the parts. - Cap the ad benchmark tier at 1000 samples a gradient so it can deploy #1065, the
adbenchmark tier capped at 1000 samples a gradient so it can deploy.
A registration for v0.2.0 is already open as JuliaRegistries/General#178901, at e1f15189, which predates the merges above.
It was triggered by mistake by an earlier version of this text.
AutoMerge holds it because it has no release notes.
When the list above is done, register again from a comment on this issue with the notes below, so that pull request moves to the right commit.
Do not merge #1051, the automatic bump to 0.2.1. v0.2.0 is not registered yet. Close it once v0.2.0 is registered.
Check that the DOCUMENTER_KEY secret is set first, or the tag publishes no versioned docs.
The wider release gates are in #921.
After registration, once the stable docs are published, merge EpiAware/epiaware.github.io#34, the updated composable recurrences page. Its links point at /stable/, which 404s until then.
Breaking changes
- The minimum Julia version is now 1.12. Julia 1.13 is also supported.
AddandClampare removed. UseTransform(+, b)andTransform(clamp, lo, hi).Transform(*, γ)scales.seededis removed. Passinclude_history = trueto a call to get the history followed by the run.with_stateis removed. Passrecord = Resume()to a call to get(; y, state).recordtakes marker instances,Pressure(),Trace()andResume(), alone or in a tuple. A call withrecordreturns a flat named tuple ofyand one field per marker.- The pure
step(withinitand an optionalstep_pullback) is now the one way to write a modifier. Modifier methods offorwardon theStepandInitroles no longer apply. forwardis renamedforward!. Couplings and modifiers that act on the whole step still extendforward!andpullback!, now for theStep,Init,PressureandTraceroles.Run,ispointwiseandparam_eltypeare no longer public.Depletiontakes its starting pools throughpools =, for examplepools = (S = 100.0,). This replacespool0.- The heterogeneity exponent of a depletion is now the argument
αof its form, for exampleHazard(α). This replaces theheterogeneitykeyword ofDepletion. - A weight on lag 1 of a
Convolutionis now written withlags = 1:length(g). Prepending a zero is no longer needed.
New features
- Operators now run under ForwardDiff, ReverseDiff (tape and compiled), Mooncake, Enzyme and Reactant. ReverseDiff is a supported backend.
- Mooncake and Enzyme rules for the operators load with the
MooncakeandEnzymeextensions.NoAdjointturns the rule off for a call. test_adjointchecks a rule against plain AD. It loads withADTypes,EnzymeandEnzymeTestUtils.gradient_routestimes the gradient of a recurrence by route. It loads withADTypesandDifferentiationInterface.- Executors set where the loops of a call run.
Serial()is the default,Threaded()splits loops across threads andParallel(backend)runs them as kernels.EXECUTORsets one by scope. - Calls run on GPU arrays through the
KernelAbstractionsandGPUArraysextensions, forward and in reverse, for the built-in operators, couplings and modifiers. - Reactant compiles calls on traced arrays, including computed kernels and traces. The
ReactantandKernelAbstractionsextensions run traced loops over strata as one kernel. convert_floats(T, x)converts every float of a model toT, such asFloat32. It loads withFunctors.Convolutiontakesmethod = FFTMethod()to compute the lag sum by fast Fourier transform. The default isDirect(), so loadingFFTWnever changes results. The FFT method loads withFFTW.Recurrence(; modifiers)builds a recurrence with no kernel, which carries the previous value forward. ADepletionwith named pools needs no history.Convolutiontakes a tuple of vectors, one input series per stratum.c'is the transpose of aConvolution, a sum that reads the series forward from each time.reverse(r)runs a recurrence backwards in time.window_sumssums a series over consecutive windows given by their end times.pressure(r, y)computes the pressure of each step from given outputs, with a rule for gradients.growth(r)returns the growth rate and the profile of the exponential history that a recurrence continues.growth_gain(r, rate)returns the gain that gives a given rate.RecurrenceandConvolutiontake parameters as thegainandadd, such asDerived,RecentorGather.Derivedcomputes a parameter from others,Recentreads one from the recurrence's own recent outputs,Gatherreads one at another row so strata can share values, andAbstractParameteris the supertype for your own.- A time-varying coefficient can be given as
start => valuechange points. Depletiontakes several pools, flows between them (Flow,Share,Split) andTruncate, a form that fills a pool.Allocaterescales groups of strata to totals given from outside.Transformapplies a pointwise map and takes its closed-form derivative when given one.- A coupling or a whole-step modifier declared linear with
islinearruns as its matrix. Batched(K)applies one coupling within each batch of strata, for a history with a batch axis.select(state, strata)reorders, repeats or drops the strata of a state or a parameter before the next call.record = Trace()returns what each modifier recorded. A modifier can name its trace rows, andAllocatetraces its imports on request.Survival,IncrementsandNormalisedbuild computed kernels from coefficients.kernel_weightsreturns the weights a call reads, anddelay_massesthe masses of a delay distribution on whole lags.State,SecondaryandGatherare public.- Modifiers can declare that their state never changes with
isstateless, and a modifier written as a purestepruns on every backend and executor.
Fixes
- A call with a bare matrix reads it as strata by time in
Depletion,FlowandAllocate. - A
NaNvalue passes the value checks of a parameter, so a sampler's proposal gives aNaNoutput and not an error. - A modifier given without a tuple is accepted by
Recurrence. - Plain automatic differentiation is no longer used silently where the rule does not apply. The call names what it does not take, such as
FFTMethod()on a device.
Documentation
- The documentation is rewritten with an API overview that defines each concept once, an explanation section and a performance page.
- Tutorials are grouped by theme under Getting started, including a nowcasting tutorial, a conjugate estimate of the reproduction number, vaccination, clinical outcomes and occupancy.
This was opened by a bot. Please ping @seabbs for any questions.
Activity
JuliaRegistrator commentedon Dec 3, 2026
Registration pull request created: JuliaRegistries/General/178901
Recommendation: add release notes
Release notes help your users know what has changed in the new version. For breaking releases in particular, it's recommended to document what breaking changes were made (or point to where changes can be found, such as a changelog).
To add release notes, just add markdown formatted text underneath the comment after the text "Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the release that TagBot creates. i.e.
To add release notes to this registration, just re-invoke JuliaRegistrator and the PR will be updated.
Tagging
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: