From 2cfd8aff54f2b832f45959bca34993dde2c048bb Mon Sep 17 00:00:00 2001 From: Juan Ignacio Polanco Date: Fri, 14 Jul 2023 14:26:05 +0200 Subject: [PATCH] Add CHANGELOG.md [skip ci] --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..6b9ce394 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +The format is based on [Keep a Changelog] and [Common Changelog]. + +## [0.19.0] - 2023-07-14 + +### Changed + +- **Breaking:** change behaviour of `similar(u::PencilArray, [T], dims)` ([#83]) + + When the `dims` argument is passed, we now try to return a new `PencilArray` instead of another (non-distributed) array type. Since this is only possible when `dims` matches the array size, an error is now thrown if that is not the case. This allows things to play nicely with other packages such as [StructArrays.jl](https://github.com/JuliaArrays/StructArrays.jl), which in some cases end up calling `similar` with the `dims` argument. + + [Keep a Changelog]: https://keepachangelog.com/en/1.1.0/ + [Common Changelog]: https://common-changelog.org/ + [#83]: https://github.com/jipolanco/PencilArrays.jl/pull/83