Skip to content

Remove Bool verbose compatibility path for v7#3244

Merged
ChrisRackauckas merged 1 commit intoSciML:v7from
ChrisRackauckas-Claude:v7-remove-verbose-bool
Mar 27, 2026
Merged

Remove Bool verbose compatibility path for v7#3244
ChrisRackauckas merged 1 commit intoSciML:v7from
ChrisRackauckas-Claude:v7-remove-verbose-bool

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Summary

  • Remove the Bool compatibility path for the verbose keyword argument, making it a v7 breaking change
  • verbose=true and verbose=false now throw ArgumentError with a message directing users to use DEVerbosity() or SciMLLogging presets (Standard(), None(), etc.)
  • Update default verbose in StochasticDiffEqCore from true to Standard()

Changes

  • lib/OrdinaryDiffEqCore/src/verbosity.jl: _process_verbose_param(::Bool) now throws ArgumentError instead of silently converting
  • lib/StochasticDiffEqCore/src/solve.jl: Default verbose changed from true to Standard(); Bool branch throws ArgumentError
  • lib/DelayDiffEq/src/solve.jl: Bool branch throws ArgumentError
  • Tests updated: All verbose = false in solve/init calls replaced with DEVerbosity(None()); new tests verify Bool is rejected

Closes #2310

Test plan

  • test/interface/verbosity.jl passes (140/140 tests)
  • CI for OrdinaryDiffEqBDF regression tests
  • CI for DelayDiffEq retcode and verbosity tests

🤖 Generated with Claude Code

…nge)

Replace the Bool->DEVerbosity conversion with an ArgumentError that directs
users to use DEVerbosity() or SciMLLogging presets (Standard(), None(), etc.).

Changes:
- OrdinaryDiffEqCore: _process_verbose_param(::Bool) now throws ArgumentError
- StochasticDiffEqCore: default verbose changed from true to Standard(),
  Bool branch in _sde_init throws ArgumentError
- DelayDiffEq: Bool branch in __init throws ArgumentError
- Updated tests to use DEVerbosity(None()) instead of verbose=false
- Added tests verifying Bool verbose is rejected

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit a260c57 into SciML:v7 Mar 27, 2026
5 of 16 checks passed
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