From e117e78afa5ed4e4ab1762cdfd07e1d057aa0c1b Mon Sep 17 00:00:00 2001 From: birjuvachhani Date: Fri, 30 Jun 2023 23:36:33 +0530 Subject: [PATCH] :bookmark: release v5.2.0 --- CHANGELOG.md | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcc2ddf..30e16e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 5.0.2 [Unreleased] +## 5.2.0 - Fix `runCaching` function not caching exceptions properly. - Improve `runCaching` function to have a `FutureOr` return type allowing either synchronous or asynchronous @@ -6,7 +6,7 @@ - Improve `runCaching` function to cache exceptions even on `onError` callback. - Avail list of all the extensions and functions in the package in `EXTENSIONS.md` file. - [BREAKING] Tighten the generic upperbound to `Object` for `apply`, `run`, `takeIf`, `takeUnless` and `tryCast` - extensions for improved type safety. + extensions for improved type safety. Use null-safe(?.) operator to fix. - [DEPRECATED] Deprecate global `run` function. ## 5.0.1 diff --git a/pubspec.yaml b/pubspec.yaml index 69157cf..345ca21 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: screwdriver description: A dart package aiming to provide useful extensions and helper functions to ease and speed up development. -version: 5.0.1 +version: 5.2.0 homepage: https://github.com/birjuvachhani/screwdriver environment: