Skip to content

Releases: michael-rubel/laravel-formatters

v4.1.2

08 Jul 12:21
Compare
Choose a tag to compare

What's Changed

  • Use Laravel Pint instead of PHP_CodeSniffer
  • Bump allowed version of LEC

Full Changelog: 4.1.1...4.1.2

v4.1.1

23 Jun 09:52
Compare
Choose a tag to compare

Maintenance release

  • Avoiding further problems with passing null to native string functions like mb_strtoupper

Full Changelog: 4.1.0...4.1.1

v4.1.0

09 Jun 17:39
Compare
Choose a tag to compare

Full Changelog: 4.0.1...4.1.0

v4.0.1

23 May 08:01
Compare
Choose a tag to compare

What's changed

  • Removed the LEC provider registering (no longer necessary).

Full Changelog: 4.0.0...4.0.1

v4.0.0

18 May 07:47
Compare
Choose a tag to compare

What's changed

  • The package was refactored to make it maintainable.
  • format helper now supports variadic parameters:
format(DateTimeFormatter::class, now(), 'UTC', 'Y-m-d H:i:s');

Full Changelog: 3.3.3...4.0.0

v3.3.3

01 Apr 05:58
Compare
Choose a tag to compare

Changed

  • Cleaned up unused conditions.

v3.3.2

25 Mar 10:07
Compare
Choose a tag to compare

Full Changelog: 3.3.1...3.3.2

v3.3.1

24 Mar 11:57
Compare
Choose a tag to compare

Changed

  • Hotfix for variadic dependency in format helper (this feature will land in the next major release to prevent breaking changes).

v3.3.0

24 Mar 11:37
Compare
Choose a tag to compare

Added

  • Variadic parameters in format helper.
  • Added possibility to set timezone in Date/DateTime formatters.

Changed

  • Date/DateTime formatters now contain class properties for datetime and timezone parameters.
  • TaxNumber/LocaleNumber formatters are slightly modified to handle variadic parameters from collection.

v3.2.2

07 Mar 15:07
Compare
Choose a tag to compare

Changed

  • Applied code quality recommendations from the latest Larastan.
  • Fixed typecast issue with first collection parameter.