diff --git a/DRAFT_CHANGELOG.md b/DRAFT_CHANGELOG.md index 8cdbeeb4..413a5fc9 100644 --- a/DRAFT_CHANGELOG.md +++ b/DRAFT_CHANGELOG.md @@ -1,3 +1,4 @@ + # Extension Geoplateforme OpenLayers, version __VERSION__ **__DATE__** @@ -5,7 +6,7 @@ ## Summary -Correction sur le calcul d'itinéraire piéton. +Correctif Sur la variable process utilisée dans le logger ## Changelog @@ -19,8 +20,7 @@ Correction sur le calcul d'itinéraire piéton. * [Fixed] - - widget itineraire utilise ressource bdtopo-valhalla dans le cas d'un itinéraire pieton en mode fastest (6675d287eb028170dea5d0dbdae2acaed51359ca) - - tilegrid par défaut (512px) pour vecteur tuilé sur layerImport (c16006ef1de0d10794541db90d0f6fbadb1b501c) + - Correction du logger par définiton de la variable process (e0e3b9b5ad3e1f8c92086891564f04f792e24280) * [Security] @@ -46,6 +46,7 @@ Correction sur le calcul d'itinéraire piéton. * [Fixed] - widget itineraire utilise ressource bdtopo-valhalla dans le cas d'un itinéraire pieton en mode fastest (92439bc421cc5f6ee1f10e069f2aa468e2b971b6) + - Correction du logger par définiton de la variable process (e0e3b9b5ad3e1f8c92086891564f04f792e24280) * [Security] @@ -72,7 +73,7 @@ Correction sur le calcul d'itinéraire piéton. * [Fixed] - corrige couche json itowns, mauvaise url (77c6eb1b75c68a348c215c0fb0f2ee86cc80bd52) - + - Correction du logger par définiton de la variable process (e0e3b9b5ad3e1f8c92086891564f04f792e24280) * [Security] diff --git a/build/scripts/release/geoportal-extensions-itowns-2.5.0.tgz b/build/scripts/release/geoportal-extensions-itowns-2.5.0.tgz index 11606274..2927fe15 100644 Binary files a/build/scripts/release/geoportal-extensions-itowns-2.5.0.tgz and b/build/scripts/release/geoportal-extensions-itowns-2.5.0.tgz differ diff --git a/build/scripts/release/geoportal-extensions-leaflet-2.4.0.tgz b/build/scripts/release/geoportal-extensions-leaflet-2.4.0.tgz index 404c94ae..318e3e6a 100644 Binary files a/build/scripts/release/geoportal-extensions-leaflet-2.4.0.tgz and b/build/scripts/release/geoportal-extensions-leaflet-2.4.0.tgz differ diff --git a/build/scripts/release/geoportal-extensions-openlayers-3.4.1.tgz b/build/scripts/release/geoportal-extensions-openlayers-3.4.1.tgz new file mode 100644 index 00000000..c80eaab1 Binary files /dev/null and b/build/scripts/release/geoportal-extensions-openlayers-3.4.1.tgz differ diff --git a/build/scripts/release/package-itowns.json b/build/scripts/release/package-itowns.json index 9a54dadb..3a721012 100644 --- a/build/scripts/release/package-itowns.json +++ b/build/scripts/release/package-itowns.json @@ -1,16 +1,8 @@ { - "scripts" : {}, - "peerDependencies" : {}, - "version" : "2.5.0", - "author" : "IGNF", - "repository" : { - "type" : "git", - "url" : "https://github.com/IGNF/geoportal-extensions.git" - }, - "license" : "CECILL-B", - "directories" : {}, - "homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-itowns.html", "module" : "src/Itowns/index.js", + "description" : "French Geoportal Extensions for iTowns", + "devDependencies" : {}, + "types" : "src/Itowns/index.d.ts", "keywords" : [ "geoportail", "geoplateforme", @@ -18,7 +10,25 @@ "javascript", "Itowns" ], + "license" : "CECILL-B", "bugs" : {}, + "dependencies" : { + "geoportal-access-lib" : "3.4.1", + "itowns" : "2.38.2", + "node-fetch" : "^2.6.1", + "proj4" : "2.7.5", + "three" : "0.137.5", + "sortablejs" : "1.14.0", + "xmldom" : "^0.1.27", + "loglevel" : "1.6.7" + }, + "name" : "geoportal-extensions-itowns", + "author" : "IGNF", + "peerDependencies" : {}, + "main" : "dist/GpPluginItowns-src.js", + "date" : "04/04/2024", + "homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-itowns.html", + "scripts" : {}, "files" : [ "dist/", "src/", @@ -26,21 +36,11 @@ "README.md", "package.json" ], - "types" : "src/Itowns/index.d.ts", - "dependencies" : { - "proj4" : "2.7.5", - "xmldom" : "^0.1.27", - "sortablejs" : "1.14.0", - "node-fetch" : "^2.6.1", - "three" : "0.137.5", - "geoportal-access-lib" : "3.4.0", - "loglevel" : "1.6.7", - "itowns" : "2.38.2" - }, - "name" : "geoportal-extensions-itowns", "bundleDependencies" : [], - "devDependencies" : {}, - "description" : "French Geoportal Extensions for iTowns", - "main" : "dist/GpPluginItowns-src.js", - "date" : "19/03/2024" + "version" : "2.5.0", + "directories" : {}, + "repository" : { + "url" : "https://github.com/IGNF/geoportal-extensions.git", + "type" : "git" + } } diff --git a/build/scripts/release/package-leaflet.json b/build/scripts/release/package-leaflet.json index cff1eacc..efa40f13 100644 --- a/build/scripts/release/package-leaflet.json +++ b/build/scripts/release/package-leaflet.json @@ -1,8 +1,30 @@ { + "types" : "src/Leaflet/index.d.ts", + "devDependencies" : {}, + "date" : "04/04/2024", + "license" : "CECILL-B", + "module" : "src/Leaflet/index.js", + "files" : [ + "dist/", + "src/", + "LICENCE.md", + "README.md", + "package.json" + ], "peerDependencies" : {}, - "name" : "geoportal-extensions-leaflet", "scripts" : {}, - "types" : "src/Leaflet/index.d.ts", + "homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-leaflet.html", + "bugs" : {}, + "repository" : { + "url" : "https://github.com/IGNF/geoportal-extensions.git", + "type" : "git" + }, + "bundleDependencies" : [], + "description" : "French Geoportal Extension for Leaflet", + "version" : "2.4.0", + "main" : "dist/GpPluginLeaflet-src.js", + "directories" : {}, + "name" : "geoportal-extensions-leaflet", "keywords" : [ "geoportail", "plugin", @@ -10,37 +32,15 @@ "leaflet", "publish" ], - "bundleDependencies" : [], - "homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-leaflet.html", "dependencies" : { - "loglevel" : "1.6.6", - "leaflet" : "1.7.1", "sortablejs" : "1.8.4", "node-fetch" : "^2.6.1", - "proj4" : "2.7.5", - "geoportal-access-lib" : "3.4.0", + "loglevel" : "1.6.6", + "geoportal-access-lib" : "3.4.1", "proj4leaflet" : "1.0.2", + "leaflet" : "1.7.1", + "proj4" : "2.7.5", "leaflet-draw" : "1.0.4", "xmldom" : "^0.1.27" - }, - "files" : [ - "dist/", - "src/", - "LICENCE.md", - "README.md", - "package.json" - ], - "date" : "19/03/2024", - "main" : "dist/GpPluginLeaflet-src.js", - "bugs" : {}, - "module" : "src/Leaflet/index.js", - "directories" : {}, - "repository" : { - "type" : "git", - "url" : "https://github.com/IGNF/geoportal-extensions.git" - }, - "version" : "2.4.0", - "license" : "CECILL-B", - "description" : "French Geoportal Extension for Leaflet", - "devDependencies" : {} + } } diff --git a/build/scripts/release/package-openlayers.json b/build/scripts/release/package-openlayers.json index a9d00b1f..efa4f432 100644 --- a/build/scripts/release/package-openlayers.json +++ b/build/scripts/release/package-openlayers.json @@ -1,42 +1,42 @@ { - "license" : "CECILL-B", "types" : "src/OpenLayers/index.d.ts", - "version" : "3.4.0", - "date" : "19/03/2024", + "license" : "CECILL-B", + "date" : "17/04/2024", "devDependencies" : {}, - "keywords" : [ - "geoportail", - "geoplateforme", - "plugin", - "javascript", - "OpenLayers" + "files" : [ + "dist/", + "src/", + "LICENCE.md", + "README.md", + "package.json" ], "repository" : { "type" : "git", "url" : "https://github.com/IGNF/geoportal-extensions.git" }, + "module" : "src/OpenLayers/index.js", + "peerDependencies" : {}, "dependencies" : { - "eventbusjs" : "0.2.0", - "xmldom" : "^0.1.27", - "sortablejs" : "1.14.0", + "loglevel" : "1.6.6", "ol" : "6.9.0", - "geoportal-access-lib" : "3.4.0", + "sortablejs" : "1.14.0", + "node-fetch" : "^2.6.1", + "xmldom" : "^0.1.27", "@mapbox/mapbox-gl-style-spec" : "13.20.1", "proj4" : "2.7.5", - "loglevel" : "1.6.6", - "node-fetch" : "^2.6.1" + "eventbusjs" : "0.2.0", + "geoportal-access-lib" : "3.4.1" }, - "directories" : {}, - "module" : "src/OpenLayers/index.js", "name" : "geoportal-extensions-openlayers", + "version" : "3.4.2", + "bugs" : {}, "scripts" : {}, - "files" : [ - "dist/", - "src/", - "LICENCE.md", - "README.md", - "package.json" + "keywords" : [ + "geoportail", + "geoplateforme", + "plugin", + "javascript", + "OpenLayers" ], - "peerDependencies" : {}, - "bugs" : {} + "directories" : {} } diff --git a/doc/CHANGELOG-openlayers.md b/doc/CHANGELOG-openlayers.md index 6ab69297..fedb0d72 100644 --- a/doc/CHANGELOG-openlayers.md +++ b/doc/CHANGELOG-openlayers.md @@ -180,6 +180,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Extension Geoplateforme OpenLayers, version 3.4.0-beta4](#extension-geoplateforme-openlayers-version-340-beta4) * [Summary](#summary-54) * [Changelog](#changelog-51) +- [Extension Geoplateforme OpenLayers, version 3.4.1](#extension-geoplateforme-openlayers-version-341) + * [Summary](#summary-55) + * [Changelog](#changelog-52) @@ -2033,3 +2036,30 @@ Ajout possible de couches à accès restreint via une fichier de configuration c * [Security] --- +# Extension Geoplateforme OpenLayers, version 3.4.1 + +**04/04/2024** +> Release Extension Geoplateforme openlayers + +## Summary + +Correction sur le calcul d'itinéraire piéton. + +## Changelog + +* [Added] + +* [Changed] + +* [Deprecated] + +* [Removed] + +* [Fixed] + + - widget itineraire utilise ressource bdtopo-valhalla dans le cas d'un itinéraire pieton en mode fastest (6675d287eb028170dea5d0dbdae2acaed51359ca) + - tilegrid par défaut (512px) pour vecteur tuilé sur layerImport (c16006ef1de0d10794541db90d0f6fbadb1b501c) + +* [Security] + +--- diff --git a/package.json b/package.json index 54092cc2..44a0e36d 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "geoportal-extensions", "description": "French Geoportal Extensions for OpenLayers, Leaflet and iTowns libraries", - "version": "3.0.1", - "date": "04/04/2024", + "version": "3.0.2", + "date": "17/04/2024", "leafletExtName": "French Geoportal Extension for Leaflet", "leafletExtVersion": "2.4.0", "olExtName": "French Geoportal Extension for OpenLayers", - "olExtVersion": "3.4.1", + "olExtVersion": "3.4.2", "itownsExtName": "French Geoportal Extension for Itowns", "itownsExtVersion": "2.5.0", "main": "dist/leaflet/GpPluginLeaflet.js, dist/openlayers/GpPluginOpenLayers.js, dist/itowns/GpPluginItowns.js", @@ -74,7 +74,7 @@ "dependencies": { "@mapbox/mapbox-gl-style-spec": "13.20.1", "eventbusjs": "0.2.0", - "geoportal-access-lib": "3.4.0", + "geoportal-access-lib": "3.4.1", "itowns": "2.38.2", "leaflet": "1.7.1", "leaflet-draw": "1.0.4", diff --git a/src/Common/Utils/LoggerByDefault.js b/src/Common/Utils/LoggerByDefault.js index 2b294278..290e9ffc 100644 --- a/src/Common/Utils/LoggerByDefault.js +++ b/src/Common/Utils/LoggerByDefault.js @@ -22,6 +22,13 @@ var LoggerByDefault = { getLogger : function (name) { // > Substitute global constants configured at compile time // cf. webpack.config.js + // on définit process si non défini dans l'environnement + if (typeof process === "undefined") { + var process = {}; + process.env = { + VERBOSE : false + }; + } (process.env.VERBOSE) ? Log.enableAll() : Log.disableAll(); var logname = name || "default"; return Log.getLogger(logname);