PackageTrack
Sign in Get early access

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 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 16
  1. 4.0.0 10 Feb 2025
    Release notes

    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 as reverse<E>(...).

    Open source →
  2. 3.1.0 19 Jun 2023

    Nothing published for this version

  3. 3.0.0 14 May 2023
    Release notes

    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.
    Open source →
  4. 3.0.0+1 15 May 2023
    Release notes

    Update README.md

    Open source →
  5. 2.4.1 02 Dec 2022
    Release notes

    This release fixes Equality.equals(...) accepting a dynamic instead of Object.

    Open source →
  6. 2.4.0 09 Dec 2021
    Release notes

    This release bumps the minimum supported Dart version to 2.15

    Open source →
  7. 2.3.3 08 Dec 2021
    Release notes

    This release adds an accidentally omitted method.

    • Add Weekdays.unparse(Iterable<bool>)
    Open source →
  8. 2.3.2 07 Dec 2021
    Release notes

    This release adds a few additional convince methods.

    • Add Integers.from(bool)
    • Add Integers.toBool()
    • Add Weekdays.parse(int)
    Open source →
  9. 2.3.1 19 Nov 2021
    Release notes

    This release focuses on improving documentation and preparing for Dart 2.15.

    • Add disposable.dart
    • Change crypto.dart to cryptography.dart
    Open source →
  10. 2.3.0 10 Sep 2021
    Release notes

    This release adds new higher-order functions for composing functions. In addition, the library now minimally requires Dart 2.14.

    • Add Call type definition
    • Add Calls extension that contain higher-order functions for composing Calls
    • Add Consumer type definition
    • Add Consumers extension that contain higher-order functions for composing Consumers
    • Add Mapper type definition
    • Add Mappers extension that contain higher-order functions for composing Mappers
    • Add Predicate type definition
    • Add Predicates extension that contain higher-order functions for composing Predicates
    • Add Supplier type definition
    • Add Suppliers extension that contain higher-order functions for composing Suppliers
    • Change Lists.repeat(int) extension to Lists.operator *(int).
    • Remove hash(Iterable<dynamic>) - function has been superseded by Object.hash(...) in dart:core.
    Open source →
  11. 2.2.0 21 Jul 2021
    Release notes
    • Add Debounce
    Open source →
  12. 2.1.1 17 Jul 2021
    Release notes
    • Add List<T>.repeat(T)
    • Change List<T>.separate(T) to List<T>.alternate(T)
    Open source →
  13. 2.1.0 30 Jun 2021
    Release notes

    This release adds new annotations & cryptological functions.

    • Add @PlatformDependent
    • Add @Subset
    • Add @Throws
    • Add @annotation
    • Add @throws
    • Add HashExtensions
    • Add nonce(...)
    • Change Result.present to Result.successful
    • Change Result.notPresent to Result.failure
    • Change Result.ifPresent(...) tp Result.ifSuccessful(...)
    • Change Result.ifNotPresent(...) tp Result.ifFailure(...)
    Open source →
  14. 2.0.1 29 Jun 2021
    Release notes

    Downgrade meta from 1.4.0 to .1.3.0 to enable compatibility with Flutter

    Open source →
  15. 2.0.0 28 Jun 2021
    Release notes

    This release focuses on supporting null safety.

    Open source →
  16. 1.0.0 06 Oct 2020
    Release notes
    • Add collection library
    • Add core library
    • Add time library
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive