<commit_before># Change log

User-facing changes to the Folktale project are summarised here, ordered from the most recent releases to the oldest ones.

Each version entry is written as a heading in the format `[<version number>] - YYYY-MM-DD` and contains the sections:

  - **New features** — Functionality that has been added from the previous version to the referred one;
  - **Bug fixes** — Incorrect behaviour that has been corrected from the previous version to the referred one;
  - **Optimisations** — Performance and memory improvements from the previous version to the referred one;
  - **Documentation** — Improvements made to the documentation;
  - **Miscellaneous** — Any other change worth mentioning that doesn't fall in the previous ones;
  - **DEPRECATED FEATURES** — Features that have been deprecated in the referred version, and should be avoided for new codebases;
  - **BREAKING CHANGES** — Backwards-incompatible changes that have been introduced by the version, along with the changes necessary to existing codebases. Upgrading from previous versions is not safe;


---

## [Unreleased]

### Documentation

  - Documentation for Data.Future was added.
  - Fixed some of the Data.Task documentation.


### New features

  - `nodebackToTask` (and `Task.fromNodeback`) allows converting callback-based functions in Node-style to Tasks automatically
    ([PR #116](https://github.com/origamitower/folktale/pull/116) by @rpearce)


### BREAKING CHANGES

  - ([f43441b](https://github.com/origamitower/folktale/commit/f43441bba6e87b1d2923abce705a73bb0120c229))
    `Future#mapRejection` has been renamed to `Future#mapRejected` for consistency. To fix just replace any
    calls of `mapRejection` on Futures to `mapRejected`:

    ```js
    // Before
    Future.rejected(1).mapRejection(x => x + 1);

    // Now
    Future.rejected(1).mapRejected(x => x + 1);
    ```
    



## [2.0.0-alpha4] - 2017-04-08<commit_msg>Updates changelog<commit_after># Change log

User-facing changes to the Folktale project are summarised here, ordered from the most recent releases to the oldest ones.

Each version entry is written as a heading in the format `[<version number>] - YYYY-MM-DD` and contains the sections:

  - **New features** — Functionality that has been added from the previous version to the referred one;
  - **Bug fixes** — Incorrect behaviour that has been corrected from the previous version to the referred one;
  - **Optimisations** — Performance and memory improvements from the previous version to the referred one;
  - **Documentation** — Improvements made to the documentation;
  - **Miscellaneous** — Any other change worth mentioning that doesn't fall in the previous ones;
  - **DEPRECATED FEATURES** — Features that have been deprecated in the referred version, and should be avoided for new codebases;
  - **BREAKING CHANGES** — Backwards-incompatible changes that have been introduced by the version, along with the changes necessary to existing codebases. Upgrading from previous versions is not safe;


---

## [Unreleased]

### Documentation

  - Documentation for Data.Future was added.
  - Fixed some of the Data.Task documentation.


### New features

  - `nodebackToTask` (and `Task.fromNodeback`) allows converting callback-based functions in Node-style to Tasks automatically
    ([PR #116](https://github.com/origamitower/folktale/pull/116) by @rpearce)
  - `futureToPromise` and `promiseToFuture` allow converting between promises and futures. The conversion isn't strictly loss-less due to the difference in semantics
    ([PR #119](https://github.com/origamitower/folktale/pull/119))


### BREAKING CHANGES

  - ([f43441b](https://github.com/origamitower/folktale/commit/f43441bba6e87b1d2923abce705a73bb0120c229))
    `Future#mapRejection` has been renamed to `Future#mapRejected` for consistency. To fix just replace any
    calls of `mapRejection` on Futures to `mapRejected`:

    ```js
    // Before
    Future.rejected(1).mapRejection(x => x + 1);

    // Now
    Future.rejected(1).mapRejected(x => x + 1);
    ```
    



## [2.0.0-alpha4] - 2017-04-08
{'fraction_non_alphanumeric': 0.09608367793724154, 'fraction_numerical': 0.026757479931890052, 'mean_word_length': 4.09541511771995, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5950433', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1164, 'n_words': 460}