dartx 0.3.0 dartx: ^0.3.0 copied to clipboard
Superpowers for Dart. Collection of useful static extension methods.
0.3.0 #
- PR-14 New
int.rangeTo(int)
extension - PR-24 Default implementations for
Comparable
<
,<=
,>=
and>
operators. - PR-13 Removed
quiver
dependency - PR-21 New
String.md5
to calculate a MD5 digest - PR-25 New
FileSystemEntity.withName(String newName)
to get aFile
with a different name - PR-25 New
FileSystemEntity.extension
to get the file extension - PR-17
Callable.invoke()
is now marked asDeprecated
in favour of dartscall()
method. It will not be removed though, until darts.call()
methods gets auto-completion. - PR-30 New
Comparable.coerceIn()
,Comparable.coerceAtLeast()
andComparable.coerceAtMost()
- PR-31 Fixed
num.toBytes()
- PR-33 Fixed
.thenBy()
and.thenWith()
extensions for Lists
Breaking #
- PR-29
Iterable<E>.windowed
- remove the required transform lambda
0.2.0 #
- Moved to
time.dart
library for time extensions
0.1.2 #
- Fixed docs
- Added
Function.curry()
,Function.invoke()
,Function.partial()
andFunction.flip()
'string'.reversed
now correctly handles grapheme clusters (like emoji)
Breaking #
'string'.chars
now returns the grapheme clusters instead ofRune
s
0.1.1 #
- Bugfixes
- More tests
0.1.0+1 #
- Initial release