Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstein committed Apr 24, 2022
2 parents f0c54e4 + 685a887 commit a0c1799
Show file tree
Hide file tree
Showing 24 changed files with 351 additions and 223 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Cloudflare Changelog
## 1.1.0 - 2022-04-23
### Changed
- Automatic element-save cache purges are now sent to the queue to speed up element saves.
- Cleaned up translation files and added new keys to German set.

### Fixed
- Draft entry and category saves are ignored and will not trigger a cache purge.

## 1.0.3.1 - 2022-01-31
### Fixed
Expand Down
24 changes: 13 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "workingconcept/craft-cloudflare",
"description": "Purge Cloudflare caches from Craft.",
"type": "craft-plugin",
"version": "1.0.3.1",
"version": "1.1.0",
"keywords": [
"craft",
"cms",
Expand All @@ -27,35 +27,37 @@
],
"scripts": {
"post-install-cmd": "\\Pdp\\Installer::updateLocalCache",
"post-update-cmd": "\\Pdp\\Installer::updateLocalCache"
"post-update-cmd": "\\Pdp\\Installer::updateLocalCache",
"check-cs": "ecs check --ansi",
"fix-cs": "ecs check --ansi --fix",
"phpstan": "phpstan --memory-limit=1G"
},
"require": {
"craftcms/cms": "^3.6.0",
"jeremykendall/php-domain-parser": "^5.6"
},
"require-dev": {
"vlucas/phpdotenv": "^3.4",
"roave/security-advisories": "dev-latest",
"codeception/codeception": "^4.0.0",
"codeception/module-phpbrowser": "^1.0.0",
"codeception/module-asserts": "^1.0.0",
"codeception/module-rest": "^1.0.0",
"codeception/module-datafactory": "^1.0.0",
"codeception/module-yii2": "^1.0.0"
"codeception/module-yii2": "^1.0.0",
"craftcms/ecs": "dev-main",
"craftcms/phpstan": "dev-main"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"autoload": {
"psr-4": {
"workingconcept\\cloudflare\\": "src/"
}
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"yiisoft/yii2-composer": true,
"craftcms/plugin-installer": true
}
},
"extra": {
"name": "Cloudflare",
Expand Down
17 changes: 17 additions & 0 deletions ecs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

use craft\ecs\SetList;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symplify\EasyCodingStandard\ValueObject\Option;

return static function(ContainerConfigurator $containerConfigurator): void {
$parameters = $containerConfigurator->parameters();
$parameters->set(Option::PATHS, [
__DIR__ . '/src',
__FILE__,
]);

$containerConfigurator->import(SetList::CRAFT_CMS_4);
};
65 changes: 38 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudflare-craft-plugin",
"version": "1.0.3.1",
"version": "1.1.0",
"description": "![Cloudflare](resources/hero.svg)",
"main": "index.js",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
includes:
- vendor/craftcms/phpstan/phpstan.neon

parameters:
level: 5
paths:
- src
Loading

0 comments on commit a0c1799

Please sign in to comment.