@@ -1,14 +1,21 @@
11## Unreleased
22
3−### Enhancements
3+### Behavioral changes
44
5−* New encoding/decoding routines, `encodeUtf8'`, `encodeLatin1'`, `decodeUtf8'`,
6− are added, these routines fail when they encounter any invalid characters.
5+* `Streamly.Prelude.fold` can now terminate early without consuming the entire
6+ stream. For example, `fold Fold.head stream` would now terminate immediately
7+ after consuming the head element from `stream`.
8+* Change the associativity of combinators `serial`, `wSerial`,
9+ `ahead`, `async`, `wAsync`, `parallel` to be the same as `<>`.
10+* `encodeUtf8`, `decodeUtf8` now replace any invalid character encountered
11+ during encoding/decoding with the Unicode replacement character. Use
12+ `encodeUtf8'`, `decodeUtf8'` to recover the previous functionality.
13+* `encodeLatin1` now silently truncates any character beyond 255 to incorrect
14+ characters in the input stream. Use `encodeLatin1'` to recover previous
15+ functionality.
716
817### Breaking changes
918
10−* Deprecate `Streamly.Memory.Array` in favor of `Streamly.Data.Array.Storable.Foreign`
11−* Deprecate `Streamly.Data.Unicode.Stream` in favor of `Streamly.Unicode.Stream`
1219* Change the signature of `foldlM'` to make the initial value of the
1320 accumulator monadic.
1421* Change the signature of `scanlM'`, `postscanlM'` to make the initial value of
@@ -19,19 +26,15 @@
1926 require an additional `MonadAsync` constraint. Several other
2027 functions that used these functions also now require the additional
2128 constraint.
22−* Change the associativity of combinators `serial`, `wSerial`,
23− `ahead`, `async`, `wAsync`, `parallel` to be the same as `<>`.
24−* `encodeUtf8`, `decodeUtf8` now replace any invalid character encountered
25− during encoding/decoding with the Unicode replacement character. Use
26− `encodeUtf8'`, `decodeUtf8'` to recover the previous functionality.
27−* `encodeLatin1` now silently truncates any character beyond 255 to incorrect
28− characters in the input stream. Use `encodeLatin1'` to recover previous
29− functionality.
30−* Drop support for GHC 7.10.3.
29+
30+### Enhancements
31+
32+* New encoding/decoding routines, `encodeUtf8'`, `encodeLatin1'`, `decodeUtf8'`,
33+ are added, these routines fail when they encounter any invalid characters.
3134
3235### Bug Fixes
3336
34−* The monadic state for the stream is now propogated across threads. Please
37+* The monadic state for the stream is now propagated across threads. Please
3538 refer to [#369](https://github.com/composewell/streamly/issues/369) for
3639 more info.
3740* `accept*` and `connect` APIs in `Streamly.Network.Inet.TCP` and the `accept`
@@ -43,6 +46,10 @@
4346
4447### Deprecations
4548
49+* Deprecate `Streamly.Memory.Array` in favor of
50+ `Streamly.Data.Array.Storable.Foreign`
51+* Deprecate `Streamly.Data.Unicode.Stream` in favor of
52+ `Streamly.Unicode.Stream`
4653* The `Streamly` module is now deprecated, its functionality is subsumed
4754 by `Streamly.Prelude`.
4855* Some functions from `Streamly` module have been renamed in `Streamly.Prelude` module:
@@ -53,6 +60,22 @@
5360 * `encodeUtf8Lax` to `encodeUtf8`
5461 * `encodeLatin1Lax` to `encodeLatin1`
5562 * `decodeUtf8Lenient` to `decodeUtf8`
63+* Drop support for GHC 7.10.3.
64+
65+### Internal APIs
66+
67+* `Streamly.Internal.Prelude` renamed to `Streamly.Internal.Data.Stream.IsStream`
68+* Parser functionality is added via `Streamly.Internal.Data.Parser` module
69+* `Streamly.Internal.Data.Binary.Decode` module added for decoding Haskell
70+ values from binary data.
71+* FileSystem event notification (fsnotify/inotify) functionality added via
72+ `Streamly.Internal.FileSystem.Event.*` modules.
73+* The `Fold` type has changed to accomodate terminating folds.
74+* Added `use-c-malloc` build flag to use the c library `malloc` for array
75+ allocations.
76+* A bug was fixed in the conversion of MicroSecond64 and MilliSecond64
77+ (commit e5119626)
78+* Bug fix: classifySessionsBy now flushes sessions at the end and terminates.
5679
5780## 0.7.2
5881