Skip to content

Releases: mapbender/data-source

0.1.26

28 Oct 08:55
Compare
Choose a tag to compare
  • Fix geometries returned from insert reverting to table native CRS

0.2.2

09 Aug 15:12
Compare
Choose a tag to compare
  • Fix error in first invocation of getDataStoreByName

0.1.25

09 Aug 15:08
Compare
Choose a tag to compare
  • Fix error in first invocation of getDataStoreByName

0.2.1

05 Aug 09:32
Compare
Choose a tag to compare
  • Fix missing id on inserted item

0.1.24

05 Aug 12:31
Compare
Choose a tag to compare
  • Fix connection access error when using plain RepositoryRegistry (Sf4 conformant version of DataStoreService / FeatureTypeService)

0.1.23

05 Aug 09:31
Compare
Choose a tag to compare
  • Fix missing id on inserted item
  • Fix registry constructor signature incompatibility with 0.2.x

0.2.0: Symfony 4+ conformance and pruning of legacy complexity

03 Aug 13:25
Compare
Choose a tag to compare
  • Extend magic :userName filter param support also to "where" param passed into search / count
  • Removed Symfony 4-incompatible BaseElement class
  • Removed Symfony 4-incompatible global default services data.source and featureTypes. Access should be replaced with a self-defined service. Use RepositoryRegistry base class and inject the appropriate factory.
  • Removed geojson briding and phayes/geophp dependency
  • Removed legacy export bridging logic
  • Removed tolerance / preprocessing for SQL-illegal quotes around :userName parameter binding in filter setting
  • Removed undocumented Postgis only "source" + "distance" search parameter handling (use "intersect")
  • Removed legacy bridging logic for vis-ui file uploads (getFileUri etc)
  • Removed variadic return type support from getByIds (always returns DataItem[] / Feature[])
  • Removed ill-advised Pgrouting integration
  • Removed ill-advised legacy "tree" logic (getTree, getParent, getChildren etc)
  • Removed ill-advised "mapping" logic (perform a separate search on the target repository)
  • Removed support for events before / after search; configure a "filter" SQL expression or pass a "where"
  • Removed FeatureTypeService::search method
  • Removed public access to "driver" internals
  • Removed variadic DataStore / FeatureType "get" method (use getById)
  • Removed variadic DataStore / FeatureType "delete" method argument support
  • Removed support for any non-array, non-DataItem arguments to save, update, insert
  • Removed project support hack replacing malformed EWKT with empty point EWKT on storage; users must supply sane geometries
  • Removed support for automatic yaml file parsing when constructing FeatureTypeService

NOTE: there are no longer any considerations for external calls to FeatureType / DataStore constructors. Use the appropriate
factory service (mbds.default_datastore_factory or mbds.default_featuretype_factory) to instantiate
DataStore / FeatureType manually.

NOTE: Users requiring a registry of multiple DataStores / FeatureTypes, to replace removed
data.source and featureTypes services, must define their own service. Use
RepositoryRegistry and inject the appropriate factory plus DataStore / FeatureType configs.
DataStoreService and FeatureTypeService classes are and will remain incompatible with
Symfony 4.

0.1.22

03 Aug 10:18
Compare
Choose a tag to compare
  • Fix DataStore vs FeatureType event handling differences
  • Fix Feature::getType
  • Fix geometry not available from Feature::getAttributes
  • Fix getByIds method not available on plain DataStore, only on FeatureType
  • Fix errors updating / reinserting any items returned from (deprecated) "getTree"
  • Oracle: fix error detecting column names (without explicit fields setting)
  • Oracle: fix missing column identifier quoting in intersect condition
  • PostgreSQL: fix errors on tables with mixed / uppercase column names
  • Fix unreliable type (sometimes array, sometimes DataItem / Feature) of "item" value in save events
  • Fix inconsistent item data renormalization "save" method (item reloaded + renormalized) vs direct usage of "update" / "insert" methods (item passed back as is)
  • Fix item attribute name renormalization not respecting case of explicitly configured fields
  • Strictness: referencing non-existant columns in explicitly configured fields is now an error
  • Strictness: explicitly configured "fields" can no longer be quoted or aliased; use strictly column names
  • Strictness: including * in explicitly configured "fields" will now cause errors; use strictly column names, or leave fields completely empty
  • Strictness: mis-cased configuration values are no longer valid
  • Ignore srid setting (always detect from database)
  • Add count method on DataStore / FeatureType (same argument style as search method)
  • Add standalone DataStore / FeatureType factory services (mbds.default_datastore_factory, mbds.default_featuretype_factory)
  • Resolve / mark misc internal deprecations
  • Misc restructuring for Symfony 4+ compatibility
  • Update documentation

0.1.21

19 Jul 07:55
Compare
Choose a tag to compare
  • PostgreSQL: fix mistyped update / insert column value when submitting an empty string to column of ~numeric type
  • PostgreSQL: fix mistyped column values on insert / errors inserting incomplete data in row with incomplete defaults definition
  • Make DataStore insertItem method public (like updateItem)
  • Resolve / mark misc internal deprecations

0.1.20

17 Dec 12:51
Compare
Choose a tag to compare
  • Extend file upload support to both DataStore and FeatureType (previously only FeatureType)