Skip to content

Releases: garrettrayj/php7-mapnik

2.0.0

04 May 14:05
Compare
Choose a tag to compare

PHP7 Mapnik 2.0.0 enhances stability and durability of the extension by implementing best practices and improving code quality. This release does not include new features or major changes to the API, however it does improve exceptions and sets up the project for future additions.

  • Implemented new parameter parsing API.
    • Creating Mapnik objects with invalid arguments now throws a TypeError instead of \Mapnik\Exception.
    • Users should catch \Throwable, \Error, or \TypeError to handle errors from object construction or method invocation with bad arguments. Mapnik related errors, an invalid SRS for example, will still throw \Mapnik\Exception.
    • Utilizing strict types is recommended for the most predictable behavior.
  • Implemented argument info macros for feeding object reflection API.
  • Accessor macros are now used for fetch values from zvals.
  • Reorganized source code, fixed duplicate imports, and significantly improved code quality.
  • Added Dockerfile for creating an image tailored to PHP7 Mapnik extension development.
  • Added tooling for running tests with valgrind for memory leak detection.
    • CI builds now test for leaks.

1.2.3

15 May 16:33
14c4d7d
Compare
Choose a tag to compare

Workaround for GD not being loaded in some PHP environments and image.phpt test failing as a result.

1.2.2

17 Sep 05:13
Compare
Choose a tag to compare

PHP7 Mapnik 1.2.2 is a patch release with stability and compatibility fixes.

  • Fixes #11. Segmentation fault transforming projections other than EPSG:4326 and EPSG:3857.
  • PHP 7.2 compatibility. Fixed deprecation notices for assert(string) in tests.
  • Improved configuration for including dependencies.

1.2.1

08 May 13:18
Compare
Choose a tag to compare

PHP7 Mapnik 1.2.1 is a patch release that fixes critical memory management issues.

1.2.0

05 Apr 11:25
Compare
Choose a tag to compare

PHP7 Mapnik 1.2.0 includes new features, bug fixes, and documentation.

  • New functions for manipulating and navigating maps. Closes #8.
  • Class prototypes (happy IDEs) and auto-generated API documentation (happy developers).
  • Refactored tests to be object oriented with simple test case class.
  • Fixed issues with builds on Travis CI.