Skip to content

[pull] master from SciML:master - #71

Merged
pull[bot] merged 1 commit into
juliamatlab:masterfrom
SciML:master
Aug 24, 2026
Merged

pull[bot] merged 1 commit into
juliamatlab:masterfrom
SciML:master

Conversation

@pull

@pull pull Bot commented Aug 24, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

`Document MATLAB solver API and enable strict QA` (4fdd039, #94) dropped
`@reexport using DiffEqBase` from src/MATLABDiffEq.jl. That reexport was the only
thing putting `ODEProblem`, `solve`, `ReturnCode` and the rest of the common
interface into scope, so the README's documented workflow

    using MATLABDiffEq, ParameterizedFunctions
    prob = ODEProblem(f, u0, tspan)
    sol = solve(prob, MATLABDiffEq.ode45())

stopped working with `UndefVarError`. The same commit is its own best evidence:
it had to rewrite both README examples to
`using MATLAB, MATLABDiffEq, ParameterizedFunctions, SciMLBase` and to write the
new docs/src/index.md example as `using MATLABDiffEq, SciMLBase`. Papering over
the documentation is not the same as keeping the interface.

Rather than restore the blanket reexport (420 names, most of them for equation
classes MATLAB's ODE suite cannot solve), export exactly the interface a user
works with:

  * the problem, function and solution types for ODEs, the only class `__solve`
    accepts here: `ODEProblem`, `ODEFunction`, `ODESolution`, plus `DEStats` and
    `NullParameters`;
  * `solve` and `remake`;
  * `ReturnCode` and `successful_retcode`;
  * the ensemble types, which drive `solve` generically.

Deliberately left out: DAE/SDE/DDE and every other non-ODE problem type, the
callbacks (`__solve` errors with "Callbacks are not supported in
MATLABDiffEq.jl"), and the integrator interface (MATLABDiffEq implements
`__solve` only). Those names error identically before and after. The MATLAB
algorithms themselves stay `@public` but unexported, so they are still written
qualified as `MATLABDiffEq.ode45()`.

Restore both README examples to `using MATLABDiffEq, ParameterizedFunctions` and
the docs/src/index.md example to a bare `using MATLABDiffEq`.

Document the reexported surface on a new rendered API page, docs/src/api.md,
grouped by role with SciMLBase named and linked as the owner of every name, a
closing boundary line, and the reasoning for each deliberate omission. Wire the
page into docs/make.jl.

The list is declared through `reexports_allow` in test/qa/qa.jl and covered by a
test that every approved name is in `names(MATLABDiffEq)` and actually in scope
from `using MATLABDiffEq`, so the docs list, the `export` block and the
allow-list cannot drift apart.

Adding back names that used to be exported is not breaking.



Claude-Session: https://claude.ai/code/session_01Rmh6B9eoW3N8oCbuuVPVxJ

Co-authored-by: Claude <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Aug 24, 2026
@pull pull Bot added the ⤵️ pull label Aug 24, 2026
@pull
pull Bot merged commit 803fb57 into juliamatlab:master Aug 24, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant