.. _changelog-6-0-4:

******************************************
 MapServer 6.0.4 Changelog
******************************************

* Fix potential SQL Injection with postgis TIME filters ( `#4834 <https://github.com/mapserver/mapserver/issues/4834>`__ ) (Even Rouault) : `3f0ee57 <https://github.com/mapserver/mapserver/commit/3f0ee57b12d482e0ff5611d05afd32408949f7f9>`__
* fix for issue 4543 - fcgi error stack not cleaning (Alexandre Dube) : `47e2126 <https://github.com/mapserver/mapserver/commit/47e2126d2a3fec137cfc01da3e338523233ba0af>`__
* fix mapscript builds for recent swig versions backport to branch-6-0 (bug 4325) (Bruno Friedmann) : `bf17043 <https://github.com/mapserver/mapserver/commit/bf17043eb2ba8dcf21c333c5066460b13f790199>`__
* fix invalid call to gdFree ( `#3942 <https://github.com/mapserver/mapserver/issues/3942>`__ ) (Thomas Bonfort) : `15021c6 <https://github.com/mapserver/mapserver/commit/15021c65cd2c278cfde0e785e55ad8afa8b43186>`__
* fix typo in template date ( `#4034 <https://github.com/mapserver/mapserver/issues/4034>`__ ) (Thomas Bonfort) : `d3f2949 <https://github.com/mapserver/mapserver/commit/d3f29495889b9f72053133ae9f3d038e8f57b164>`__
* SDE: Fix for the crash with NCLOB type ( `#3001 <https://github.com/mapserver/mapserver/issues/3001>`__ ) (szekerest) : `0779b3b <https://github.com/mapserver/mapserver/commit/0779b3b91e8013593190c308a0bba3f7e00136db>`__
* Adjusting to GMLCOV 1.0 corrigendum 1.0.1 ( `#4003 <https://github.com/mapserver/mapserver/issues/4003>`__ ). (Stephan Meissl) : `e1d9b33 <https://github.com/mapserver/mapserver/commit/e1d9b339dea1d2707a19cd84d5346ba0892ba33f>`__
* Adjusting to WCS 2.0 Core corrigendum 2.0.1 ( `#4003 <https://github.com/mapserver/mapserver/issues/4003>`__ ). (Stephan Meissl) : `5849069 <https://github.com/mapserver/mapserver/commit/58490695ad730eb4366b49055b25c9681b7472b7>`__
* Adjusted support for the mediatype multipart/related in WCS 2.0. Related to issue  `#4003 <https://github.com/mapserver/mapserver/issues/4003>`__ . (Stephan Meissl) : `728faf8 <https://github.com/mapserver/mapserver/commit/728faf887df58d84c51f895483bd98e5de629346>`__
* Small adjustment in fixing bugs with WCS 1.1/2.0 with VSIMEM ( `#4369 <https://github.com/mapserver/mapserver/issues/4369>`__ ) (Stephan Meissl) : `5b21f45 <https://github.com/mapserver/mapserver/commit/5b21f456966d99690911e4be85b0951b019f5b95>`__
* Backporting: WCS: Set layer projection to map's one if not set ( `#4079 <https://github.com/mapserver/mapserver/issues/4079>`__ ). (Stephan Meissl) : `4a34233 <https://github.com/mapserver/mapserver/commit/4a342332875fccd8f31fb9b54a00cec47c3b511a>`__
* Fix for issue 4225 (Jerome Villeneuve Larouche) : `d6c02b4 <https://github.com/mapserver/mapserver/commit/d6c02b40b64f3af30031c373335406fd2be5957a>`__
* Added support for the mediatype multipart/related in GetCoverage requests. Related to issue  `#4003 <https://github.com/mapserver/mapserver/issues/4003>`__ . (Fabian Schindler) : `a8f89da <https://github.com/mapserver/mapserver/commit/a8f89da7277c84b09d98023db3a9cc966ce24ea1>`__
* Fixing bugs with WCS 1.1/2.0 with VSIMEM ( `#4369 <https://github.com/mapserver/mapserver/issues/4369>`__ ) (Fabian Schindler) : `10f6195 <https://github.com/mapserver/mapserver/commit/10f619589244fdb8f1192c72c3d9174235addd58>`__
* Add ref to MapScript fix for PHP 5.4 ( `#4309 <https://github.com/mapserver/mapserver/issues/4309>`__ ) (Daniel Morissette) : `917ce92 <https://github.com/mapserver/mapserver/commit/917ce9265274fc5508695188815fca5f9502445e>`__
* backport PHP 5.4 mapscript updates to branch-6-0 (Jeff McKenna) : `0d68cd5 <https://github.com/mapserver/mapserver/commit/0d68cd5c06fa97a9d403c11e66d3ab99a16bc78d>`__
* Fix msOGREscapeSQLParam could return random data ( `#4335 <https://github.com/mapserver/mapserver/issues/4335>`__ ) (Alan Boudreault) : `f51753f <https://github.com/mapserver/mapserver/commit/f51753fa3d2b1790849ed1f023a7505a3bc9772c>`__
* Updated migration guide - removal of DUMP ( `#3830 <https://github.com/mapserver/mapserver/issues/3830>`__ ) (Håvard Tveite) : `3ef03d9 <https://github.com/mapserver/mapserver/commit/3ef03d9fff516f45894b5cd6085b7b0e1501f473>`__
* Fixed bug in format enumeration. The map.web.metadata key wcs_formats is now also taken into account for each layer (in WCS 1.1). (Fabian Schindler) : `eaddf28 <https://github.com/mapserver/mapserver/commit/eaddf28bc44aeb40dc6ace2ad8b05a470a9215c8>`__
* Removed advertising of supported formats in WCS 2.0 CoverageDescriptions as this is not included in the standard. (Fabian Schindler) : `4538f8e <https://github.com/mapserver/mapserver/commit/4538f8eb32a2e49e7fd90f92e66f88dece9bfd45>`__
* Parse available formats from map.web.metadata field 'wcs|ows_formats' if given. Now for WCS 1.1. Not possible for WCS 1.0 since this Capabilities does not include a supported formats section. (Fabian Schindler) : `fb29d28 <https://github.com/mapserver/mapserver/commit/fb29d28b1b012055a833f3bc02bded5e83955a7f>`__
* Parse available formats from map.web.metadata field 'wcs|ows_formats' if given. (Fabian Schindler) : `0a0aace <https://github.com/mapserver/mapserver/commit/0a0aacec64d85076558d427d03ded6ae87aca2ca>`__
* Moved nativeFormat element of CoverageDescriptions to the correct place. ( `#4003 <https://github.com/mapserver/mapserver/issues/4003>`__ ). ServiceMetadata is now a section like the other sections of Capabilities. Not yet conformant with the WCS 2.0 specs but obviously a bug. (Fabian Schindler) : `fac5e35 <https://github.com/mapserver/mapserver/commit/fac5e35129168fd006ef9296bc53414cb311e9bd>`__
* Made format parameter optional, as long as the 'native_format' can be retrieved (either from the source GDAL dataset or from the metadata). (Fabian Schindler) : `af7bf80 <https://github.com/mapserver/mapserver/commit/af7bf80c8bc34644214cc4594770285878777db2>`__
