All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
4.0.0 - 2025-10-31
- #24: Added type declarations for class methods and properties
- #34: Replaced the hard-coded shape type integers with the
ShapeTypeenum
- #33: Drop support for PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0 and PHP 8.1
- #25: Removed parameter
$shpFilefromShapeRecord::loadFromFile()
3.1.0 - 2025-10-29
- #39: Drop support for PHP 7.1
3.0.2 - 2023-09-11
- Support for PHP 8.3
- Support for PHPUnit 10
3.0.1 - 2021-02-05
- Fix method signature of
ShapeFile::getDBFHeader()
3.0.0 - 2021-02-05
- Support for PHPUnit 8 and 9
- Support PHP 8
- Enable strict mode on PHP files
- Rename
ShapeFile::$FileNameproperty toShapeFile::$fileName - Rename
ShapeRecord::$SHPDataproperty toShapeRecord::$shpData - Rename
ShapeRecord::$DBFDataproperty toShapeRecord::$dbfData ShapeRecord::getContentLengthreturnsnullwhen the shape type is not supported instead offalse.
- Drop support for PHP 5.4, PHP 5.5, PHP 5.6, PHP 7.0 and HHVM
2.1 - 2017-05-15
- Documentation improvements.
2.0 - 2017-01-23
- Switched to PhpMyAdmin vendor namespace to follow PSR-4.
1.2 - 2017-01-07
- PHP 7.2 support.
- Coding style cleanup.
- Avoid installing tests and test data using composer.
1.1 - 2016-11-21
- Fixed adjusting of record bounding box
1.0 - 2016-11-21
- Documentation improvements
- Code cleanups
0.13 - 2016-11-21
- Code cleanups
- Improved test coverage
0.12 - 2016-11-17
- Improved test coverage
- Fixed DBF search
0.11 - 2016-11-16
- Code cleanups
- Fixed behavior without configured DBF header
- Fixed saving Polygon/Polyline creation with multiple parts
- Fixed saving Multipoint records
0.10 - 2016-09-05
- Improved error handling on loading
0.9 - 2016-08-04
- Code cleanups
0.8 - 2016-06-24
- Code cleanups
- Fixed loading of records with optional data
0.7 - 2016-06-24
- Properly fail on loading corrupted files
0.6 - 2016-06-24
- Fixed detection of end of file when loading
0.5 - 2016-06-24
- Added getShapeName method to ShapeFile
0.4 - 2016-06-24
- Make API work even without real file open
0.3 - 2016-06-24
- Better support for subclassing
0.2 - 2016-06-24
- Make the dbase extension optional dependency
- Initial release based on bfShapeFiles