Skip to content

Releases: SetBased/php-helper-cast

3.0.1

19 Feb 09:47
Compare
Choose a tag to compare
  • Preserve all digits when casting a float to string and NaN, INF, and -INF are case insensitive.

3.0.0

25 Jan 12:48
Compare
Choose a tag to compare
  • Upgrade to PHP 8.1 and higher.
  • Rename float methods.
  • Use GitHub actions.

2.1.2

18 Dec 07:57
Compare
Choose a tag to compare
  • Use GitHub actions for CI.
  • Update dependencies.

2.1.1

10 May 11:10
Compare
Choose a tag to compare
  • Convert non finite floats 'INF', '-INF', and 'NAN' strings to floats.

2.1.0

02 Apr 07:46
Compare
Choose a tag to compare
  • Updated dependencies:
    • php >=7.3
    • phpunit ^9.0

2.0.0

14 Nov 07:37
Compare
Choose a tag to compare
  • Changed namespace SetBased\Helper.

1.2.0

27 Feb 06:34
Compare
Choose a tag to compare
  • Added default values to cast methods.

1.1.1

11 Feb 12:01
Compare
Choose a tag to compare
  • Fixed bool to int issue.

1.1.0

10 Feb 14:49
6aac39c
Compare
Choose a tag to compare
  • Added methods for finite floats.
  • Re-wrote and added more unit tests.

1.0.0

08 Feb 10:29
Compare
Choose a tag to compare
Updated targets.