Releases: mapbender/data-source
Releases · mapbender/data-source
0.1.19
0.1.18
- 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
- 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
Bugfixes
0.1.16 Injection security, more customizability, deprecations
- Fix Feature initialization from GeoJSON: respect configured
geomField
, apply optional non-standard embeddedsrid
andid
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
tonull
- 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
andgetTablename
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
- 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
andFeatureTypeService::get
by addinggetDataStoreByName
andgetFeatureTypeByName
methods- Extract factory methods for customization support
- Remove invalid fallback service id
default
fromdataStore
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
- 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
- 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
andrequest
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
Improve compatibility with Symfony 3.4.