diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db2e9a7..a0309bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - version: ['8.1', '8.2', '8.3', '8.4', '8.5'] + version: ['8.1', '8.2', '8.3', '8.4', '8.5', '8.6'] steps: - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index cea53e2..6f1e3e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,17 @@ # Changelog +## 2.0.13 - 2026-06-17 + +* Fix build on PHP 8.6+ — replace `XtOffsetOf` with `offsetof` (issue #42) +* Add PHP 8.6 to CI matrix + ## 2.0.12 - 2026-04-07 +* Add PIE support (composer.json, package name pecl/oauth) +* Drop .gitattributes export-ignore rules (issue #41) — preserves full source tree in GitHub archives for distro packagers + +## 2.0.11 - 2026-04-06 + * Fix segfault when OAuthProvider callback handler throws an exception (issue #27) * Replace deprecated cURL `curl_formadd()` API with MIME API for multipart form uploads (issue #37) * Fix double free in OAuth destructor for `headers_in` and `headers_out` @@ -11,7 +21,6 @@ * Fix memory leak in OAuthProvider callback registration on invalid callback type * Add multipart array cleanup in destructor for exception safety * Add GitHub Actions CI for PHP 8.1-8.5 -* Add PIE support (composer.json, package name pecl/oauth) ## 2.0.10 - 2025-10-09 diff --git a/package.xml b/package.xml index adb608e..4121d58 100644 --- a/package.xml +++ b/package.xml @@ -47,9 +47,9 @@ Requirements: ext/hash (now a part of PHP core) mike@php.net yes - 2026-04-07 + 2026-06-17 - 2.0.12 + 2.0.13 2.0 @@ -59,15 +59,8 @@ Requirements: ext/hash (now a part of PHP core) BSD @@ -198,6 +191,50 @@ Requirements: ext/hash (now a part of PHP core) + + 2026-04-07 + + 2.0.12 + 2.0 + + + stable + stable + + BSD + + + + + + + 2026-04-06 + + 2.0.11 + 2.0 + + + stable + stable + + BSD + + + + + 2025-10-09 diff --git a/php_oauth.h b/php_oauth.h index 4d4310d..8ce05c8 100644 --- a/php_oauth.h +++ b/php_oauth.h @@ -73,7 +73,7 @@ curl_formfree(f); #endif -#define PHP_OAUTH_VERSION 2.0.12 +#define PHP_OAUTH_VERSION 2.0.13 #define __stringify_1(x) #x #define __stringify(x) __stringify_1(x)