Changelog
This documents notable changes in CurveFit.jl. The format is based on Keep a Changelog.
v[1.9.1] - 2026-04-25
Fixed
- Fixed support for
reinit!()'ing nonlinear fit caches when using the newAutoSpecializeCallablewrapper from NonlinearSolve (#98).
v1.9.0 - 2026-04-24
Added
- Added an
absolute_sigmaargument tovcov()and related functions to control whether the covariance matrix is rescaled by reduced χ² (#97). - Added a
weightedargument toresiduals()and related functions to control whether the returned residuals are scaled by the problem weights, if any (#97).
Changed
- The
residfield ofCurveFitSolutionnow consistently stores the weighted residuals for both linear and nonlinear fits (#97). Previously the unweighted residuals were stored for linear fits.
Fixed
vcov()and related functions previously ignored the problem weights, they are now taken into account when present (#97).
v1.8.1 - 2026-04-13
Changed
- Added support for SciMLBase v3 (#95).
v1.8.0 - 2026-04-07
Changed
- Added support for RecursiveArrayTools 4.0 (#94).
v1.7.0 - 2026-03-02
Added
- Added a precompilation workload to reduce TTFX (#90).
v1.6.0 - 2026-02-28
Added
- Implemented support for bounds for some algorithms (#87).
v1.5.1 - 2026-02-16
Changed
- Fixed compatibility with NonlinearSolveFirstOrder.jl v2 (#86).
v1.5.0 - 2026-02-14
Changed
- CurveFit now depends only on NonlinearSolveFirstOrder.jl to reduce dependencies (#85). The default algorithm remains the same.
v1.4.0 - 2026-01-31
Added
- Implemented
margin_error()(#81). - Added support for standard deviation weights for linear fits (#80).
Changed
ScalarModel()'s will now operate in-place for improved performance (#82).
v1.3.0 - 2026-01-26
Added
- Added support for standard deviation weights for nonlinear fits (#79).
Changed
- Breaking:
reinit!(::GenericNonlinearCurveFitCache)now takes inu0as a keyword argument rather than a positional argument for consistency with NonlinearSolve.jl (#79).
Fixed
- Fixed
reinit!(::GenericNonlinearCurveFitCache)to allow passing a newx/yas well asu0(#79).
v1.2.0 - 2026-01-21
Added
- Implemented
ScalarModelto allow using scalar functions as models (#75). - Implemented
SciMLBase.successful_retcode()forCurveFitSolution(#78).