From fdd616cd0f945530e02e92e594ca00fd7990f557 Mon Sep 17 00:00:00 2001 From: Vladimir Vuksan <44271-vvuksan-fastly@users.noreply.drupalcode.org> Date: Mon, 8 Apr 2024 10:01:48 -0400 Subject: [PATCH] Bump to 1.2.216 --- Model/Layout/LayoutPlugin.php | 2 +- Release-Notes.md | 4 ++++ VERSION | 2 +- composer.json | 2 +- etc/vcl_snippets/deliver.vcl | 2 +- etc/vcl_snippets/miss.vcl | 2 +- etc/vcl_snippets/pass.vcl | 2 +- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Model/Layout/LayoutPlugin.php b/Model/Layout/LayoutPlugin.php index 1efae15d..c11e2ce0 100644 --- a/Model/Layout/LayoutPlugin.php +++ b/Model/Layout/LayoutPlugin.php @@ -98,7 +98,7 @@ public function afterGenerateElements(\Magento\Framework\View\Layout $subject): public function afterGetOutput(\Magento\Framework\View\Layout $subject, $result) // @codingStandardsIgnoreLine - unused parameter { if ($this->config->getType() === Config::FASTLY) { - $this->response->setHeader("Fastly-Module-Enabled", "1.2.215", true); + $this->response->setHeader("Fastly-Module-Enabled", "1.2.216", true); } return $result; diff --git a/Release-Notes.md b/Release-Notes.md index e9d1c198..74a1ed0c 100644 --- a/Release-Notes.md +++ b/Release-Notes.md @@ -1,5 +1,9 @@ # Fastly_Cdn Release Notes +## 1.2.216 + +- Fix for GEOIP redirection causes 404 in specific cases https://github.com/fastly/fastly-magento2/pull/694 + ## 1.2.215 - Fix for checking if current IP is in maintenance IP list https://github.com/fastly/fastly-magento2/pull/692 diff --git a/VERSION b/VERSION index 3e566a74..b05be512 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.215 +1.2.216 diff --git a/composer.json b/composer.json index 6cc397a5..8be9b345 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "zordius/lightncandy": "^1.2" }, "type": "magento2-module", - "version": "1.2.215", + "version": "1.2.216", "license": "BSD-3-Clause", "autoload": { "files": [ "registration.php" ], diff --git a/etc/vcl_snippets/deliver.vcl b/etc/vcl_snippets/deliver.vcl index 95c89afe..0d065e6d 100644 --- a/etc/vcl_snippets/deliver.vcl +++ b/etc/vcl_snippets/deliver.vcl @@ -39,7 +39,7 @@ # Add an easy way to see whether custom Fastly VCL has been uploaded if ( req.http.Fastly-Debug ) { - set resp.http.Fastly-Magento-VCL-Uploaded = "1.2.215"; + set resp.http.Fastly-Magento-VCL-Uploaded = "1.2.216"; if (table.lookup(magentomodule_config, "allow_super_users_during_maint", "0") == "1") { set resp.http.Fastly-Magento-Maintenance-Mode = "on"; } diff --git a/etc/vcl_snippets/miss.vcl b/etc/vcl_snippets/miss.vcl index daa3027c..70edd9d8 100644 --- a/etc/vcl_snippets/miss.vcl +++ b/etc/vcl_snippets/miss.vcl @@ -3,4 +3,4 @@ unset bereq.http.Accept-Encoding; # Send VCL version uploaded to the backend - set bereq.http.Fastly-Magento-VCL-Uploaded = "1.2.215"; + set bereq.http.Fastly-Magento-VCL-Uploaded = "1.2.216"; diff --git a/etc/vcl_snippets/pass.vcl b/etc/vcl_snippets/pass.vcl index 813eb62f..5b55cd09 100644 --- a/etc/vcl_snippets/pass.vcl +++ b/etc/vcl_snippets/pass.vcl @@ -12,4 +12,4 @@ } # Send VCL version uploaded to the backend - set bereq.http.Fastly-Magento-VCL-Uploaded = "1.2.215"; + set bereq.http.Fastly-Magento-VCL-Uploaded = "1.2.216";