Skip to content

Releases: SetBased/php-helper-cast

3.1.0

07 Jun 06:34
e4147af

Choose a tag to compare

  • Drop PHP 8.1 and 8.2.
  • Support PHP 8.4.

3.0.1

19 Feb 09:47

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

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

Choose a tag to compare

  • Use GitHub actions for CI.
  • Update dependencies.

2.1.1

10 May 11:10

Choose a tag to compare

  • Convert non finite floats 'INF', '-INF', and 'NAN' strings to floats.

2.1.0

02 Apr 07:46

Choose a tag to compare

  • Updated dependencies:
    • php >=7.3
    • phpunit ^9.0

2.0.0

14 Nov 07:37

Choose a tag to compare

  • Changed namespace SetBased\Helper.

1.2.0

27 Feb 06:34

Choose a tag to compare

  • Added default values to cast methods.

1.1.1

11 Feb 12:01

Choose a tag to compare

  • Fixed bool to int issue.

1.1.0

10 Feb 14:49
6aac39c

Choose a tag to compare

  • Added methods for finite floats.
  • Re-wrote and added more unit tests.