wp-php-toolkit/data-liberation
Data Liberation component for WordPress.
v0.9.0
298K downloads/mo
#2994 most downloaded on Packagist
wp-php-toolkit/data-liberation
What this package is like to depend on
Last release 24 days ago
30 Jul 2026
Ships unpredictably
gaps range from 8 days to 4 months
Some releases are documented
notes for 19 of 40 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
49 releases · first in 2025
42 releases in the last 12 months
see the full history below
Release timeline
44 releases · Jun 2025 to Jul 2026Releases
latest 49-
v0.9.030 Jul 2026Release notes
Open source →👌 Improvements
BigNumber::of()now accepts.123and123.formats, both of which return aBigDecimal
💥 Breaking changes
- Deprecated method
BigInteger::powerMod()has been removed - usemodPow()instead - Deprecated method
BigInteger::parse()has been removed - usefromBase()instead
-
v0.8.127 May 2026 -
v0.8.019 May 2026Release notes
Open source →Use the native URL-in-text scanner when available and add bounded caches for parsed URL candidates and rewrite results.
Release notes
Open source →Breaking changes
The following deprecated methods have been removed. Use the new method name instead:
Method removed Replacement method BigDecimal::getIntegral()BigDecimal::getIntegralPart()BigDecimal::getFraction()BigDecimal::getFractionalPart()
New features
BigIntegerhas been augmented with 5 new methods for bitwise operations:New method Description and()performs a bitwise ANDoperation on two numbersor()performs a bitwise ORoperation on two numbersxor()performs a bitwise XORoperation on two numbersshiftedLeft()returns the number shifted left by a number of bits shiftedRight()returns the number shifted right by a number of bits Thanks to @DASPRiD 👍
-
v0.7.918 May 2026Nothing published for this version
-
v0.7.818 May 2026Nothing published for this version
-
v0.7.718 May 2026Nothing published for this version
-
v0.7.617 May 2026Nothing published for this version
-
v0.7.512 May 2026Nothing published for this version
-
v0.7.411 May 2026Nothing published for this version
-
v0.7.304 May 2026Release notes
Open source →New method:
BigDecimal::hasNonZeroFractionalPart()Renamed/deprecated methods:
BigDecimal::getIntegral()has been renamed togetIntegralPart()and is now deprecatedBigDecimal::getFraction()has been renamed togetFractionalPart()and is now deprecated
-
v0.7.230 Apr 2026Release notes
Open source →Performance update
BigInteger::parse()andtoBase()now use GMP's built-in base conversion features when available. -
v0.7.130 Apr 2026Release notes
Open source →This is a maintenance release, no code has been changed.
- When installed with
--no-dev, the autoloader does not autoload tests anymore - Tests and other files unnecessary for production are excluded from the dist package
This will help make installations more compact.
- When installed with
-
v0.7.029 Apr 2026Release notes
Open source →Methods renamed:
BigNumber:sign()has been renamed togetSign()BigDecimal::unscaledValue()has been renamed togetUnscaledValue()BigDecimal::scale()has been renamed togetScale()BigDecimal::integral()has been renamed togetIntegral()BigDecimal::fraction()has been renamed togetFraction()BigRational::numerator()has been renamed togetNumerator()BigRational::denominator()has been renamed togetDenominator()
Classes renamed:
ArithmeticExceptionhas been renamed toMathException
-
v0.6.227 Apr 2026Release notes
Open source →The base class for all exceptions is now
MathException.ArithmeticExceptionhas been deprecated, and will be removed in 0.7.0. -
v0.6.127 Apr 2026Release notes
Open source →A number of methods have been renamed:
BigNumber:sign()is deprecated; usegetSign()insteadBigDecimal::unscaledValue()is deprecated; usegetUnscaledValue()insteadBigDecimal::scale()is deprecated; usegetScale()insteadBigDecimal::integral()is deprecated; usegetIntegral()insteadBigDecimal::fraction()is deprecated; usegetFraction()insteadBigRational::numerator()is deprecated; usegetNumerator()insteadBigRational::denominator()is deprecated; usegetDenominator()instead
The old methods will be removed in version 0.7.0.
-
v0.6.010 Apr 2026Release notes
Open source →- Minimum PHP version is now 7.1; for PHP 5.6 and PHP 7.0 support, use version
0.5 - Deprecated method
BigDecimal::withScale()has been removed; usetoScale()instead - Method
BigNumber::toInteger()has been renamed totoInt()
- Minimum PHP version is now 7.1; for PHP 5.6 and PHP 7.0 support, use version
-
v0.5.102 Apr 2026Release notes
Open source →New method:
BigNumber::toScale()This allows to convert any
BigNumberto aBigDecimalwith a given scale, using rounding if necessary. -
v0.5.002 Apr 2026Release notes
Open source →New features
- Common
BigNumberinterface for all classes, with the following methods:sign()and derived methods (isZero(),isPositive(), ...)compareTo()and derived methods (isEqualTo(),isGreaterThan(), ...) that work across differentBigNumbertypestoBigInteger(),toBigDecimal(),toBigRational() conversion methodstoInteger()andtoFloat()conversion methods to native types
- Unified
of()behaviour: every class now accepts any type of number, provided that it can be safely converted to the current type - New method:
BigDecimal::exactlyDividedBy(); this method automatically computes the scale of the result, provided that the division yields a finite number of digits - New methods:
BigRational::quotient()andremainder() - Fine-grained exceptions:
DivisionByZeroException,RoundingNecessaryException,NumberFormatException - Factory methods
zero(),one()andten()available in all classes - Rounding mode reintroduced in
BigInteger::dividedBy()
This release also comes with many performance improvements.
Breaking changes
BigInteger:getSign()is renamed tosign()toString()is renamed totoBase()BigInteger::dividedBy()now throws an exception by default if the remainder is not zero; usequotient()to get the previous behaviour
BigDecimal:getSign()is renamed tosign()getUnscaledValue()is renamed tounscaledValue()getScale()is renamed toscale()getIntegral()is renamed tointegral()getFraction()is renamed tofraction()divideAndRemainder()is renamed toquotientAndRemainder()dividedBy()now takes a mandatory$scaleparameter before the rounding modetoBigInteger()does not accept a$roundingModeparameter anymoretoBigRational()does not simplify the fraction anymore; explicitly add->simplified()to get the previous behaviour
BigRational:getSign()is renamed tosign()getNumerator()is renamed tonumerator()getDenominator()is renamed todenominator()of()is renamed tond(), whileparse()is renamed toof()
- Miscellaneous:
ArithmeticExceptionis moved to anException\sub-namespaceof()factory methods now throwNumberFormatExceptioninstead ofInvalidArgumentException
- Common
-
v0.4.120 Nov 2025Release notes
Open source →Introducing a
BigRationalclass, to perform calculations on fractions of any size. -
v0.4.020 Nov 2025Release notes
Open source →Rounding modes have been removed from
BigInteger, and are now a concept specific toBigDecimal.BigInteger::dividedBy()now always returns the quotient of the division. -
v0.3.103 Nov 2025 -
v0.3.0no dateRelease notes
Open source →The
$roundingModeand$scaleparameters have been swapped inBigDecimal::dividedBy(). -
v0.2.0no dateRelease notes
Open source →min()andmax()do not accept anarrayanymore, but a variable number of parameters- minimum PHP version is now 5.6
- continuous integration with PHP 7
-
v0.1.516 Oct 2025Nothing published for this version
-
v0.1.416 Sep 2025Nothing published for this version
-
v0.1.308 Sep 2025Nothing published for this version
-
v0.1.208 Sep 2025Nothing published for this version
-
v0.1.108 Sep 2025 -
v0.1.008 Sep 2025 -
0.0.1908 Sep 2025Nothing published for this version
-
0.0.1808 Sep 2025Nothing published for this version
-
0.0.1708 Sep 2025Nothing published for this version
-
0.0.1608 Sep 2025Nothing published for this version
-
v0.0.1508 Sep 2025Nothing published for this version
-
v0.0.15-alpha08 Sep 2025 pre-releaseNothing published for this version
-
0.0.1408 Sep 2025Nothing published for this version
-
0.0.1308 Sep 2025Nothing published for this version
-
0.0.1208 Sep 2025Nothing published for this version
-
0.0.1106 Sep 2025Nothing published for this version
-
v0.0.8-alpha08 Sep 2025 pre-releaseNothing published for this version
-
0.0.706 Sep 2025Nothing published for this version
-
v0.0.7-alpha08 Sep 2025 pre-releaseNothing published for this version
-
0.0.606 Sep 2025Nothing published for this version
-
v0.0.6-alpha08 Sep 2025 pre-releaseNothing published for this version
-
v0.0.5-alpha04 Jun 2025 pre-releaseNothing published for this version
-
v0.0.4-alphano date pre-releaseNothing published for this version
-
v0.0.3-alphano date pre-releaseNothing published for this version
-
v0.0.2-alpha02 Jun 2025 pre-releaseNothing published for this version
-
v0.0.1-alphano date pre-releaseNothing published for this version