on master help sign in
Mention how to adapt to the Fold constructor change
commit3d370b2a8476c4e5c11531df4f6562110d63ec39 authorHarendra Kumar <harendra@composewell.com> dateThu 7 Dec 2023, 09:23 (3 years ago) parent12d8502
1 file changed+2−1
core/docs/Changelog.md+2−1
core/docs/Changelog.md+2−1
@@ -41,7 +41,8 @@ for a full list of deprecations.
4141* Fold constructor has changed, added a `final` field to support
4242 finalization and cleanup of a chain of folds. The `extract` field is
4343 now used only for mapping the fold internal state to fold result for
44− scanning purposes.
44+ scanning purposes. If your fold does not require cleanup you can just use
45+ your existing `extract` function as `final` as well to adapt to this change.
4546* Many low level internal modules have been removed, they are entirely
4647 exported from higher level internal modules. If you were importing any
4748 of the missing low level modules then import the higher level modules instead.