Skip to content

Commit 1443d38

Browse files
committed
prepare release
1 parent 257b561 commit 1443d38

3 files changed

Lines changed: 1 addition & 36 deletions

File tree

.github/workflows/tests.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -57,30 +57,3 @@ jobs:
5757
- name: Execute tests
5858
run: composer test
5959

60-
coverage:
61-
name: Code Coverage
62-
runs-on: ubuntu-latest
63-
64-
steps:
65-
- name: Checkout code
66-
uses: actions/checkout@v4
67-
68-
- name: Setup PHP
69-
uses: shivammathur/setup-php@v2
70-
with:
71-
php-version: 7.4
72-
tools: composer:v2
73-
coverage: xdebug
74-
75-
- name: Install dependencies
76-
run: |
77-
composer require "friends-of-phpspec/phpspec-code-coverage" --no-interaction --no-update
78-
composer update --prefer-dist --no-interaction --no-progress
79-
80-
- name: Execute tests
81-
run: composer test-ci
82-
83-
- name: Upload coverage
84-
run: |
85-
wget https://scrutinizer-ci.com/ocular.phar
86-
php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Version 2
44

5-
## 2.1.0 - TBD
5+
## 2.1.0 - 2026-05-12
66

77
### Added
88

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ composer require php-http/cache-plugin
2323

2424
Please see the [official documentation](http://docs.php-http.org/en/latest/plugins/cache.html).
2525

26-
To only cache ETag-backed responses and always revalidate cached bodies with `If-None-Match`, use `EtagCachePlugin`:
27-
28-
``` php
29-
$plugin = EtagCachePlugin::clientCache($pool, $streamFactory);
30-
```
31-
32-
Responses without an `ETag` header are not cached. Cached responses are only returned after the origin replies with `304 Not Modified`.
33-
3426

3527
## Testing
3628

0 commit comments

Comments
 (0)