on master help sign in
Update changelog for 0.10.0
commit3c0fe5c5ed23836d511a71c62c758edad8ac9089 authorHarendra Kumar <harendra@composewell.com> dateSun 19 Nov 2023, 22:49 (3 years ago) parentfdc1733
2 files changed+34−14
core/docs/Changelog.md+29−11 docs/User/Project/Changelog.md+5−3
core/docs/Changelog.md+29−11
@@ -2,27 +2,45 @@
22
33## Unreleased
44
5−* Arrays are now created unpinned by default, they were created pinned
6− earlier. During IO operations unpinned arrays are automatically copied
7− to pinned memory. When arrays are directly passed to IO operations
8− programmers can choose to create them pinned to avoid a copy. To
9− create pinned arrays, use the internal APIs with the `pinned*` prefix.
10−
11−* Changed the signature of 'Streamly.Data.Stream.handle' to make the exception
12− handler monadic.
13−* Rethrow the exception promptly in bracketIO.
14−
155### Breaking
166
177* `ParserK` in `Streamly.Data.ParserK` is not specialized to arrays anymore. To
188 adapt to the new code, change `ParserK a m b` to `ParserK (Array a) m b` where
19− `Array` comes from `Streamly.Data.Array`.
9+ `Array` comes from `Streamly.Data.Array`. This change also changed the
10+ signatures of `parseChunks` and `parseBreakChunks`.
11+* Changed the signature of 'Streamly.Data.Stream.handle' to make the
12+ exception handler monadic.
13+* Rethrow exceptions promptly in `bracketIO`.
14+* `getIndex` signature changed in `Streamly.Data.MutArray` and
15+ `Streamly.Data.MutArray.Generic`.
16+
17+### Internal Changes
18+* Fold constructor has changed, added a `final` field to support
19+ finalization and cleanup of a chain of folds. The `extract` field is
20+ now used only for mapping the fold internal state to fold result for
21+ scanning purposes.
22+* Some low level internal modules have been removed, they are entirely
23+ exported from higher level internal modules. If you were importing any
24+ of the missing modules then import the higher level modules now.
2025* Internal module changes:
2126 * Streamly.Internal.Serialize.FromBytes -> Streamly.Internal.Data.Serialize.Parser
2227 * Streamly.Internal.Serialize.ToBytes -> Streamly.Internal.Data.Serialize.Stream
2328 * Streamly.Internal.Data.Unbox is now exported via Streamly.Internal.Data.Serialize
2429 * Streamly.Internal.Data.IORef.Unboxed is now exported via Streamly.Internal.Data.Serialize
2530
31+### Enhancements
32+
33+* Unboxed arrays are now created unpinned by default, they were
34+ created pinned earlier. During IO operations, unpinned arrays are
35+ automatically copied to pinned memory. When arrays are directly passed
36+ to IO operations programmers can choose to create them pinned to avoid a
37+ copy. To create pinned arrays, use the internal APIs with the `pinned*`
38+ prefix.
39+* Added a `Streamly.Data.Serialize` module for fast binary serialization.
40+* Added exception handling routines in StreamK (handle, bracketIO).
41+* More APIs added in `Streamly.Data.MutArray` and
42+ `Streamly.Data.MutArray.Generic`.
43+
2644### Deprecations
2745
2846* `Streamly.Data.MutArray.newUnpinned` is renamed to
docs/User/Project/Changelog.md+5−3
@@ -4,15 +4,17 @@
44
55## Unreleased
66
7+This changelog lists only the changes of the higher level `streamly`
8+package. For changes to the core functionality please see the changelog
9+in the `streamly-core` package.
10+
711### Breaking Changes
812
9−* MonadTrans and MonadBase instances has been removed for `AsyncT`,
13+* `MonadTrans` and `MonadBase` instances have been removed for `AsyncT`,
1014 `ParallelT`, `AheadT` for GHC versions 9.6 onwards. This is due to a
1115 breaking change in `transformers` 0.6. You can replace `lift` with
1216 `fromEffect` when using these as top level monads in a monad stack.
1317
14−* Rethrow the exception promptly in bracketIO.
15−
1618## 0.9.0 (Mar 2023)
1719
1820Also see the following: