Skip to content

Releases: gmpassos/statistics

v1.0.9

16 Dec 01:56
Compare
Choose a tag to compare
- Added extensions:
  - `String: `encodeLatin1`, `encodeUTF8`, `truncate`.
  - `Uint8List`: `copyAsUnmodifiable`, `asUnmodifiableView`, `toStringLatin1/bytes`, `toStringUTF8/bytes`,
     `setUint8/16/32/64`, `setInt8/16/32/64`.
  - `List<int>`: `toUint8List`, `asUint8List`, `compareWith`.
  - `int`: `isSafeInteger`, `checkSafeInteger`, `int16/32/64ToBytes`, `uInt16/32/64ToBytes`.
  - `BigInt`: `isSafeInteger`, `checkSafeInteger`.
- Improved documentation.
- Fix typo: renamed extension with `UInt` to `Uint` to follow Dart style.

v1.0.8

15 Dec 23:33
Compare
Choose a tag to compare
- Added extensions:
  - `DateTime.elapsedTime`.
  - `int`: `bits/8/16/32/64`, `toUint8List32Reversed`, `toUint8List64Reversed`.
  - `Uint8List`: `bits/8/16/32/64`.

v1.0.7

15 Dec 22:32
Compare
Choose a tag to compare
  • Chronometer.toString: added parameter withTime.
  • Added StatisticsPlatform to ensure safe int serialization in any Dart platform.
  • double extension: added toPercentage.
  • int extension: added toBigInt, toUint8List32, toUint8List64, toHex32, toHex64, toStringPadded.
  • Added extension for BigInt and Uint8List.
  • Added numeric extension for String.
  • Migrated code coverage to use package coverage.
  • base_codecs: ^1.0.1
  • coverage: ^1.0.3

v1.0.6

30 Nov 20:34
Compare
Choose a tag to compare
- `Chronometer.elapsedTimeMs`: now returns the elapsed time even if not stopped.

v1.0.5

30 Aug 02:34
Compare
Choose a tag to compare
- `Statistics`:
  - Added `medianHigh`, `medianLow` and `median`.
    - Change constructor: required `medianHigh`.
  - `center` points to `medianHigh`.
- `NumExtension`:
  - Added: `num.cast`.

v1.0.4

13 Aug 04:13
Compare
Choose a tag to compare
- New metric tools:
  - `UnitLength` and `UnitLengthExtension`.
- Added:
  - `parseDateTime`.
  - `DateTimeExtension`:
    - `formatToYMD`, `formatToYMDHm`, `formatToYMDHms`, `formatToYMDHmZ` and `formatToYMDHmsZ`.
  - `MapExtension`:
    - `equalsKeysValues`.
  - `ListMapExtension`:
    - `sortByKey`.
  - `IterableMapExtension`:
    - `sortedByKey`.
  - `DoubleExtension`:
    - `truncateDecimals`.
- Optimize:
  - Optimize `splitColumns` with `acceptsQuotedValues`.
- Improved API Documentation.

v1.0.3

04 Aug 04:15
Compare
Choose a tag to compare
- New extension methods:
  - `head`, `tail` and `sublistReversed`.
  - `searchInsertSortedIndex` and `binarySearchPoint`.
  - `resampleByIndex` and `resampleByValue`.
- Changed from package `pedantic` (deprecated) to `lints`.
- lints: ^1.0.1

v1.0.2

03 Aug 09:23
Compare
Choose a tag to compare
- Improve extensions.
- generateCSV:
  - Added `commaAsDecimalSeparator` and `decimalPrecision`.

v1.0.1

12 Jul 04:50
Compare
Choose a tag to compare
- Added:
  - `DoubleEquality`, `IntEquality` and `NumEquality`.
- Improve unit tests and coverage up to 98%.
- Improve example.
- Improve `README.md`.

v1.0.0

10 Jul 05:50
Compare
Choose a tag to compare
- `extension` for `int`, `double` and `num` collections.
- Initial version.