Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## [1.0.5]
* Adds `<T> Result<T>.shouldBeSuccessful(): T` (Roni Greenwood)
* Adds `fun <T> Result<T>.shouldBeSuccessful(block: (T) -> Unit): T` (Roni Greenwood)
* Adds `<T> Result<T>.shouldBeSuccessful(expected: T): T` (Roni Greenwood)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the difference between shouldBeSuccess and shouldBeSuccessful ?

Copy link
Copy Markdown
Collaborator Author

@rgrnwd rgrnwd Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look at the kdoc comment on the function and tell me if you think it explains it well enough :)


## [1.0.3]
* Adds `<A> A.validateResult(predicate: (A) -> Boolean, error: (A) -> Throwable): Result<A>` (Andrew Parker)
* Adds `<A> Result<A>.getOrNone(): Option<A>` (Andrew Parker)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=app.cash.quiver
VERSION_NAME=1.0.4-SNAPSHOT
VERSION_NAME=1.0.5
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why, but it said 1.0.4 was already taken when I tried to use it

POM_URL=https://github.com/cashapp/quiver/
POM_SCM_URL=https://github.com/cashapp/quiver/
POM_SCM_CONNECTION=scm:git:git://github.com/cashapp/quiver.git
Expand Down
Loading