-
Added extensions on
Random
:
.nextBigInt()
.nextBigIntBetween()
.nextIntBetween()
-
Added extensions on
BigInt
:
.toIntOrThrow()
- this avoids clamping a number; it's up to the user to check if int is valid
-
Added extensions on
String
:
.trimPattern()
.trimPatternLeft()
.trimPatternRight()
.trimInvisible()
.replaceLast()
-
Added extension on
Iterable<T>
:
.reversed
- Lowered constraints on
any_date
dependency
- Created
EasyComparable
,SpecificComparable
andStrictComparable
to facilitate aligning>
and<
operators withComparable
interface
- Expose
string
constants as static class and as top-level values, e.g.,base62chars
andbase64chars
- Bump dependency with analysis error on lower constraints
- Stable release
- Removed static configuration
- Updated dependencies
- Added
normalizeLineBreaks()
method onString
to replace all windows (CRLF) and old macos (CR) breaks with normal LF - Ensure
replaceLineBreaks()
works with old macos line breaks (CR)
- Added
replaceLineBreaks()
method onString
- Created 'truthy' / 'falsy' features: extensions on
Object?
andAnyBoolConverter
+AnyNullableBoolConverter
- Use
Cardinal
feature to convert text toint
andBigInt
- Fix caret syntax on dependencies
- Started adding extensions to Map
- Fix: ensure fromRadixString() doesn't accept invalid digits
- Added
String
<->BigInt
converter extensions with support for radix up to 64
- Fix: ensure fromRadixString() is case insensitive when radix is <= 32
- Fix: allow changing characters to be used by Random() extensions more than once
- Added homeage to pubspec
- Allow setting characters to be used by Random() extensions
- Added
int.toRadixExtended()
extension to allow up to base 64 numeral system
- Bump dependency to include a required fix for
AnyDateConverter
- Add
toSentenceCase()
andtoTitleCase()
extensions
- Update readme and improve score by providing example
- Created
eval()
function, just for fun; does not serve any real purpose and should not be used 😅
- Add
toArray()
separatedList()
andwrappedList()
onIterable
- Add
AnyUriConverter
andAnyUriOrNullConverter
to converters library - Add
sleep()
to dart_essentials library
- Add
isNullOrEmpty
onString?
- Add
separated()
andwrapped()
onIterable
- Add
dart_essentials
library- includes
Range
class andrange()
function for loops similar to python
- includes
- Add a few more extensions on num
- Add
nextChar()
andnextString()
onRandom
- Add
AnyNumConverter
andAnyNullableNumConverter
- Exports extensions from collection package
- Add
shiftLeft()
andshiftRight()
onIterable
. Not in place, it returns new object - Renamed json converters
- Fix date only format
- Adds
orEmpty
onIterable?
- Initial version
- Basic extensions on dart primitives