sugar
Forus Labs' standard library extension. Utilities for date-times, timezones, collections, monads & more.
4.0.0
23K downloads/mo
#2059 most downloaded on pub.dev
forus-labs/cauldron
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.6 years
Nearly every release is documented
notes for 15 of 16 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
16 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
16 releases · Oct 2020 to Feb 2025Releases
latest 16-
4.0.010 Feb 2025Release notes
Open source →Sugar 4 plans to deduplicate efforts with other more well-established "extended std library" packages such as
dart:collection. This means the removal of duplicated APIs such asreverse<E>(...). -
3.1.019 Jun 2023Nothing published for this version
-
3.0.014 May 2023Release notes
Open source →This release is a complete rework of the library, capitalizing on the real-life experiences gained over the past 2 years.
- Date-time and timezone API inspired by
java.time. - Monads such as
Result<S,F>&Maybe<T>. - Syntax sugar for aggregating & manipulating collections.
- Types for representing and working with ranges & intervals.
- Date-time and timezone API inspired by
-
3.0.0+115 May 2023 -
2.4.102 Dec 2022Release notes
Open source →This release fixes
Equality.equals(...)accepting adynamicinstead ofObject. -
2.4.009 Dec 2021 -
2.3.308 Dec 2021Release notes
Open source →This release adds an accidentally omitted method.
- Add
Weekdays.unparse(Iterable<bool>)
- Add
-
2.3.207 Dec 2021Release notes
Open source →This release adds a few additional convince methods.
- Add
Integers.from(bool) - Add
Integers.toBool() - Add
Weekdays.parse(int)
- Add
-
2.3.119 Nov 2021Release notes
Open source →This release focuses on improving documentation and preparing for Dart 2.15.
- Add
disposable.dart - Change
crypto.darttocryptography.dart
- Add
-
2.3.010 Sep 2021Release notes
Open source →This release adds new higher-order functions for composing functions. In addition, the library now minimally requires Dart 2.14.
- Add
Calltype definition - Add
Callsextension that contain higher-order functions for composingCalls - Add
Consumertype definition - Add
Consumersextension that contain higher-order functions for composingConsumers - Add
Mappertype definition - Add
Mappersextension that contain higher-order functions for composingMappers - Add
Predicatetype definition - Add
Predicatesextension that contain higher-order functions for composingPredicates - Add
Suppliertype definition - Add
Suppliersextension that contain higher-order functions for composingSuppliers - Change
Lists.repeat(int)extension toLists.operator *(int). - Remove
hash(Iterable<dynamic>)- function has been superseded byObject.hash(...)indart:core.
- Add
-
2.2.021 Jul 2021 -
2.1.117 Jul 2021Release notes
Open source →- Add
List<T>.repeat(T) - Change
List<T>.separate(T)toList<T>.alternate(T)
- Add
-
2.1.030 Jun 2021Release notes
Open source →This release adds new annotations & cryptological functions.
- Add
@PlatformDependent - Add
@Subset - Add
@Throws - Add
@annotation - Add
@throws - Add
HashExtensions - Add
nonce(...) - Change
Result.presenttoResult.successful - Change
Result.notPresenttoResult.failure - Change
Result.ifPresent(...)tpResult.ifSuccessful(...) - Change
Result.ifNotPresent(...)tpResult.ifFailure(...)
- Add
-
2.0.129 Jun 2021Release notes
Open source →Downgrade
metafrom1.4.0to.1.3.0to enable compatibility with Flutter -
2.0.028 Jun 2021 -
1.0.006 Oct 2020