Skip to content

Bump SciMLBase compat to v3 and RecursiveArrayTools to v4#909

Merged
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:scimlbase-v3-compat
Apr 9, 2026
Merged

Bump SciMLBase compat to v3 and RecursiveArrayTools to v4#909
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:scimlbase-v3-compat

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Summary

Breaking changes audit

Verified that NonlinearSolve does not use any APIs removed in SciMLBase v3:

Removed API Used in NonlinearSolve?
u_modified! (→ derivative_discontinuity!) No
Type aliases DEAlgorithm, DEProblem, DESolution, SciMLSolution No
AbstractDEAlgorithm (still exists in v3, only short aliases removed) Used ✓ safe
Deprecated solution accessors .destats, .minimizer, .minimum, .prob .minimizer used only on LeastSquaresOptim/SpeedMapping results, not SciMLBase solutions. .prob used on NonlinearSolve's own cache types.
symbol_to_ReturnCode, sys_or_symbolcache No
Old iterators tuples(), intervals() No
Solution AbstractArray indexing changes ODE solution in tests uses callable interpolation sol(t)[i], not direct indexing
nout/batch kwargs, syms/paramsyms/indepsym kwargs No

No code changes required — only compat bound updates.

Test plan

  • CI passes with existing SciMLBase v2.x (compat allows both v2 and v3)
  • Once upstream deps (LinearSolve, LineSearch, etc.) also bump, SciMLBase v3 will resolve and CI should pass

🤖 Generated with Claude Code

…e v4

Update compat bounds across all subpackages to allow SciMLBase v3.0.
NonlinearSolve does not use any of the APIs removed in SciMLBase v3:
- No u_modified! (renamed to derivative_discontinuity!)
- No deprecated type aliases (DEAlgorithm, DEProblem, DESolution)
- No deprecated solution accessors (.destats, .minimizer on SciMLBase solutions)
- AbstractDEAlgorithm (used in NonlinearSolveBase) still exists in v3
- ODE solution usage in tests uses callable interpolation, not direct indexing

Also bumps RecursiveArrayTools compat in NonlinearSolveBase to include v4,
which is required by SciMLBase v3.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit 0f6a7a4 into SciML:master Apr 9, 2026
116 of 128 checks passed
ChrisRackauckas added a commit that referenced this pull request Apr 9, 2026
Patch version bumps for all subpackages to release the SciMLBase v3
and RecursiveArrayTools v4 compat bound changes from PR #909.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants