Releases: jrmajor/fluent-php
Releases · jrmajor/fluent-php
v1.0.2
v1.0.1
v1.0.0
Added
- Added support for unit formatting (#15), thanks @hakastein
- Upgraded CLDR data from v42 to v43 (c7dd998)
Improved
- Improved parser performance by ~65% (#13, 5c48158), thanks @hakastein
- Made locale data 1.2 MB smaller (#16)
Changed
- Allowed for overriding fluent functions (#14) by @hakastein
FluentBundle::message()
no longer supports named arguments (c3b3117)- Use
message('hello', ['name' => 'Toby'])
instead ofmessage('hello', name: 'Toby')
- Use
Removed
- Marked
FluentParser::parseEntry()
as@internal
(60a5fff)
v0.4.2
Added
Improved
Removed
v0.4.1
v0.4.0
Added
- Added PHP 8.1 support (ca70049...f593d0d)
- Added
NUMBER()
function (#3) - Added
FluentNumber::setOptions()
method (0fc155a) - Added
@return $this
annotations (abbb5c0)
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
v0.3.0
Changed
- Pass
null
instead ofFluentNone
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
v0.2.1
v0.2.0
Added
- Added support for runtime functions (f1dc0c3...1789256)