Skip to content

Commit

Permalink
Version Packages (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fahim Faisaal <57553028+fahimfaisaal@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 29, 2024
1 parent e69672b commit a8e95a6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
11 changes: 0 additions & 11 deletions .changeset/strange-planets-mate.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# settle-map

## 2.0.0

### Major Changes

- e69672b: Enhanced Response Handling

- Removed the `all` getter in this release. With `settleMap` now returning a `Thenable` object, you can use the more intuitive `await` syntax without `all`.
- Added a new `omitResult` option to prevent result storage. This is useful for saving memory when using the event-driven `on` function or when you would like to ignore it.
- Implemented function overriding to manage the map function response based on the `omitResult` value.
- Renamed the `stop` function to `abort` for clarity.
- Introduced a new curry function, `createSettleMap`, to simplify code and adhere to the `DRY` (Don't Repeat Yourself) principle.

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "settle-map",
"description": "Settle multiple promises concurrently and get the results in a cool way",
"version": "1.2.0",
"version": "2.0.0",
"repository": {
"type": "git",
"url": "fahimfaisaal/settle-map"
Expand Down

0 comments on commit a8e95a6

Please sign in to comment.