close
Skip to content

Tags: JuliaDiff/ForwardDiff.jl

Tags

v1.3.3

Toggle v1.3.3's commit message
[Diff since v1.3.2](v1.3.2...v1.3.3)

**Merged pull requests:**
- Bump julia-actions/cache from 2 to 3 (#796) (@dependabot[bot])
- Avoid reshape allocation in extract_jacobian! for Matrix results (#797) (@ChrisRackauckas-Claude)

v1.3.2

Toggle v1.3.2's commit message
[Diff since v1.3.1](v1.3.1...v1.3.2)

**Merged pull requests:**
- Update documentation formatting and infrastructure (#792) (@abhro)
- Remove explicit `!=` methods for Dual (#793) (@JamesWrigley)

v1.3.1

Toggle v1.3.1's commit message
[Diff since v1.3.0](v1.3.0...v1.3.1)

**Merged pull requests:**
- Bump actions/checkout from 5 to 6 (#786) (@dependabot[bot])
- Define `<` and `isless` for `Partials` (#791) (@devmotion)

v1.3.0

Toggle v1.3.0's commit message
[Diff since v1.2.2](v1.2.2...v1.3.0)

**Merged pull requests:**
- Add derivative rule for `LinearAlgebra.givensAlgorithm` (#783) (@devmotion)

**Closed issues:**
- Method ambiguities reported by Aqua (#681)

v1.2.2

Toggle v1.2.2's commit message
[Diff since v1.2.1](v1.2.1...v1.2.2)

**Merged pull requests:**
- Backport #770 to ForwardDiff 0.10 (#773) (@devmotion)
- CI tests with NaN-safe mode (#776) (@devmotion)
- Fix NaN-safe mode (#777) (@devmotion)
- Avoid non-lazy string interpolation and replace `@assert` with `ArgumentError` (#779) (@devmotion)
- Bump version from 1.2.1 to 1.2.2 (#782) (@devmotion)

**Closed issues:**
- Allocation tests broken since Julia 1.9 (#689)
- NaN gradient occurring in `SpecialFunctions.gamma`, when using float arguments. (#705)
- Product of Inf terms leading to NaNs (#745)
- NaN-safe mode is not NaN-safe enough (#774)
- Zero code coverage for NaN-safe mode (#775)
- `JET.@test_opt` fails on Julia >= 1.12 due to `AssertionError`s (#778)
- Type stability of gradient and jacobian (#781)

v0.10.39

Toggle v0.10.39's commit message
[Diff since v0.10.38](v0.10.38...v0.10.39)

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:**
- Update how_it_works.md (#672) (@vpuri3)
- Specialize on functions in StaticArrays extension (#721) (@devmotion)
- Remove CI check for invalidations (#722) (@devmotion)
- Bump codecov/codecov-action from 4 to 5 (#723) (@dependabot[bot])
- Bump version to 1.0.0 (#729) (@devmotion)
- Update CI (#730) (@devmotion)
- Require Julia v1.10+ (#731) (@dlfivefifty)
- Fix typo in DerivativeConfig docs (#733) (@gdalle)
- use `Base.Fix1` instead of closures in `ForwardDiffStaticArraysExt.jl` (#735) (@jondeuce)
- Do not seed structural zeros (#739) (@devmotion)
- Fix seeding with undefined elements (#743) (@devmotion)
- Add `SmallTag` type for more compact `Dual` types (#748) (@topolarity)
- improve performance of hessians with static arrays (#751) (@longemen3000)
- Add section in docs about limitation for functions composed of non-differentiable functions (#753) (@JoshuaLampert)
- Also test zero allocations on 1.10 (#754) (@andreasnoack)
- Fix formatting in docs (#755) (@JoshuaLampert)
- Update badges in README.md (#763) (@andreasnoack)
- Update ci.yml to test on windows and mac as well (#764) (@ViralBShah)
- Revert "Add `SmallTag` type for more compact `Dual` types" (#765) (@oscardssmith)
- Adjust version to 1.1.0 (#766) (@devmotion)
- Fix tests by using tag types instead of instances (#768) (@devmotion)
- Fix gradient and Jacobian for functions with `Dual` output (#770) (@devmotion)
- prevent adding methods to the functions `>` and `>=` (#771) (@nsajko)
- v1.2.0 (#772) (@nsajko)
- Backport #770 to ForwardDiff 0.10 (#773) (@devmotion)

**Closed issues:**
- Duals and ranges (#275)
- Compiletime for tensor very slow (#278)
- gradients of hessians with divisions (#285)
- printf formatting causes stack overflow (#289)
- Incorrect computation of Hessian of squared euclidean norm (#303)
- FieldVectors (#305)
- Problem with `abs` (#377)
- Manually preventing perturbation confusion (#423)
- Jacobian of in-place functions in presence of undefined references (#436)
- Complex valued pow gives stackoverflow error (#486)
- Complex derivative of power fails (#514)
- Replace values of Duals with other numbers (#526)
- Thread Safety of ForwardDiff.GradientConfig (#573)
- use StaticArraysCore.jl (#591)
- Violating assumptions about Dual comparisons (#609)
- ERROR: MethodError: no method matching Float32(::ForwardDiff.Dual{ForwardDiff.Tag{var"#11#12", Float32}, Float32, 12}) (#611)
- Derivative is wrong for this inverse quadratic form (#633)
- Different results on Intel vs. AMD with ForwardDiff (#636)
- Type instability in jacobian! filling JacobianResult when using StaticArrays (#639)
- incorrect 2nd derivative of complex exponential (#653)
- Can you take derivative of complicated function whose symbolic form is not explicit or not known? (#654)
- Derivative of a function of derivatives (#673)
- ERROR: Package ForwardDiff errored during testing (#700)
- Tag v1.0 (#719)
- Performance issue/allocations in DiffResults-hessian! with StaticArrays. (#720)
- Modification of equality checking between two Duals not synchronized between master and last release (#726)
- Throwing errors after 1000 time steps simulation (#736)
- Matrix inverse is broken (#737)
- UpperTriangular / LowerTriangular broken on 1.0.0 (#738)
- Why is seeding `ydual` necessary? (#740)
- searchsortedfirst of dual returning wrong result (#742)
- `ForwardDiff.gradient` and `ForwardDiff.jacobian` don't handle functions with `ForwardDiff.Dual` output correctly (#769)

-->

v1.2.1

Toggle v1.2.1's commit message
[Diff since v1.2.0](v1.2.0...v1.2.1)

**Merged pull requests:**
- Fix gradient and Jacobian for functions with `Dual` output (#770) (@devmotion)

**Closed issues:**
- `ForwardDiff.gradient` and `ForwardDiff.jacobian` don't handle functions with `ForwardDiff.Dual` output correctly (#769)

v1.2.0

Toggle v1.2.0's commit message
[Diff since v1.1.0](v1.1.0...v1.2.0)

**Merged pull requests:**
- improve performance of hessians with static arrays (#751) (@longemen3000)
- Fix tests by using tag types instead of instances (#768) (@devmotion)
- prevent adding methods to the functions `>` and `>=` (#771) (@nsajko)
- v1.2.0 (#772) (@nsajko)

**Closed issues:**
- Performance issue/allocations in DiffResults-hessian! with StaticArrays. (#720)

v1.1.0

Toggle v1.1.0's commit message
[Diff since v1.0.1](v1.0.1...v1.1.0)

**Merged pull requests:**
- Update CI (#730) (@devmotion)
- Require Julia v1.10+ (#731) (@dlfivefifty)
- Fix seeding with undefined elements (#743) (@devmotion)
- Add `SmallTag` type for more compact `Dual` types (#748) (@topolarity)
- Add section in docs about limitation for functions composed of non-differentiable functions (#753) (@JoshuaLampert)
- Also test zero allocations on 1.10 (#754) (@andreasnoack)
- Fix formatting in docs (#755) (@JoshuaLampert)
- Update badges in README.md (#763) (@andreasnoack)
- Update ci.yml to test on windows and mac as well (#764) (@ViralBShah)
- Revert "Add `SmallTag` type for more compact `Dual` types" (#765) (@oscardssmith)
- Adjust version to 1.1.0 (#766) (@devmotion)

**Closed issues:**
- Incorrect computation of Hessian of squared euclidean norm (#303)
- Manually preventing perturbation confusion (#423)
- Jacobian of in-place functions in presence of undefined references (#436)
- Why is seeding `ydual` necessary? (#740)
- searchsortedfirst of dual returning wrong result (#742)

v1.0.1

Toggle v1.0.1's commit message
[Diff since v1.0.0](v1.0.0...v1.0.1)

**Merged pull requests:**
- Update how_it_works.md (#672) (@vpuri3)
- Bump codecov/codecov-action from 4 to 5 (#723) (@dependabot[bot])
- Do not seed structural zeros (#739) (@devmotion)

**Closed issues:**
- Duals and ranges (#275)
- Compiletime for tensor very slow (#278)
- gradients of hessians with divisions (#285)
- printf formatting causes stack overflow (#289)
- FieldVectors (#305)
- Problem with `abs` (#377)
- Complex valued pow gives stackoverflow error (#486)
- Complex derivative of power fails (#514)
- Replace values of Duals with other numbers (#526)
- Thread Safety of ForwardDiff.GradientConfig (#573)
- use StaticArraysCore.jl (#591)
- Violating assumptions about Dual comparisons (#609)
- ERROR: MethodError: no method matching Float32(::ForwardDiff.Dual{ForwardDiff.Tag{var"#11#12", Float32}, Float32, 12}) (#611)
- Derivative is wrong for this inverse quadratic form (#633)
- Different results on Intel vs. AMD with ForwardDiff (#636)
- Type instability in jacobian! filling JacobianResult when using StaticArrays (#639)
- incorrect 2nd derivative of complex exponential (#653)
- Derivative of a function of derivatives (#673)
- ERROR: Package ForwardDiff errored during testing (#700)
- UpperTriangular / LowerTriangular broken on 1.0.0 (#738)