diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 00000000..24afb09d --- /dev/null +++ b/NEWS.md @@ -0,0 +1,9 @@ +# DataInterpolations v5 Release Notes + +## Breaking changes + +- `AbstractInterpolation` is not a subtype of `AbstractVector` anymore. This was needed for previous versions of ModelingToolkit.jl to represent splines as vectors. +- Indexing overloads for `AbstractInterpolation` and the type parameter associated with it are removed. For example - `A` is an interpolation object: + - Doing `A[i]` will error. Use `A.u[i]`. + - `size(A)` will error. Use `size(A.u)` or `size(A.t)`. +- Removed deprecated bindings for `ZeroSpline` which is the same as `ConstantInterpolation`. diff --git a/Project.toml b/Project.toml index fa35abef..7c6ac28f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "DataInterpolations" uuid = "82cc6244-b520-54b8-b5a6-8a565e85f1d0" -version = "4.8.0" +version = "5.0.0" [deps] FindFirstFunctions = "64ca27bc-2ba2-4a57-88aa-44e436879224"