Skip to content

Bump diffrax from 0.7.0 to 0.7.1#187

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot-uv-diffrax-0.7.1
Open

Bump diffrax from 0.7.0 to 0.7.1#187
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot-uv-diffrax-0.7.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 15, 2026

Bumps diffrax from 0.7.0 to 0.7.1.

Release notes

Sourced from diffrax's releases.

Diffrax v0.7.1

Phew, long time between releases! I hope this is what stable software looks like. This release is mostly lots of edge-case bugfixes.

Features

  • SaveAt(steps=<int>) can now be used to save every nth step. Setting this to True (the previous behaviour) still corresponds to saving every step. (Thanks @​alessandrofasse! #625, #626)
  • Events can now be triggered based on the direction of crossing zero. (Thanks @​LuggiStruggi #640, #655)
    • Recall that we have boolean events (an f(y) that terminates the solve at the end of a step once it becomes true) and continuous events (an f(y) that triggers when f(y) = 0, and we do a root-find to get the exact y for which equality holds).
    • Specifically, continuous events can now be set to trigger if zero is reached from above, from below, or from either side (the current default).

Bugfixes

  • v0.7.0 had massively slowed down compilation speeds. This is now fixed. (Thanks @​HeSchatz! #606, #618)
  • Fixed PIDController(..., jump_ts=...), PIDController(..., step_ts=...) and ClipStepSizeController(...) to correctly be treated as adaptive step size controllers. This was particularly important when used with implicit solvers, which would otherwise complain that they need to be paired with an adaptive step size controller. (Thanks @​terhorst! #607, #608, #723)
  • Fixed diffrax.ALIGN to correctly be considered an adaptive step size controller. (Thanks @​lockwo! #670, #674)
  • Fixed a crash that occurred in serialization/distributed scenarios, by replacing is jnp.dtype(bool) with == jnp.dtype(bool). (Thanks @​ArianAmani! #678, #679)
  • Fixed very small timesteps, or very small time intervals, getting undesirably clipped for numerical stability reasons. (Thanks @​jpbrodrick89, @​varchasgopalaswamy, @​aidancrilly! #632, #657, #660, #666. As part of this note that the evolving state for ConstantStepSize has changed. Though as the structure of these states is not considered public then this is not considered a breaking change.)
  • Fixed numerical stability issues sometimes leading to infinite loops when using PIDController(dt_min=..., force_dtmin=True). (Thanks @​philipwijesinghe! #703, #704)
  • Fixed wrong solve behaviour if the t0 of diffeqsolve(t0=...) was exactly 1 ULP before a jump time (ClipStepSizeController(..., jump_ts=...) or PIDController(jump_ts=...)). (Thanks @​FFroehlich! #713, #714)
  • Fixed wrong output when a boolean event is provided, and a root finder is provided, and the boolean event triggers on the first step. (Thanks @​BSnelling! #720, #724)

Misc

New Contributors

Full Changelog: patrick-kidger/diffrax@v0.7.0...v0.7.1

Commits
  • 6efbea5 0.7.1 version bump
  • 4075c88 fix release failing in CI
  • dfd555b remove spurious type in union
  • 96a905e Added Advanced SDE example and a table of SRKs
  • 392f16d Fix #720; bool event + root find + terminate on first step
  • 475c3f4 Fixed case in which t0 is prevbefore a jump time
  • c6d5eb6 avoids accumulation of float precision errors in dt
  • af337f8 fix float error in prev_dt step calculation that led to an infinite loop
  • 24ee3a1 Fix failing test
  • 6321f02 Standardised infra
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [diffrax](https://github.com/patrick-kidger/diffrax) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/patrick-kidger/diffrax/releases)
- [Commits](patrick-kidger/diffrax@v0.7.0...v0.7.1)

---
updated-dependencies:
- dependency-name: diffrax
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Updates to dependency files. label Feb 15, 2026
@dependabot dependabot bot added the dependencies Updates to dependency files. label Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates to dependency files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments