Skip to content

Releases: mapbender/data-source

0.1.19

17 Dec 12:51
Compare
Choose a tag to compare
  • Fix potentially broken id of newly saved items / features on PostgreSQL
  • Fix FeatureType::insert method accepting prepopulated id
  • Fix geometry type detection on valid WKT with empty coordinates
  • Fix Ewkt handling in Feature::setGeom

0.1.18

17 Dec 12:50
Compare
Choose a tag to compare
  • Fix reprojection errors on insert
  • Fix Postgis column srid detection
  • Fix intersection query errors with small intersect geometries on degree-based CRS
  • Prefer database-detected column srid over (error prone) srid value from feature type configuration
  • Run all insert / update geometries through ST_MakeValid on Postgis to avoid collateral intersection query errors

0.1.17

17 Dec 12:50
Compare
Choose a tag to compare
  • Fix DataStore-only errors on updates with reserved words as column names (e.g. PostgreSQL "public")
  • Fix SELECT queries with reserved words as column names (e.g. PostgreSQL "public")
  • Fix UPDATEs and INSERTs writing values to type BOOLEAN columns on PostgreSQL
  • Fix inability to write NULL into nullable columns with non-null defaults on INSERT on PostgreSQL
  • Fix PHP7.0 method signature error (PR#15)
  • Fix Postgis intersection condition not matching self-intersecting geometries
  • Fix row loading limit
  • Added misc BaseElement child class customization support methods
    • getDataStoreKeyInSchemaConfig
    • getDataStoreKeyInFormItemConfig

Bugfixes

12 Mar 10:02
Compare
Choose a tag to compare
  • Fix Oracle bounding-box intersection query (PR#14)
  • Fix DataStore empty item initialization

Bugfixes

12 Mar 10:02
Compare
Choose a tag to compare
  • Fix DataStore getById
  • Fix error handling when saving

0.1.16 Injection security, more customizability, deprecations

20 Nov 09:17
Compare
Choose a tag to compare
  • Fix Feature initialization from GeoJSON: respect configured geomField, apply optional non-standard embedded srid and id correctly
  • Fix broken data format in Oracle::prepareResults
  • Fix exception on table miss in DataStore::getById, return null instead
  • Change FeatureType::getById return value on table miss from false to null
  • Support :userName filter binding also in DataStore::search (previously only in FeatureType::search)
  • Escape :userName properly in FeatureType::search and DataStore::search
  • Escape :distance in FeatureType::search (now a bound param)
  • Extract FeatureType / DataStore method addCustomSearchCritera method for customization support
  • Add DataStoreService::getDbalConnectionByName method
  • getUniqueId and getTablename methods are now also available on DataStore object (previously only FeatureType)
  • Deprecate DataItem construction with a (jsonish) string
  • Deprecate magic Feature::__toString invocation
  • Make tests with missing prerequisites fail instead of skip

0.1.15 fixes, customizability, type checking

13 Nov 07:35
Compare
Choose a tag to compare
  • Fix broken select item options when combining static options with sql-path options
  • Customization support: extracted methods from BaseItem::prepareItem
    • prepareSelectItem
    • formatSelectItemOption
    • formatStaticSelectItemOptions
    • prepareSqlSelectItem
    • formatSqlSelectItemOption
    • prepareDataStoreSelectItem
    • prepareServiceSelectItem
    • getDataStoreService
    • getDbalConnectionByName
  • Disambiguate DataStoreService::get and FeatureTypeService::get by adding getDataStoreByName and getFeatureTypeByName methods
    • Extract factory methods for customization support
  • Remove invalid fallback service id default from dataStore select item path; serviceName is no longer optional
  • Log warning on redundant combination of "dataStore" / "sql" / "service" select item configuration
  • Emit more specific errors for missing / type mismatched driver configuration values

0.1.14 Deprecation fix, httpAction forwarding fix

11 Nov 13:09
Compare
Choose a tag to compare
  • Resolve service configuration incompatibility with Symfony 3
  • Fix error in forwarding from handleHttpRequest to (deprecated) httpAction implementations

0.1.13 More deprecation fixes, +Oracle -Yaml

15 Aug 14:13
Compare
Choose a tag to compare
  • Fix platform-dependent check for absolute file path (should now work equivalently on Windows)
  • Activated Oracle driver
  • Remove dummy Yaml driver (not a single method implemented)
  • Remove security.context and request service dependencies (both removed in Symfony 3)
  • Remove dependencies on deprecated internal Mapbender APIs
  • [BC break] removed modification-by-reference from DoctrineBaseDriver::prepareResults, must now use the return value

0.1.12 Deprecation fixes

29 May 14:14
Compare
Choose a tag to compare

Improve compatibility with Symfony 3.4.