pouch 2.0.0 pouch: ^2.0.0 copied to clipboard
Generic Dart utilities and helper functions
2.0.0 #
Breaking:
- Requires Dart 3
1.7.0 #
Added:
- Abstract
Clock
andDartClock
implementation - Abstract
Waiter
andPollingWaiter
implementation
1.6.0 #
Changed:
RequireFile.exists
now takes the more genericFileSystemEntity
1.5.0 #
Added:
StringUtil
static helpers:isNotBlank
isBlank
equalsIgnoreCase
containsIgnoreCase
ensureEndsWith
Deprecated:
- String helpers in favour of
StringUtil
methods:isNotBlank(v)
isBlank(v)
equalsIgnoreCase(v)
containsIgnoreCase(v)
1.4.0 #
Added:
Time
andDate
models
Fixed:
- Lint and Analysis warnings for:
IterableExtensions
MapExtensions
PathUtil
Wait
- Added missing
file
andcollection
dependencies
1.3.0 #
Added to pouch_io
:
FileSystemEntityUtil.delete
FileSystemEntityExtensions.forceDelete
Change:
deleteFiles
to useFileSystemEntityUtil.delete
1.2.1 #
Fixed:
RequireException
now outputs themessage
intoString()
1.2.0 #
Added:
NullableStringExtensions.isEmpty
and.isNotEmpty
1.1.0 #
Added:
NullableIterableExtensions.isEmpty
and.isNotEmpty
NullableMapExensions.isEmpty
and.isNotEmpty
1.0.0 #
Breaking:
- Require at least Dart SDK 2.15
- Removed functions not inline with the Dart way:
CollectionUtil.getIn
IterableExtensions.getIn
ListExtensions.getIn
isNotEmpty
isEmpty
- Use
Object
rather thandynamic
in:KeyNotFoundException
isNull
isNotNull
cast
toString
Fixed:
- type parameter for
NestedIterableExtensions.flatten
Added:
FutureIterableExtensions
FutureOrBoolExtensions
IterableExtensions.groupBy
NullableBoolExtensions
Resource
with:ResourceUtils
ResourceSync
0.7.0 #
Added:
BoolExtenstions
FutureBoolExtensions
NullableObjectExtensions
NullableStringExtensions
RequireFile
topouch_io.dart
Require
andRequireException
0.6.0 #
Added:
IterableExtentions.partition
for splitting an iterable into multiple sub-lists
0.5.1 #
Fixed:
CollectionUtil.getIn
when dealing withIterables
, now correctly usesint
indexes
0.5.0 #
Added:
CollectionUtil.getIn
functiongetIn
extension toMap
,List
, &Iterable
KeyNotFoundException
0.4.0 #
Added:
package:pouch/pouch.dart
MapExtentions.removeNullValues
MapUtil.removeNullValues
Wait.until
package:pouch/pouch_io.dart
PathUtil.relativeToCurrent
0.3.0 #
Added:
Predicates.eq
Predicates.ne
0.2.0 #
Added:
Iterable.filterWhen
0.1.0 #
Added:
containsIgnoreCase
equalsIgnoreCase
0.0.1 #
- Initial version.