Changelog for dbase |
Release |
What has changed? |
7.1.1 |
Bug Fixes
- Fixed GH-1 (dbase_add_record() converts passed floats and leaks memory)
- Fixed #81563 (SIGSEGV reading dbase file with few data) |
7.1.0 |
New features
- Full fledged arginfo is available under PHP 8 (Remi Collet)
- Calling dbase functions with wrong parameter types/values throws TypeExceptions and
ValueExceptions, respectively, instead of raising warnings under PHP 8 (Remi Collet)
Bug Fixes
- Fixed #80156 (Incomplete records may be written)
- Fixed #80488 (ReflectionParameter->getDefaultValue() throws for dbase_create()) |
7.1.0RC2 |
New features
- Full fledged arginfo is available under PHP 8 (Remi Collet)
- Calling dbase functions with wrong parameter types/values throws TypeExceptions and
ValueExceptions, respectively, instead of raising warnings under PHP 8 (Remi Collet)
Bug Fixes
- Fixed #80156 (Incomplete records may be written) |
7.1.0RC1 |
New features
- Full fledged arginfo is available under PHP 8 (Remi Collet)
- Calling dbase functions with wrong parameter types/values throws TypeExceptions and
ValueExceptions, respectively, instead of raising warnings under PHP 8 (Remi Collet)
Bug Fixes
- Fixed #80156 (Incomplete records may be written) |
7.0.1 |
Security Fixes
- Fixed #78668 (Out-of-bounds Read in dbase.c)
Bug Fixes
- Fixed #78070 (dbase functions may modify passed array)
- Fixed #78594 (compile error: 'LOCK_EX' undeclared) |
7.0.0 |
Backward Incompatible Changes
- database link identifiers are now proper resources instead of integers
- logical values are now retrieved as booleans instead of integers
New Features
- FoxPro datetime fields ('T') are now supported as "YYYYMMDDhhmmss.uuu"
- Uninitialized logical fields are now supported as NULL
- base_create() now supports an optional $type parameter (either DBASE_TYPE_DBASE
or DBASE_TYPE_FOXPRO) to define the type of database to be created
- FoxPro nullable fields are now transparently supported
- The $mode of dbase_open() can now be specified as DBASE_RDONLY or DBASE_RDWR
- The version of the dbase extension is now available as DBASE_VERSION
- Basic database locking has been implemented
- Internally the Zend memory manager is now used
- Error reporting has been improved; e.g. unsupported field type now raise a
warning
Bug Fixes
- Fixed #39305 (Use of decimal point in different countries)
- Fixed #52112 (dbase_get_record() returns integer instead of decimal values)
- Fixed #68289 (wrong strlcpy call)
- Fixed #72812 (dbase_create does not close the FD on failure)
- Fixed #72815 (zend_get_parameters_ex() is deprecated)
- Fixed #73391 (Writing of floats can cause OOB reads)
- Fixed #73395 (failing dbase_create() may leak memory)
- Fixed #73411 (dbase_pack() returns TRUE on failure)
- Fixed #73414 (Unsupported field types may cause dbase_open() to leak memory)
- Fixed #73442 (Float fields always have precision 0)
- Fixed #73447 (Floats written to character fields are truncated to integer)
- Fixed #74983 (SIGABRT when function put_dbf_field is called) |
7.0.0RC1 |
Backward Incompatible Changes
- database link identifiers are now proper resources instead of integers
- logical values are now retrieved as booleans instead of integers
New Features
- FoxPro datetime fields ('T') are now supported as "YYYYMMDDhhmmss.uuu"
- Uninitialized logical fields are now supported as NULL
- base_create() now supports an optional $type parameter (either DBASE_TYPE_DBASE
or DBASE_TYPE_FOXPRO) to define the type of database to be created
- FoxPro nullable fields are now transparently supported
- The $mode of dbase_open() can now be specified as DBASE_RDONLY or DBASE_RDWR
- The version of the dbase extension is now available as DBASE_VERSION
- Basic database locking has been implemented
- Internally the Zend memory manager is now used
- Error reporting has been improved; e.g. unsupported field type now raise a
warning
Bug Fixes
- Fixed #73391 (Writing of floats can cause OOB reads)
- Fixed #73395 (failing dbase_create() may leak memory)
- Fixed #73411 (dbase_pack() returns TRUE on failure)
- Fixed #73414 (Unsupported field types may cause dbase_open() to leak memory)
- Fixed #73442 (Float fields always have precision 0)
- Fixed #73447 (Floats written to character fields are truncated to integer)
- Fixed #74983 (SIGABRT when function put_dbf_field is called) |
5.1.1 |
- Fixed #39305: Use of decimal point in different countries
- Fixed #52112: dbase_get_record() returns integer instead of decimal values
- Fixed #68289: wrong strlcpy call
- Fixed #72812: dbase_create does not close the FD on failure
- Fixed #73391: Writing of floats can cause OOB reads |
7.0.0beta1 |
- PHP 7 compatibility (use dbase-5 with PHP 5)
- Fixed #39305: Use of decimal point in different countries
- Fixed #52112: dbase_get_record() returns integer instead of decimal values
- Fixed #68289: wrong strlcpy call
- Fixed #72812: dbase_create does not close the FD on failure
- Fixed #72815: zend_get_parameters_ex() is deprecated |
5.1.0 |
- Fixed build on PHP 5.4+ |
5.0.1 |
Bug fix release
#18831 - invalid length field when writing date and boolean types. |
5.0 |
package.xml added to support installation using pear installer
Released so at least it can be installed.. |