@@ -4,6 +4,9 @@
5### Breaking
5### Breaking
7+See the [streamly-core-0.2.0 API Changelog](/core/docs/ApiChangelogs/0.2.0.txt)
8+for a full list of changes in this release.
7* `ParserK` in `Streamly.Data.ParserK` is not implicitly specialized
10* `ParserK` in `Streamly.Data.ParserK` is not implicitly specialized
8 to arrays anymore. To adapt to the new code, change `ParserK a m
11 to arrays anymore. To adapt to the new code, change `ParserK a m
9 b` to `ParserK (Array a) m b` where the `Array` type comes from
12 b` to `ParserK (Array a) m b` where the `Array` type comes from
@@ -11,11 +14,34 @@
11 `parseChunks` and `parseBreakChunks`.
14 `parseChunks` and `parseBreakChunks`.
12* Changed the signature of 'Streamly.Data.Stream.handle' to make the
15* Changed the signature of 'Streamly.Data.Stream.handle' to make the
13 exception handler monadic.
16 exception handler monadic.
14−* `getIndex` signature changed in `Streamly.Data.MutArray` and
15− `Streamly.Data.MutArray.Generic`.
16* Behavior change: Exceptions are now rethrown promptly in `bracketIO`.
17* Behavior change: Exceptions are now rethrown promptly in `bracketIO`.
21+See the [streamly-core-0.2.0 API Changelog](/core/docs/ApiChangelogs/0.2.0.txt)
22+for a full list of new APIs added in this release.
24+* Serialization: Added a `Streamly.Data.MutByteArray` module with a
25+ `Serialize` type class for fast binary serialization. The Data.Array
26+ module supplies the `serialize` and `deserialize` operations for arrays.
27+* Unpinned Arrays: Unboxed arrays are now created unpinned by default,
28+ they were created pinned earlier. During IO operations, unpinned arrays
29+ are automatically copied to pinned memory. When arrays are directly
30+ passed to IO operations programmers can choose to create them pinned to
31+ avoid a copy. To create pinned arrays, use the internal APIs with the
33+* StreamK now supports native exception handling routines (handle, bracketIO).
34+ Earlier we had to convert it to the `Stream` type for exception handling.
38+See the [streamly-core-0.2.0 API Changelog](/core/docs/ApiChangelogs/0.2.0.txt)
39+for a full list of deprecations.
18−### Internal Changes
41+### Internal API Changes
43+See the [streamly-core-0.2.0 Internal API Changelog](/core/docs/ApiChangelogs/0.2.0-internal.txt)
44+for a full list of changes to the internal modules.
20* Fold constructor has changed, added a `final` field to support
46* Fold constructor has changed, added a `final` field to support
21 finalization and cleanup of a chain of folds. The `extract` field is
47 finalization and cleanup of a chain of folds. The `extract` field is
@@ -30,24 +56,6 @@
30 * Streamly.Internal.Data.Unbox is now exported via Streamly.Internal.Data.Serialize
56 * Streamly.Internal.Data.Unbox is now exported via Streamly.Internal.Data.Serialize
31 * Streamly.Internal.Data.IORef.Unboxed is now exported via Streamly.Internal.Data.Serialize
57 * Streamly.Internal.Data.IORef.Unboxed is now exported via Streamly.Internal.Data.Serialize
35−* Unboxed arrays are now created unpinned by default, they were
36− created pinned earlier. During IO operations, unpinned arrays are
37− automatically copied to pinned memory. When arrays are directly passed
38− to IO operations programmers can choose to create them pinned to avoid a
39− copy. To create pinned arrays, use the internal APIs with the `pinned*`
41−* Added a `Streamly.Data.Serialize` module for fast binary serialization.
42−* Added exception handling routines in StreamK (handle, bracketIO).
43−* More APIs added in `Streamly.Data.MutArray` and
44− `Streamly.Data.MutArray.Generic`.
48−* `Streamly.Data.MutArray.newUnpinned` is renamed to
49− `Streamly.Data.MutArray.pinnedNew`
51## 0.1.0 (March 2023)
59## 0.1.0 (March 2023)
53Also see [streamly-core-0.1.0 API Changelog](/core/docs/ApiChangelogs/0.1.0.txt) or
61Also see [streamly-core-0.1.0 API Changelog](/core/docs/ApiChangelogs/0.1.0.txt) or