Changelog¶
All notable changes to this project are documented in this file. The format follows Keep a Changelog.
Unreleased¶
Added¶
- Added Python 3.14 support. #104
Changed¶
- Raised the minimum pytest version for the test extra to 9.0.3, which fixes GHSA-6w46-j5rx-g56g.
Removed¶
- Raised the minimum Python version to 3.12. Python 3.10 reached end of life on 2026-10-01, and patched Pillow, filelock, tornado and soupsieve releases require Python 3.11 or newer. JAX 0.11.0 and later require Python 3.12 or newer, so this release also drops Python 3.11.
0.4.0 - 2026-11-30¶
Added¶
-
Added periodic 2-D and 3-D vector Burgers with additive potential noise. #54
-
Added DCT-II and DST-II bounded steppers for diffusion, Allen–Cahn, Cahn–Hilliard and Swift–Hohenberg, with additive convolution increments, bounded energy quadrature and coupled Richardson extrapolation. #83
-
Added a bounded Cahn–Hilliard nucleation example with a paper-scale default preset and a tested, generated capability matrix.
-
Added spectral free-energy functionals and deterministic and Itô energy benchmarks.
-
Added even and odd reflected additive noise, half-grid helpers and weighted Fourier modes. #74
-
Added a stochastic Swift–Hohenberg stepper with additive spectral forcing. #71
-
Added conservative noise spectra and the mass-conserving stochastic Cahn–Hilliard stepper with Cook forcing by default. #56
-
Added periodic 2-D Navier–Stokes vorticity and Kolmogorov-flow steppers with unforced DC and configurable additive spectra. #55
-
Added the
noise_spectrumoption, a physical length scale for Matérn, and inclusive shell bounds for Band. Default noise paths stayed bitwise identical to v0.3.0. #65 -
Exposed the public type aliases
noise.Spectrum,symmetry.Parity,bounded.Boundaryandbounded.NoiseBasis. -
Added the documentation site with generated capability and validation pages. #75
-
Added the 0.4 demo notebooks for the quickstart, Cahn–Hilliard nucleation, Swift–Hohenberg onset, two-dimensional turbulence and KS roughening. #76
Changed¶
-
Kept the existing FFT sampler and its noise stream. The lower-FFT concat candidate passed the law checks and was slower than the existing sampler. Median time reductions were −17.6% in float64 and −46.9% in float32, against a +10% gate. Kept bit-exact replay by leaving the white-noise Euler–Maruyama shortcut and physical-input reuse out of scope. The close-out concluded, “The #21 NamedSharding example covers device sharding.” The performance guide retained that example and documented buffer donation. #22 close-out
-
Clarified the continuum noise screen for vorticity steppers with zero diffusivity. The stochastic mean mode remained unforced. #55
Removed¶
- Breaking: Removed the temporary 0.3 deterministic-name migration errors
and the
exponax_spde.stepper.stochasticimport stub. #63
Fixed¶
- Retained band-edge lattice modes and aligned dealiased drift energies with their Galerkin projection. #74
Upgrading from 0.3¶
Imports through exponax_spde.stepper.stochastic moved to
exponax_spde.stepper or the package root. The
0.3 migration guide listed the replacements for the
removed deterministic names. Default stochastic paths stayed identical.
0.3.0 - 2026-11-28¶
Added¶
-
Added
StochasticAdvectionDiffusionwith phase-aware additive convolutions. On even grids, boundary modes with inconsistent Hermitian symbols are unforced. #53 -
Added additive
StochasticKuramotoSivashinskyand the 1-DStochasticKuramotoSivashinskyConservative. Both default to unforced DC. Diffusion and Burgers now also exposemean_noise. #32 -
StochasticAllenCahnsupports Lie and Strang splitting with the exact collocated reaction flow and additive heat convolution.mean_noise=Falsesuppresses direct DC forcing. #12 -
Added
StochasticDiffusionandStochasticBurgerswith additive Q-Wiener noise, available at the package root and inexponax_spde.stepper. Diffusion uses exact linear drift and Burgers supports 1-D. #32 -
Added a CPU evidence collector for the frozen tests of the new steppers and split schemes. Its output accompanies the Allen–Cahn notebook results. #59
Changed¶
- exponax-spde is a stochastic add-on built on
exponax>=0.2.1,<0.3. Upstream 0.2.1 returns one channel for multidimensional discontinuities and accepts traced sine offsets.TamedPolynomialNonlinearFun,NoiseRegularityWarningandTamingOrderWarningremain available at the root. See the migration guide. #3, exponax PR #110, exponax PR #109
Removed¶
- Breaking: Removed the deterministic exponax copies and re-exports, including
HeatEquation. Useexponax.stepper.Diffusion. The stochastic stepper subpackage moved toexponax_spde.stepper. Removed thedocsandvape4dextras and upstream-only tests and notebooks. #3
Fixed¶
- Completed the temporary 0.3 migration errors for the old stochastic namespace and deterministic nonlinear functions. The errors point to the replacement paths and are scheduled for removal in 0.4.0.
0.2.0 - 2026-11-28¶
Changed¶
-
Minimum supported versions are Python 3.10, JAX 0.6.2, Equinox 0.12.2, jaxtyping 0.2.33, exponax >=0.2.0,<0.3, and matplotlib 3.8.1. The test extra requires pytest 7.0.0 and pytest-cov 2.3.1 or later.
-
Breaking: Additive noise uses the correctly normalised stochastic convolution. Multiplicative noise uses a correctly normalised Wiener increment and an unprojected pointwise product. A fixed
sigmanow has different variance. Use the additive σ migration and multiplicative σ migration to preserve an intended noise scale. Reported by @rcgiri-physics. #4, PR #18, PR #20. - Breaking: Noise parameters must be non-negative. Milstein requires
trace-class noise, with
noise_alpha > num_spatial_dims / 2. #8, PR #25, #4, PR #20. - Deterministic drift orders 1–4 run the complete ETDRK stages, with order 1 as the default. Construction warns when higher order is combined with taming. The stochastic order follows the noise treatment. Reported by @rcgiri-physics. #5, PR #15, #31, PR #35.
- Richardson weak extrapolation keeps only terminal states. Spectrum utilities use the public exponax spectral API. #11, PR #16.
- Development dependencies are locked. CI covers supported dependency floors and schedules slow tests. PR #6, #13, PR #27, PR #28, PR #30.
Added¶
- Ensemble rollouts accept
stride. Higher-order drift with taming emits a public, selectively filterableTamingOrderWarning. PR #38. - Citation metadata in
CITATION.cff. - Release automation builds and smoke-tests distributions before deploying to TestPyPI and PyPI through Trusted Publishing.
- Experimental additive and multiplicative increment APIs support replay, coarsening and coupled paths. #4, PR #18, PR #20.
- Richardson weak extrapolation accepts a weak order and a terminal observable, reports standard errors and offers opt-in paired paths. #10, PR #29.
stochastic_structure_factorestimates the ensemble spectrum without storing trajectories. #11, PR #16.- Ensemble utilities accept
batch_sizeand stochastic rollouts accept a savestride. Added float32 CI coverage and accelerator guidance. #21, PR #24. NoiseRegularityWarningidentifies continuum-unsafe noise for positive diffusivity at construction. #8, PR #25.- The test extra includes physverify for host-side order checks. #19, PR #20.
StochasticAllenCahnis available from the package root. Runnable documentation examples are tested in CI. PR #34.
Fixed¶
- Strongly damped additive modes stay finite under JIT when the deterministic propagator underflows. The multiplicative kick and scalar-centred Milstein correction use the same linear propagator. Reported by @rcgiri-physics. #4, PR #18, PR #20.
- The hybrid Strang scaffold preserves conjugate low Fourier modes in 1–3 dimensions and validates both SSA concentration increments. #7, PR #23.
- Corrected the hybrid SSA and SPDE Milstein citations. #9, PR #26.
- Corrected the README rollout, ensemble and gradient examples. PR #34.
- Regenerated the notebook and four README figures with the corrected noise model and added a text-only validation summary. #17, PR #37.