From 65df96240020a24218c8651e75bdddcacc99c9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Dengs=C3=B8?= Date: Fri, 5 Dec 2025 16:29:56 +0100 Subject: [PATCH 1/2] chore: readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a202d1..13c35c0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Moderation API PHP API library +# Moderation API PHP library > [!NOTE] > The Moderation API PHP API Library is currently in **beta** and we're excited for you to experiment with it! @@ -9,8 +9,6 @@ The Moderation API PHP library provides convenient access to the Moderation API REST API from any PHP 8.1.0+ application. -It is generated with [Stainless](https://www.stainless.com/). - ## Documentation The REST API documentation can be found on [docs.moderationapi.com](https://docs.moderationapi.com). From 75cc0c9cf5bc871015f6d5e35cc15decb0dd2645 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Dec 2025 15:30:10 +0000 Subject: [PATCH 2/2] release: 0.1.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- src/Client.php | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3d2ac0b..5547f83 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0" + ".": "0.1.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d10fa5..8d9e060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.1 (2025-12-05) + +Full Changelog: [v0.1.0...v0.1.1](https://github.com/moderation-api/sdk-php/compare/v0.1.0...v0.1.1) + +### Chores + +* readme ([65df962](https://github.com/moderation-api/sdk-php/commit/65df96240020a24218c8651e75bdddcacc99c9fb)) + ## 0.1.0 (2025-12-05) Full Changelog: [v0.0.1...v0.1.0](https://github.com/moderation-api/sdk-php/compare/v0.0.1...v0.1.0) diff --git a/README.md b/README.md index 13c35c0..f3a03f2 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The REST API documentation can be found on [docs.moderationapi.com](https://docs ``` -composer require "moderation-api/sdk-php 0.1.0" +composer require "moderation-api/sdk-php 0.1.1" ``` diff --git a/src/Client.php b/src/Client.php index 85c6d05..210f77f 100644 --- a/src/Client.php +++ b/src/Client.php @@ -74,9 +74,9 @@ public function __construct(?string $secretKey = null, ?string $baseUrl = null) headers: [ 'Content-Type' => 'application/json', 'Accept' => 'application/json', - 'User-Agent' => sprintf('moderation-api/PHP %s', '0.1.0'), + 'User-Agent' => sprintf('moderation-api/PHP %s', '0.1.1'), 'X-Stainless-Lang' => 'php', - 'X-Stainless-Package-Version' => '0.1.0', + 'X-Stainless-Package-Version' => '0.1.1', 'X-Stainless-OS' => $this->getNormalizedOS(), 'X-Stainless-Arch' => $this->getNormalizedArchitecture(), 'X-Stainless-Runtime' => 'php',