Released version 2.4.0
- requires PHP 5.6
- added trait
Nette\SmartObject
, it differs fromNette\Object
: - added trait
Nette\StaticClass
- Html: renamed
add()
toaddHtml()
; addedaddText()
(#111) - Html: deprecated "expanded" attribute data
- Html: added attribute public accessor methods
- Image::
place()
preserves the alpha channel - Strings::
random()
renamed toRandom::generate()
- Random: uses
random_bytes()
on PHP 7 - FileSystem: added
read()
- ArrayList: added
prepend()
- Json::
encode()
uses by default JSON_PRESERVE_ZERO_FRACTION (BC break) #89 - DateTime: implements JsonSerializable, formats date in ISO 8601 format accepted by JavaScript's Date object (BC break)
- Filter & RecursiveFilter are deprecated
For the details you can have a look at the diff.