Releases: gmpassos/swiss_knife
Releases · gmpassos/swiss_knife
v2.5.16
- New `AsyncValue`: to handle values that comes from `Future`. - Added `isEncodedJSON`, `isEncodedJSONList` and `isEncodedJSONMap`: to check if a `String` is an encoded JSON. - ADded `isDigit`, `isAlphaNumeric`, `isDigitString`, `isAlphaNumericString`. - Added `listMatchesAny`, `isListValuesIdentical`, `listContainsAll`, `ensureNotEmptyString`, `deepCatchesValues`. - `MimeType.fileExtension`: support for `svg`, `xhtml`, `mpeg`, `mp3`, `ico`. - Changed method signature: `getUriRootURL`, `getUriBaseHostAndPort`, `resolveUri`.
v2.5.15
- Added: `isEmptyString`, `isNotEmptyString`, `isListEntriesAllOfType`. - Added `deepCopyMap`. - `deepCopy`: added parameter `copier`. - `NNField`: Added `resolver`. - `MimeType`: added SVG support. - `InteractionCompleter`: - `interact`: Added parameters `interactionParameters` and `ignoreConsecutiveEqualsParameters`. - Added `dispose`. - `encodeJSON`: Added parameter `toEncodable`. - Added: `toEncodableJSON`. - `parseInt`, `parseDouble` and `parseNum` now returns default value (`def`) in case of parsing error. - isDouble now can parse `.00` pattern. - Fix: `dataSizeFormat`.
v2.5.14
- `MimeType`: Added new types. - Added constructor `MimeType.byExtension`. - `MimeType`: Fixed parsing of `gif`. - `EventStream`: Added `cancelAllSingletonSubscriptions`, `cancelSingletonSubscription`, `getSingletonSubscription`. - Added `listenStreamWithInteractionCompleter`. - pedantic: ^1.9.2
v2.5.13
v2.5.12
- Added `isPositiveNumber`, `isNegativeNumber`. - Added `MimeType.APPLICATION_ZIP`. - Added `maxInIterable`, `minInIterable`. - Added `deepReplaceValues`, `deepReplaceListValues`, `deepReplaceMapValues`. - Added `parseComparable`, `removeEmptyEntries`, `sortMapEntries`, `sortMapEntriesByValue`, `sortMapEntriesByKey`.
v2.5.11
v2.5.10
v2.5.9
- `MimeType`: Added `charset`. - Added: `parseJSON`, `isBlankString`, `isBlankStringInRange`, `isEqualsSet`, `isEqualsIterable`. - Added: `asTreeOfKeyString`, `parseMapEntry`, `groupIterableBy`, `sumIterable`, `averageIterable`. - Added: `parseJSON`, `encodeJSON`. - Removed `splitRegExp`. `split` now accepts `Pattern` (`String` and `RegExp`). - Optimized `isBlankCodeUnit`.
v2.5.8
- Added string helpers: `isBlankChar`, `isBlankCodeUnit`, `hasBlankChar`, `hasBlankCharInRange`. - IO: `catFile`, `catFileBytes`, `saveFile`, `saveFileBytes`. - `InteractionCompleter`: `cancel` - `MimeType``: equals and hashcode. - Added: `isEqualsList`, `isEqualsMap`.