diff --git a/NEWS.md b/NEWS.md index 5c574b72..88f3f616 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,9 +1,16 @@ # Changelog -## 3.7.1 +## 3.7.2 Released 2017-mm-dd +## 3.7.1 +Released 2017-05-18 + +Bug fixes: + - Fix buffersize assignment when is not defined in requested mapconfig. + + ## 3.7.0 Released 2017-05-18 diff --git a/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js b/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js index 7e9e93a1..aead2d91 100644 --- a/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js +++ b/lib/cartodb/models/mapconfig/adapter/mapconfig-buffer-size-adapter.js @@ -9,7 +9,6 @@ MapConfigBufferSizeAdapter.prototype.getMapConfig = function (user, requestMapCo return callback(null, requestMapConfig); } - this.formats.forEach(function (format) { if (Number.isFinite(context.templateParams.buffersize[format])) { if (requestMapConfig.buffersize === undefined) { diff --git a/package.json b/package.json index 11bbb3bc..57740206 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "windshaft-cartodb", - "version": "3.7.1", + "version": "3.7.2", "description": "A map tile server for CartoDB", "keywords": [ "cartodb"