on master help sign in
Add details to the streamly-core changelog

Update streamly-core api changelog

commitb5925b12a69647bfc06d7d6f660d741e0df2d9f8 authorHarendra Kumar <harendra@composewell.com> dateSun 12 Mar 2023, 22:50 (4 years ago) parente182323
3 files changed+38−6
core/docs/ApiChangelogs/0.1.0.txt+3 core/docs/Changelog.md+28−1 docs/User/ProjectRelated/Changelog.md+7−5
core/docs/ApiChangelogs/0.1.0.txt+3
@@ -165,6 +165,7 @@ The moved modules have been compared with their version in streamly v0.8.3
165165 [A] unfold :: Applicative m => Unfold m a b -> a -> Stream m b
166166 [A] uncons :: Monad m => Stream m a -> m (Maybe (a, Stream m a))
167167 [A] trace :: Monad m => (a -> m b) -> Stream m a -> Stream m a
168+ [A] toList :: Monad m => Stream m a -> m [a]
168169 [A] tap :: Monad m => Fold m a b -> Stream m a -> Stream m a
169170 [A] takeWhileM :: Monad m => (a -> m Bool) -> Stream m a -> Stream m a
170171 [A] takeWhile :: Monad m => (a -> Bool) -> Stream m a -> Stream m a
@@ -209,6 +210,8 @@ The moved modules have been compared with their version in streamly v0.8.3
209210 [A] fromPure :: Applicative m => a -> Stream m a
210211 [A] fromList :: Applicative m => [a] -> Stream m a
211212 [A] fromEffect :: Applicative m => m a -> Stream m a
213+ [A] foldrM :: Monad m => (a -> m b -> m b) -> m b -> Stream m a -> m b
214+ [A] foldr :: Monad m => (a -> b -> b) -> b -> Stream m a -> m b
212215 [A] foldMany :: Monad m => Fold m a b -> Stream m a -> Stream m b
213216 [A] foldBreak :: Monad m => Fold m a b -> Stream m a -> m (b, Stream m a)
214217 [A] fold :: Monad m => Fold m a b -> Stream m a -> m b
core/docs/Changelog.md+28−1
@@ -2,4 +2,31 @@
22
33## 0.1.0 (March 2023)
44
5−* Initial release
5+Also see [streamly-core-0.1.0 API Changelog](/core/docs/ApiChangelogs/0.1.0.txt) or
6+https://hackage.haskell.org/package/streamly-core-0.1.0/docs/docs/ApiChangelogs/0.1.0.txt
7+
8+`streamly` package is split into two packages, (1) `streamly-core` that
9+has only GHC boot library depdendecies, and (2) `streamly` that contains
10+higher level operations (including concurrent ones) with additional
11+dependencies.
12+
13+* Moved the following modules from `streamly` package to the
14+ `streamly-core` package:
15+ * Streamly.Console.Stdio
16+ * Streamly.Data.Fold
17+ * Streamly.Data.Unfold
18+ * Streamly.FileSystem.Handle
19+ * Streamly.Unicode.Stream
20+* Added the following new modules:
21+ * Streamly.Data.Array
22+ * Streamly.Data.Array.Generic
23+ * Streamly.Data.MutArray
24+ * Streamly.Data.MutArray.Generic
25+ * Streamly.Data.Parser
26+ * Streamly.Data.ParserK
27+ * Streamly.Data.Stream
28+ * Streamly.Data.StreamK
29+ * Streamly.FileSystem.Dir
30+ * Streamly.FileSystem.File
31+ * Streamly.Unicode.Parser
32+ * Streamly.Unicode.String
docs/User/ProjectRelated/Changelog.md+7−5
@@ -6,10 +6,12 @@
66
77Also see the following:
88
9−* [0.9.0 Upgrade Guide](/docs/User/ProjectRelated/Upgrading.md) or
9+* [streamly-0.9.0 Upgrade Guide](/docs/User/ProjectRelated/Upgrading.md) or
1010 https://hackage.haskell.org/package/streamly-0.9.0/docs/docs/User/ProjectRelated/Upgrading.md
11−* [0.9.0 API Changelog](/docs/User/ProjectRelated/ApiChangelogs/0.8.3-0.9.0.txt) or
11+* [streamly-0.9.0 API Changelog](/docs/User/ProjectRelated/ApiChangelogs/0.8.3-0.9.0.txt) or
1212 https://hackage.haskell.org/package/streamly-0.9.0/docs/docs/User/ProjectRelated/ApiChangelogs/0.8.3-0.9.0.txt
13+* [streamly-core-0.1.0 API Changelog](/core/docs/ApiChangelogs/0.1.0.txt) or
14+ https://hackage.haskell.org/package/streamly-core-0.1.0/docs/docs/ApiChangelogs/0.1.0.txt
1315
1416### Package split
1517
@@ -60,6 +62,9 @@ details on how to adapt your existing code to the new release.
6062
6163### Enhancements
6264
65+* Added the following new modules to the `streamly` package:
66+ * Streamly.Data.Stream.MkType
67+ * Streamly.Data.Stream.Prelude
6368* Added the following new modules to the `streamly-core` package:
6469 * Streamly.Data.Array
6570 * Streamly.Data.Array.Generic
@@ -73,9 +78,6 @@ details on how to adapt your existing code to the new release.
7378 * Streamly.FileSystem.File
7479 * Streamly.Unicode.Parser
7580 * Streamly.Unicode.String
76−* Added the following new modules to the `streamly` package:
77− * Streamly.Data.Stream.MkType
78− * Streamly.Data.Stream.Prelude
7981
8082### Deprecations
8183