From 6501059204d1a90b17d10fb7d155196ef86a6ca7 Mon Sep 17 00:00:00 2001 From: Nathan Fiedler Date: Sat, 15 Jul 2023 15:50:02 -0700 Subject: [PATCH] chore: prepare for 6.1.0 release --- CHANGELOG.md | 5 +++++ lib/oxidized.dart | 2 +- pubspec.yaml | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c768ac7..c0305c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). This file follows the convention described at [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## [6.1.0] - 2023-07-15 +### Added +- amaxcz: add `matchOk()`, `matchErr()`, and `unwrapOrNull()` functions to `Result` +- amaxcs: `unwrap()` function now contains the original error message + ## [6.0.0] - 2023-06-19 ### Changed - Now requires Dart SDK version 3 or higher. diff --git a/lib/oxidized.dart b/lib/oxidized.dart index 72e4955..9f2de31 100644 --- a/lib/oxidized.dart +++ b/lib/oxidized.dart @@ -91,7 +91,7 @@ /// package. library oxidized; -export 'src/option.dart' show Option, Some, None, OptionUnwrapException; +export 'src/option.dart' show None, Option, OptionUnwrapException, Some; export 'src/option_async_utils/option_async_utils.dart'; export 'src/option_utils/option_utils.dart'; export 'src/result.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index ecff6c5..5707ced 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: oxidized description: Definitions of Rust-like types, Option and Result, to promote safer programming. -version: 6.0.0 +version: 6.1.0 homepage: https://github.com/nlfiedler/oxidized repository: https://github.com/nlfiedler/oxidized.git issue_tracker: https://github.com/nlfiedler/oxidized/issues @@ -13,4 +13,4 @@ dependencies: dev_dependencies: test: ^1.20.1 - very_good_analysis: ^3.1.0 + very_good_analysis: ^5.0.0+1