Skip to content

Releases: jrmajor/fluent-php

v1.0.1

01 Dec 21:49
v1.0.1
24d1a4b
Compare
Choose a tag to compare

Added

Improved

  • Upgraded CLDR data from v43 to v44 (c7fb2ff)
  • Marked more files with export-ignore (2f67a53)

v1.0.0

09 Jul 16:24
v1.0.0
4fea58c
Compare
Choose a tag to compare

Added

  • Added support for unit formatting (#15), thanks @hakastein
  • Upgraded CLDR data from v42 to v43 (c7dd998)

Improved

Changed

  • Allowed for overriding fluent functions (#14) by @hakastein
  • FluentBundle::message() no longer supports named arguments (c3b3117)
    • Use message('hello', ['name' => 'Toby']) instead of message('hello', name: 'Toby')

Removed

  • Marked FluentParser::parseEntry() as @internal (60a5fff)

v0.4.2

26 Dec 15:16
v0.4.2
5c89f9d
Compare
Choose a tag to compare

Added

Improved

  • Use list type instead of the [] notation (b231304)
  • Marked more files with export-ignore (7cc93e0)

Removed

  • Dropped PHP 8.0 support (36e9816)
  • Removed FluentBundle::FSI and FluentBundle::PDI constants (f717350)

v0.4.1

27 Jan 17:47
v0.4.1
3cf173f
Compare
Choose a tag to compare

Improved

  • Fixed parser performance on large files (#9)

v0.4.0

26 Jan 01:32
v0.4.0
3a3a7cf
Compare
Choose a tag to compare

Added

Changed

  • Runtime function exceptions are now catched and reported by bundle as FunctionException (75f3b96)
  • Format numbers using built-in number formatter instead of relying on ext-intl (#3)
  • Made FluentNumber final (7406a71)

Removed

  • Removed $minimumFractionDigits argument of FluentNumber::__construct(), use setOptions() instead (0fc155a)
  • All FluentNumber methods except for constructor and setOptions() are now @internal (844eb46)

v0.3.0

01 Sep 20:23
v0.3.0
c81c2eb
Compare
Choose a tag to compare

Changed

  • Pass null instead of FluentNone to Fluent functions (dd5780a)
  • Check Fluent functions return types (b8e4480)
  • Accept message arguments as array only if there is one argument passed to message() method (fc4632d)
  • Require stable verison of jrmajor/pluralrules (2cc5eda)

Removed

Fixed

  • Set locale when FluentNumber is passed as an argument (67f7118)
  • Fix loose comparison in FluentNumber (e1af8eb)
  • Improve error messages for unsupported variable types (d1234dd)

v0.2.1

02 Jul 11:48
v0.2.1
49734b5
Compare
Choose a tag to compare

Changed

v0.2.0

29 May 12:25
v0.2.0
07656a9
Compare
Choose a tag to compare

Added

v0.1.0

28 May 19:07
v0.1.0
b8d4a46
Compare
Choose a tag to compare

Initial release.