Skip to content

Commit

Permalink
Release version 5.0.0 (#193)
Browse files Browse the repository at this point in the history
Some nice features and fixes to release, let's not hoard them.

There have been some missing changelog entries, added here for
completeness, needed to release things.
  • Loading branch information
jstasiak authored Feb 7, 2025
1 parent 1f7a768 commit e1769e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 5.0.0 (not released yet)
# 5.0.0

Backwards incompatible:

Expand Down Expand Up @@ -27,6 +27,12 @@ Fixed:
reasonable types when called.
- Fixed `AsyncResult.andThen` to return the correct type when the provided callback
always returns an `Ok`.
- Fixed the `Result.partition` signature.

Added:

- `Option.unwrapOrElse`
- `Result.unwrapOrElse`

# 4.2.0

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-results-es",
"version": "4.2.0",
"version": "5.0.0",
"description": "A TypeScript implementation of Rust's Result and Option objects.",
"scripts": {
"build": "npm run clean && npm run build:ts && npm run build:copy",
Expand Down

0 comments on commit e1769e0

Please sign in to comment.