Skip to content

Commit

Permalink
Craft 5 compatibility; Cache Flag utility
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikkel committed Feb 15, 2024
1 parent 0249dca commit 6eb2e21
Show file tree
Hide file tree
Showing 20 changed files with 1,647 additions and 1,969 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG-WIP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Cache Flag Changelog

## 2.0.0
### Added
- Adds Craft 5.0 compatibility
### Changed
- Cache Flag's CP section has been moved to a utility
### Removed
- Removed `mmikkel\cacheflag\services\CacheFlagService::deleteAllFlaggedCaches()`
- Removed `mmikkel\cacheflag\services\CacheFlagService::deleteFlaggedCachesByElement()`
- Removed `mmikkel\cacheflag\services\CacheFlagService::deleteFlaggedCachesByFlags()`
- Removed `mmikkel\cacheflag\controllers\DefaultController::actionDeleteFlaggedCachesByFlags()`
- Removed `mmikkel\cacheflag\controllers\DefaultController::actionDeleteAllFlaggedCaches()`
- Removed `mmikkel\cacheflag\events\AfterDeleteFlaggedTemplateCachesEvent`
- Removed `mmikkel\cacheflag\events\BeforeDeleteFlaggedTemplateCachesEvent`
- Removed `mmikkel\cacheflag\records\Flagged`
- Removed `mmikkel\cacheflag\variables\CpVariable`
10 changes: 3 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mmikkel/cache-flag",
"description": "Cold template caches that can be flagged and automatically invalidated.",
"type": "craft-plugin",
"version": "1.4.0",
"version": "2.0.0-beta.1",
"keywords": [
"craft",
"cms",
Expand All @@ -22,8 +22,8 @@
}
],
"require": {
"craftcms/cms": "^3.7.0|^4.0.0",
"php": "^7.2.5|^8.0"
"php": "^8.2",
"craftcms/cms": "^5.0.0-beta.1"
},
"require-dev": {
"craftcms/rector": "dev-main"
Expand All @@ -44,11 +44,7 @@
"extra": {
"name": "Cache Flag",
"handle": "cache-flag",
"schemaVersion": "1.0.2",
"hasCpSettings": false,
"hasCpSection": true,
"changelogUrl": "https://raw.githubusercontent.com/mmikkel/CacheFlag-Craft3/master/CHANGELOG.md",
"components": {},
"class": "mmikkel\\cacheflag\\CacheFlag"
}
}
Loading

0 comments on commit 6eb2e21

Please sign in to comment.