The library now requires PHP 7.4 or later.
- Drop 7.2 support (Sam Reed)
- Add return types and make Reader and Writer signatures more consistent (Timo Tijhof)
- Writer\PHP: Faster
set()
by reducing total number of method calls (Thiemo Kreuz) - Writer\PHP: Faster
finish()
by using nativearray_fill()
where possible (Thiemo Kreuz) - Writer\PHP: Faster
set()
by inlining single-use methods (Thiemo Kreuz)
The library now requires PHP 7.2 or later.
- Drop PHP 5.5/5.6/7.0/7.1 and HHVM support (James D. Forrester)
- Cli: Add new
cdb
CLI (Timo Tijhof)
- Reader\Hash: Avoid use of wikimedia/assert (Ori Livneh)
- Add Reader\Hash, a new faux CDB interface wrapping an in-memory array (Daniel Kinzler)
- Reader\PHP: Avoid reading past the last key in
nextkey()
(Ori Livneh) - Reader\PHP: Optimize
readInt32
implementation (Ori Livneh) - Reader\PHP: Improve performance (Ori Livneh)
- Reader\PHP: Simplify
nextkey
by usingunpack31
, and reuse method forfirstkey
(Thomas Colomb) - Use PHP_OS rather than php_uname, which may be disabled (Chad Horohoe)
Initial release.