From 727eed8c77c67a0dbb64edefb949d0aa8ced3137 Mon Sep 17 00:00:00 2001 From: xyzsd Date: Tue, 13 Aug 2024 19:35:32 +0000 Subject: [PATCH] Update README.md with 1.1 branch notes --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 63e8841..4c5ad61 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,18 @@ statements and with pattern matching. ## Updates -The 1.0 version (January 2024) has been extensively refactored -and improved from the original version. +### Branch 1.1 (August 2024, not yet released) +JSR-305 nullness annotations have been replaced with JSpecify 1.0, reducing annotation clutter. +Note that this could potentially pose problems given +[issues prior to JDK 22](https://jspecify.dev/docs/whether/#annotation-processors). Note that +runtime nullness checks (via Objects.requireNonNull) have not been removed. + +The 1.1 branch also adds `Result::merge` which simplified reduction operations on Streams of +Result values (see documentation and/or tests). + + +### Release 1.0 (January 2024) +Refactored and improved from the original version. Handling exceptions is substantially better with the new `Try` type (a specialized type of `Result`), which also