Releases: martin-georgiev/postgresql-for-doctrine
Releases · martin-georgiev/postgresql-for-doctrine
Minimum supported PHP version updated to 7.1
After more than 3 years of identifying and testing the most useful PostgreSQL json(b) and array data types features in Doctrine projects, it is finally time for this long-awaited stable release.
Last planned minor release before v1.0
- Deprecate
ArrayAreOverlapingEachOther
and favourOverlaps
. These two DQL functions are identical and v1.0 will seeArrayAreOverlapingEachOther
removed. - Update confusing language in function classes inheriting
AbstractFunction
. - Add functional tests for the query functions so there are some real-life examples for reference.
- Break-down README in several self-contained documents.
Minimum supported PHP version bumped to 5.6. Housekeeping.
This release comes with no new features. It fixes some issues and edge-cases that were not properly handled before (eg resolving #17, throwing more often exceptions when bad data is detected). It also addresses numerous previously neglected housekeeping todos like:
- Dropping support for PHP 5.5 which is EOL. This means the minimum PHP version is now 5.6.
- Applying automated code style check.
- Applying fixes reported by static analysis.
- Updating Travis and Scrutinizer configurations. The CI pipeline checks for more stuff and does this in a better way.
Support for more JSON functions and new features introduced in PostgreSQL 9.5 and 9.6
New functions support:
- ARRAY_DIMS
- ARRAY_NDIMS
- ARRAY_TO_JSON
- ROW_TO_JSON
- TO_JSON
- TO_JSONB
- UNNEST
- JSON_ARRAY_LENGTH
- JSON_EACH
- JSON_EACH_TEXT
- JSON_OBJECT_KEYS
- JSON_STRIP_NULLS
- JSONB_INSERT
- JSONB_SET
- JSONB_STRIP_NULLS
Smarter text arrays
Smarter handling of PostgreSQL's text arrays
Support for PostgreSQL's array_length
Travis CI integration