Skip to content

Commit

Permalink
Merge pull request #16 from duncanmcclean/statamic-4
Browse files Browse the repository at this point in the history
[3.x] Statamic 4
  • Loading branch information
duncanmcclean authored Apr 15, 2023
2 parents a31a516 + be31ca1 commit 5cc4dc1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
tools: composer:v2

Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ jobs:

strategy:
matrix:
php: [8.1, 8.2]
laravel: [9.*]
statamic: [^3.3, ^3.4]
php: [8.2]
laravel: [10.*]
statamic: [^4.0]
testbench: [8.*]
os: [ubuntu-latest]
include:
- laravel: 9.*
framework: ^9.1.0
testbench: 7.*

name: ${{ matrix.php }} - ${{ matrix.statamic }} - ${{ matrix.laravel }}

Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## Unreleased

### What's new

- Static Cache Manager v3 now supports Statamic 4 #16

### Upgrade guide

1. In your site's `composer.json` file, replace `doublethreedigital/static-cache-manager` with `duncanmcclean/static-cache-manager`
2. Then, change the addon's version constraint to `^3.0`

## v2.1.0 (2023-01-28)

### What's new
Expand Down Expand Up @@ -55,3 +64,7 @@ The supported versions of PHP/Statamic/Laravel used alongside this addon have ch
## v1.0.0 (2021-04-05)

- Initial release

```
```
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
}
},
"require": {
"php": "^8.1",
"statamic/cms": "3.3.* || 3.4.*"
"php": "^8.2",
"statamic/cms": "^4.0"
},
"require-dev": {
"nunomaduro/collision": "^6.1",
Expand All @@ -47,5 +47,5 @@
"pixelfear/composer-dist-plugin": true
}
},
"minimum-stability": "beta"
"minimum-stability": "alpha"
}
3 changes: 1 addition & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function boot()
->icon('hammer-wrench')
->routes(function ($router) {
$router->post('/clear', ClearController::class)->name('clear');
})
->register();
});
}
}

0 comments on commit 5cc4dc1

Please sign in to comment.