Skip to content

Commit 22f3f4b

Browse files
committed
circuitbreaker, retry plugin
1 parent ce2d2f6 commit 22f3f4b

38 files changed

+1491
-909
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
php-version: [ '8.1', '8.2', '8.3', '8.4']
20+
php-version: [ '8.2', '8.3', '8.4', '8.5']
2121
steps:
22-
- uses: "actions/checkout@v4"
22+
- uses: "actions/checkout@v6"
2323
- uses: "shivammathur/setup-php@v2"
2424
with:
2525
php-version: "${{ matrix.php-version }}"
2626
coverage: "none"
2727
ini-values: "memory_limit=-1, zend.assertions=1, error_reporting=-1, display_errors=On"
2828
tools: "composer:v2"
29-
- uses: "ramsey/composer-install@v2"
29+
- uses: "ramsey/composer-install@v3"
3030
- name: "Lint the PHP source code"
3131
run: "./vendor/bin/parallel-lint src tests"
3232

3333
coding-standards:
3434
name: "Coding Standards"
3535
runs-on: "ubuntu-latest"
3636
steps:
37-
- uses: "actions/checkout@v2"
37+
- uses: "actions/checkout@v6"
3838
- uses: "shivammathur/setup-php@v2"
3939
with:
4040
php-version: "latest"
4141
coverage: "none"
4242
ini-values: "memory_limit=-1"
4343
tools: "composer:v2"
44-
- uses: "ramsey/composer-install@v2"
44+
- uses: "ramsey/composer-install@v3"
4545
- name: "Check coding standards"
4646
run: "./vendor/bin/phpcs src --standard=psr2 --exclude=Generic.Files.LineLength -sp --colors"
4747

@@ -51,9 +51,9 @@ jobs:
5151
strategy:
5252
fail-fast: false
5353
matrix:
54-
php-version: [ '8.1', '8.2', '8.3', '8.4' ]
54+
php-version: [ '8.2', '8.3', '8.4', '8.5' ]
5555
steps:
56-
- uses: "actions/checkout@v4"
56+
- uses: "actions/checkout@v6"
5757
- uses: "shivammathur/setup-php@v2"
5858
with:
5959
php-version: "${{ matrix.php-version }}"

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [4.0.0] - 2025-12
8+
### Added
9+
- Full HTTP observability tools: structured logging with token masking, per-status log levels, and custom logger support.
10+
- Reliability features: retry strategies (exponential and fixed), circuit breaker, and a combined reliability plugin.
11+
- New documentation set under `docs/` with getting started, authentication, configuration, reliability, and domain-by-domain usage examples.
12+
13+
### Changed
14+
- Raised minimum supported PHP version to 8.2.
15+
716
## [3.20.0] - 2023-04-27
817
### Added
918
- isReferenceCode() and isGeocode() methods
@@ -56,4 +65,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5665

5766
## [3.11.0] - 2020-05-22
5867
### Added
59-
- http options [from Guzzle](http://docs.guzzlephp.org/en/stable/request-options.html) added to all methods if needed (last argument)
68+
- http options [from Guzzle](http://docs.guzzlephp.org/en/stable/request-options.html) added to all methods if needed (last argument)

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PHP project (>=8.1) with Symfony.
1+
PHP project (>=8.2) with Symfony.
22

33
This project is a PHP library for using the Geocaching API.
44
- Official API Swagger: https://api.groundspeak.com/api-docs/v1/swagger

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can follow changes about the documentation and the API here:
1515

1616
## Requirements
1717

18-
- PHP >= 8.1
18+
- PHP >= 8.2
1919
- [composer](https://getcomposer.org/doc/00-intro.md#system-requirements).
2020

2121
## Composer
@@ -32,13 +32,9 @@ First, you must have your API key from Groundspeak, but access to the API are no
3232

3333
You can find an example of implementation (with OAuth 2) in this repository: https://github.com/Surfoo/geocaching-api-demo
3434

35-
## Usage Guide
35+
## Documentation
3636

37-
See [`USAGE.md`](./USAGE.md) for detailed usage instructions, including:
38-
39-
- Basic usage examples
40-
- Complete API method reference
41-
- HTTP logging configuration
37+
Start with [`docs/README.md`](./docs/README.md) for getting started, authentication, configuration, reliability patterns, and domain-by-domain API examples.
4238

4339
## HTTP Request/Response Logging
4440

USAGE.md

Lines changed: 0 additions & 287 deletions
This file was deleted.

0 commit comments

Comments
 (0)