diff --git a/changelog.md b/changelog.md index 1ca4d43..7dca630 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,28 @@ +# v0.7.0 - 25.01.2022 + +This is a *breaking* release, due to the changes in PR #25. + +`NumContext` (and types taking `NumContext` as an argument) are now +two-fold generic. The floating point like type used during +computation may now be overwritten. + +This is a breaking change, as the `newNumContext` procedure must now +be given two generic arguments. For most procedures the signature +was only extended to use `float` as the secondary type, leaving them +as taking single generic arguments. +`adapdiveGauss` is an exception and thus now requires the user to +hand *both* types. + +- transition for `adaptiveGauss`: + Calling as: `adaptiveGauss[T, float](...)` will produce the old + behavior. In the future a nicer interface may be designed. +- transition for `newNumContext`: + Calling as: `newNumContext[T, float]` will produce the old behavior. + +This change was a step towards a more (likely concept based) interface +for SciNim libraries for better interop. It allows for example to +integrate over a `Measurement`. + # v0.6.3 - fixes an issue that might arise if 2D interpolation is used together diff --git a/numericalnim.nimble b/numericalnim.nimble index e874c87..9bc9534 100644 --- a/numericalnim.nimble +++ b/numericalnim.nimble @@ -1,5 +1,5 @@ # Package Information -version = "0.6.3" +version = "0.7.0" author = "Hugo Granström" description = "A collection of numerical methods written in Nim. Current features: integration, ode, optimization." license = "MIT"