Releases: BirjuVachhani/screwdriver
Releases · BirjuVachhani/screwdriver
Release v5.0.0
- Add
splitMapJoinRegex
andsplitMap
extensions forString
. - Add
records
extension forMap
. - [BREAKING] Remove deprecated
Pair
class. - [BREAKING] Remove deprecated
Triple
class. - [BREAKING] Remove deprecated
to()
andpairWith()
extensions on generic. - [BREAKING] Remove deprecated
previous()
extension onRuneIterator
in favor ofmovePrevious
.
Release v4.1.0
- Add
hasContent
andorEmpty
extensions forString?
. - 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. UseRecord
instead ofPair
in all the
APIs.Pair
will be removed in the next major release. - [DEPRECATED] Deprecate
Triple
class in favor of Records in Dart 3. UseRecord
instead ofTriple
in all the
APIs.Triple
will be removed in the next major release. - [DEPRECATED] Deprecate
pairWith
andto
extensions on generic in favor of Records in Dart 3. - [BREAKING] Refactor
associate
andassociateTo
extensions onIterable
to use Records instead ofPair
. - [BREAKING] Refactor
+
operator onMap
to use Records instead ofPair
.
Release v4.0.0
- Bump up minimum Dart version to
3.0.0
. - Upgrade dependencies.
- Add
DateTime.only
extension to duplicateDateTime
with only specific fields.
Release v3.1.1
- Fix
MAX_INT_VALUE
andMIN_INT_VALUE
not compiling for JS. - [BREAKING]: Remove
elementAtOrNull
since it is added in the collections package. - Upgrade dependencies.
Release v3.1.0
- Added
StreamSubscriptionMixin
to manage stream subscriptions. Supports scoped subscriptions as well. - Replace
BidirectionalIteratorScrewdriver
withRuneIteratorScrewdriver
because of the deprecation ofBidirectionalIterator
.
Release v3.0.0
- Added
IntRange
helper class. - Added
rangeTo
,until
anddownTo
extensions forint
to createIntRange
. - Added
coerceAtLeast
,coerceAtMost
, andcoerceIn
extensions forComparable
. - Added
except
extension forMap
. - Added
except
,containsAll
,containsNone
,lastIndex
,elementAtOrNull
, andhasOnlyOneElement
extensions forIterable
. - Added
readBytes
extension forhtml.File
. - Added
roundToPrecision
extension fordouble
andnum
. - Added
JsonMap
,IntList
,StringList
,DoubleList
,IntSet
,StringSet
andDoubleSet
typedefs. - Added
SerializableMixin
mixin. - Added
isNull
andisNotNull
extensions forObject?
. - Added
orZero
,orOne
, andor
extensions fornum?
. - Update hashcode implementation for
IntRange
,Pair
, andTriple
.
Release v2.1.1
- 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
- Added back
isNullOrEmpty
,isNotNullOrEmpty
extensions forIterable?
. - Added back
isNullOrEmpty
,isNotNullOrEmpty
,isNullOrBlank
,isNotNullOrBlank
extensions forString?
. - 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
- 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
- Fixed email extension & tests.
- upgraded test package dependency.