|
1 | 1 | # CHANGELOG
|
| 2 | +## [3.0.0-dev.1] |
| 3 | + |
| 4 | +#### Added |
| 5 | + |
| 6 | +- Introduced **`Paginator`**, **`AsyncPaginator`**, and **`InfinitePaginator`** for synchronous, asynchronous, and |
| 7 | + infinite scrolling pagination support. |
| 8 | + |
| 9 | +- **New `calculateAge()` method** in `DateTime` extensions to compute age from a date with a leap year check. |
| 10 | + |
| 11 | +- **Numerals:** |
| 12 | + |
| 13 | + - `safeDivide`: Safely divides two numbers with custom handling for division by zero and zero values. |
| 14 | + - `roundToNearestMultiple`, `roundUpToMultiple`, `roundDownToMultiple`: Rounds numbers to the nearest, up, or down |
| 15 | + to specified multiples. |
| 16 | + - `isBetween`: Checks if a number is within a specified range with optional inclusivity. |
| 17 | + - `toCurrency`, `toPercent`, `toFractionString`: Converts numbers to currency, percentage, or fraction string |
| 18 | + formats. |
| 19 | + - `isApproximatelyEqual`, `isCloseTo`: Compares numbers within specified tolerance or delta. |
| 20 | + - `scaleBetween`: Normalizes a number between specified minimum and maximum values. |
| 21 | + - `isInteger`: Checks if a number is an integer. |
| 22 | + - `factorial`, `gcd`, `lcm`: Calculates factorial, greatest common divisor, and least common multiple. |
| 23 | + - `isPrime`, `primeFactors`: Checks for primality and calculates prime factors. |
| 24 | + - `toRomanNumeral`, `toOrdinal`: Converts integers to Roman numerals or ordinal representation. |
| 25 | + - `isPerfectSquare`, `isPerfectCube`, `isFibonacci`: Checks if an integer is a perfect square, cube, or Fibonacci |
| 26 | + number. |
| 27 | + - `isPowerOf`: Checks if an integer is a power of another number. |
| 28 | + - `toBinaryString`, `toHexString`, `bitCount`: Converts integers to binary, hexadecimal, and counts set bits. |
| 29 | + - `isDivisibleBy`: Checks if an integer is divisible by another number. |
| 30 | + |
| 31 | + - **New NumbersHelper class with static methods:** |
| 32 | + - Added utilities for safe division, mean, median, mode, variance, standard deviation, and percentiles. |
| 33 | + - Introduced methods for GCD, checking perfect squares, and converting Roman numerals to integers. |
| 34 | + |
| 35 | +#### Changed |
| 36 | + |
| 37 | +- **Improved `tryGetX` methods in `Iterable` and `Map` extensions:** Added alternative key lookups using `altKeys` in |
| 38 | + various getter methods like `getString()`, `getInt()`, etc. |
| 39 | + |
| 40 | +#### Removed |
| 41 | + |
| 42 | +- **`HttpResStatus` enum** and associated extensions were removed, replaced by new lightweight HTTP status |
| 43 | + code handling methods like `toHttpStatusMessage`. |
| 44 | + |
2 | 45 | ## [2.7.0]
|
3 | 46 | - **Added the `toDecimalString` method on numbers**:
|
4 | 47 | similar to `toStringAsFixed` which allows formatting numbers to a specified
|
|
0 commit comments