Skip to content

Releases: BirjuVachhani/screwdriver

Release v5.0.0

22 Jun 06:10
a7eed39
Compare
Choose a tag to compare
  • Add splitMapJoinRegex and splitMap extensions for String.
  • Add records extension for Map.
  • [BREAKING] Remove deprecated Pair class.
  • [BREAKING] Remove deprecated Triple class.
  • [BREAKING] Remove deprecated to() and pairWith() extensions on generic.
  • [BREAKING] Remove deprecated previous() extension on RuneIterator in favor of movePrevious.

Release v4.1.0

13 May 14:05
b2bdbf2
Compare
Choose a tag to compare
  • Add hasContent and orEmpty extensions for String?.
  • Add missing docs.
  • Fix example not showing up in pub.dev.
  • Remove unnecessary backslashes from email regex.
  • Add Debouncer.isRunning getter to check if the debouncer is running.
  • [DEPRECATED] Deprecate Pair class in favor of Records in Dart 3. Use Record instead of Pair in all the
    APIs. Pair will be removed in the next major release.
  • [DEPRECATED] Deprecate Triple class in favor of Records in Dart 3. Use Record instead of Triple in all the
    APIs. Triple will be removed in the next major release.
  • [DEPRECATED] Deprecate pairWith and to extensions on generic in favor of Records in Dart 3.
  • [BREAKING] Refactor associate and associateTo extensions on Iterable to use Records instead of Pair.
  • [BREAKING] Refactor + operator on Map to use Records instead of Pair.

Release v4.0.0

12 May 05:25
921ac26
Compare
Choose a tag to compare
  • Bump up minimum Dart version to 3.0.0.
  • Upgrade dependencies.
  • Add DateTime.only extension to duplicate DateTime with only specific fields.

Release v3.1.1

20 Oct 14:08
Compare
Choose a tag to compare
  • Fix MAX_INT_VALUE and MIN_INT_VALUE not compiling for JS.
  • [BREAKING]: Remove elementAtOrNull since it is added in the collections package.
  • Upgrade dependencies.

Release v3.1.0

14 Oct 15:55
Compare
Choose a tag to compare
  • Added StreamSubscriptionMixin to manage stream subscriptions. Supports scoped subscriptions as well.
  • Replace BidirectionalIteratorScrewdriver with RuneIteratorScrewdriver because of the deprecation of BidirectionalIterator.

Release v3.0.0

14 Oct 15:49
bce89ca
Compare
Choose a tag to compare
  • Added IntRange helper class.
  • Added rangeTo, until and downTo extensions for int to create IntRange.
  • Added coerceAtLeast, coerceAtMost, and coerceIn extensions for Comparable.
  • Added except extension for Map.
  • Added except, containsAll, containsNone, lastIndex, elementAtOrNull, and hasOnlyOneElement extensions for Iterable.
  • Added readBytes extension for html.File.
  • Added roundToPrecision extension for double and num.
  • Added JsonMap, IntList, StringList, DoubleList, IntSet, StringSet and DoubleSet typedefs.
  • Added SerializableMixin mixin.
  • Added isNull and isNotNull extensions for Object?.
  • Added orZero, orOne, and or extensions for num?.
  • Update hashcode implementation for IntRange, Pair, and Triple.

Release v2.1.1

05 Apr 14:22
Compare
Choose a tag to compare
  • Added String extensions count, parseJsonArray, find, title, toggledCase, equalsIgnoreCase.
  • Added Duration extension fromNow.
  • Used explicit dynamics where required for strong mode.

Release v2.1.0

26 Mar 14:07
Compare
Choose a tag to compare
  • Added back isNullOrEmpty, isNotNullOrEmpty extensions for Iterable?.
  • Added back isNullOrEmpty, isNotNullOrEmpty, isNullOrBlank , isNotNullOrBlank extensions for String?.
  • Added collection as a part of the package so it can now be used from screwdriver. No need to explicitly add it.

Release v2.0.0

26 Mar 05:46
Compare
Choose a tag to compare
  • Migrated to null safety.
  • Removed following extensions either because they are redundant in favor of non-nullable types or they are already available in the null safe version of collection package of dart.dev.
    • Iterable.firstOrNull
    • Iterable.firstOrNullWhere
    • Iterable.lastOrNullWhere
    • Iterable.singleOrNullWhere
    • Iterable.isNullOrEmpty
    • Iterable.isNotNullOrEmpty
    • Iterable.none
    • Iterable.whereIndexed
    • Iterable.mapIndexed
    • Iterable.forEachIndexed
    • Iterable.foldIndexed
    • Iterable.foldIndexed
    • Iterable.sum
    • Iterable.average
    • Iterable.max
    • Iterable.min
    • String.isNullOrEmpty
    • String.isNotNullOrEmpty
    • String.isNullOrBlank
    • String.isNotNullOrBlank
  • Added some more extensions in favor of null safety:
    • Iterable.randomOrNull
    • Iterable.maxByOrNull
    • Iterable.maxByLastOrNull
    • Iterable.minByOrNull
    • Iterable.minByLastOrNull

Release v1.2.2

19 Jan 10:02
Compare
Choose a tag to compare
  • Fixed email extension & tests.
  • upgraded test package dependency.