ITADN
SciML/SciMLBase.jl

版本发布 8

v2.155.0
? · 2026-04-12

## SciMLBase v2.155.0 [Diff since v2.154.0](https://github.com/SciML/SciMLBase.jl/compare/v2.154.0...v2.155.0) This release has been identified as a backport. Automated changelogs for backports tend to be wildly incorrect. Therefore, the list of issues and pull requests is hidden. <!-- **Merged pull requests:** - Backport Mooncake changes to v2 (#1318) (@ChrisRackauckas-Claude) **Closed issues:** - Remaining Mooncake SymbolicIndexingInterface AD gaps (#1316) -->

v3.2.0
? · 2026-04-11

## SciMLBase v3.2.0 [Diff since v3.1.0](https://github.com/SciML/SciMLBase.jl/compare/v3.1.0...v3.2.0) **Merged pull requests:** - Add Mooncake rrule!! for tmap and responsible_map (#1214) (@ChrisRackauckas-Claude) - Update SciMLBase requirement from 1.74, 2 to 1.74, 2, 3.1 in /docs in the all-julia-packages group across 1 directory (#1312) (@dependabot[bot]) - Unbreak master CI after v3.1.0 bump: runic drift + downstream/python SciMLBase compat (#1315) (@ChrisRackauckas-Claude)

v3.0.0
? · 2026-04-08

## SciMLBase v3.0.0 [Diff since v2.154.0](https://github.com/SciML/SciMLBase.jl/compare/v2.154.0...v3.0.0) ### SciMLBase v3.0.0 — Breaking Release #### RecursiveArrayTools v4: Solution types are now AbstractArrays (#1297) **Most impactful change.** `AbstractVectorOfArray` (and thus `ODESolution`, `DDESolution`, `RODESolution`, `DAESolution`) now subtypes `AbstractArray`: - **`sol[i]` returns the `i`th scalar element** (column-major), not the `i`th timestep. Use `sol.u[i]` or `sol[:, i]` for timesteps. - **`length(sol)` returns total elements** (`prod(size(sol))`). Use `length(sol.u)` for number of timesteps. - **`iterate(sol)` iterates scalar elements**. Use `sol.u` for timestep iteration. - **`map(f, sol)` maps over elements**. Use `map(f, sol.u)` for timesteps. #### Ensemble RNG redesign (#1252) - `prob_func(prob, i, repeat)` → `prob_func(prob, ctx)` where `ctx::EnsembleContext` - `output_func(sol, i)` → `output_func(sol, ctx)` - `EnsembleContext` includes `sim_id`, `repeat`, `rng`, `sim_seed`, `worker_id`, `master_rng` - New `seed`/`rng`/`rng_func` kwargs on `solve()` for deterministic, thread-count-independent ensemble solves #### Removed deprecated APIs - `u_modified!` renamed to `derivative_discontinuity!` (#1289) - Removed `deprecated.jl`: old type aliases (`DEAlgorithm`, `DEProblem`, `DESolution`, etc.), constructors, deprecated accessors (#1291) - Removed backward compat shims in `remake.jl` and MLStyle extension (#1292) - Removed old iterators: `tuples`, `intervals`, `TimeChoiceIterator` (#1290) #### Simplified getproperty - Removed redundant `getproperty` overloads on solution abstract types (#1293) - Removed deprecated `getproperty` aliases (`.destats`, `.x`, `.lb`/`.ub`, `.minimizer`, `.minimum`) (#1294) #### Other breaking changes - Replaced Moshi with plain Julia structs for Clocks — 23% precompilation improvement (#1295) - `ODEFunction` uses `DEFAULT_SPECIALIZATION` (AutoSpecialize) for convenience constructors (#1300) - Propagate `interp`/`dense` to DiffEqArrays from solution callables (#1297) - `is_discrete_time_domain(nothing)` now returns `false` (#1306) #### Migration Guide | Old (v2) | New (v3) | |----------|----------| | `sol[i]` (timestep) | `sol.u[i]` or `sol[:, i]` | | `length(sol)` (timesteps) | `length(sol.u)` | | `for u in sol` | `for u in sol.u` | | `u_modified!(integrator, true)` | `derivative_discontinuity!(integrator, true)` | | `prob_func(prob, i, repeat)` | `prob_func(prob, ctx)` — use `ctx.sim_id`, `ctx.repeat` | | `output_func(sol, i)` | `output_func(sol, ctx)` | | `sol.destats` | `sol.stats` | | `ODEFunction{true}(f)` (FullSpecialize) | Now uses AutoSpecialize by default | **Merged pull requests:** - Ensemble rng redesign (#1252) (@isaacsas) - Propagate interp/dense to DiffEqArrays from solution callables (#1297) (@ChrisRackauckas-Claude) - SciMLBase v3: Breaking changes for RecursiveArrayTools v4 (#1304) (@ChrisRackauckas-Claude) - Fix is_discrete_time_domain(nothing) returning true (#1306) (@ChrisRackauckas-Claude) - Fix method ambiguity between PDETimeSeriesSolution and AbstractDiffEqArray (#1307) (@ChrisRackauckas-Claude) - build: bump Mooncake compat in downstream CI (#1309) (@AayushSabharwal) - Remove redundant Zygote integer-indexing adjoints for ODESolution (#1310) (@ChrisRackauckas-Claude)

v2.148.0
? · 2026-02-28

## SciMLBase v2.148.0 [Diff since v2.147.0](https://github.com/SciML/SciMLBase.jl/compare/v2.147.0...v2.148.0) **Merged pull requests:** - remake MassActionJump test update (#1256) (@isaacsas) - Add ReturnCode.APosterioriSafetyFailure (#1260) (@ChrisRackauckas-Claude)

v2.142.1
? · 2026-02-21

## SciMLBase v2.142.1 [Diff since v2.142.0](https://github.com/SciML/SciMLBase.jl/compare/v2.142.0...v2.142.1) **Merged pull requests:** - Add integrator rng interface (#1240) (@isaacsas) - Fix type instability in remake for AutoSpecialize ODEFunctions (#1242) (@ChrisRackauckas-Claude)

v2.142.0
? · 2026-02-21

## SciMLBase v2.142.0 [Diff since v2.141.0](https://github.com/SciML/SciMLBase.jl/compare/v2.141.0...v2.142.0) **Merged pull requests:** - Support AutoSpecialize with mass matrices, jac, and type-erased remake (#1241) (@ChrisRackauckas-Claude)

v2.140.0
? · 2026-02-20

## SciMLBase v2.140.0 [Diff since v2.139.1](https://github.com/SciML/SciMLBase.jl/compare/v2.139.1...v2.140.0) **Merged pull requests:** - fix: remove ODEProblem constructor rrules causing Zygote Jacobian accumulation (#1237) (@ChrisRackauckas-Claude)

v2.138.0
? · 2026-02-07

## SciMLBase v2.138.0 [Diff since v2.137.0](https://github.com/SciML/SciMLBase.jl/compare/v2.137.0...v2.138.0) **Merged pull requests:** - Change to tune_parameters (#1225) (@ErikQQY)