Skip to content

Commit

Permalink
Merge branch 'brotli'
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuksan committed Feb 13, 2024
2 parents f48a796 + 183810f commit 775b5a1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ jobs:
composer: "v2"
opensearch: "2.5.0"

- magento: "2.4.6"
php: "8.3"
composer: "v2"
opensearch: "2.5.0"

steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion Model/Layout/LayoutPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.212", true);
$this->response->setHeader("Fastly-Module-Enabled", "1.2.213", true);
}

return $result;
Expand Down
5 changes: 5 additions & 0 deletions Release-Notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Fastly_Cdn Release Notes

## 1.2.213

- Update Netacea Edge Module to 5.9.0 https://github.com/fastly/fastly-magento2/pull/687
- Add support for Brotli static compression https://github.com/fastly/fastly-magento2/pull/688

## 1.2.212

- Additional fixes to log shipping menu https://github.com/fastly/fastly-magento2/pull/684
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.212
1.2.213
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"zordius/lightncandy": "^1.2"
},
"type": "magento2-module",
"version": "1.2.212",
"version": "1.2.213",
"license": "BSD-3-Clause",
"autoload": {
"files": [ "registration.php" ],
Expand Down
2 changes: 1 addition & 1 deletion etc/vcl_snippets/deliver.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -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.212";
set resp.http.Fastly-Magento-VCL-Uploaded = "1.2.213";
if (table.lookup(magentomodule_config, "allow_super_users_during_maint", "0") == "1") {
set resp.http.Fastly-Magento-Maintenance-Mode = "on";
}
Expand Down
2 changes: 1 addition & 1 deletion etc/vcl_snippets/miss.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -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.212";
set bereq.http.Fastly-Magento-VCL-Uploaded = "1.2.213";
2 changes: 1 addition & 1 deletion etc/vcl_snippets/pass.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
}

# Send VCL version uploaded to the backend
set bereq.http.Fastly-Magento-VCL-Uploaded = "1.2.212";
set bereq.http.Fastly-Magento-VCL-Uploaded = "1.2.213";

0 comments on commit 775b5a1

Please sign in to comment.