From 67b1d695476ba27343875219682da46404eb2f24 Mon Sep 17 00:00:00 2001 From: Sandro Gehri Date: Fri, 7 Jun 2024 22:33:57 +0200 Subject: [PATCH 1/4] Docs: remove assistants v2 hint from README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 601927f..57cc5a8 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,6 @@ > **Note:** This repository contains the integration code of the **OpenAI PHP** for Laravel. If you want to use the **OpenAI PHP** client in a framework-agnostic way, take a look at the [openai-php/client](https://github.com/openai-php/client) repository. -> **Looking for Assistants v2 support?** -> -> Check out the [0.10.x](https://github.com/openai-php/laravel/releases/tag/v0.10.0-beta.1) release (beta) ## Get Started From 6a1eb8a28a5a4d6e21f0dacd95c47b8c7354cb35 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 22 Aug 2024 09:24:00 +0100 Subject: [PATCH 2/4] Bumps dependencies --- composer.json | 14 +++++++------- src/Testing/OpenAIFake.php | 4 +--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index ea90647..e5aa128 100644 --- a/composer.json +++ b/composer.json @@ -11,16 +11,16 @@ ], "require": { "php": "^8.1.0", - "guzzlehttp/guzzle": "^7.8.1", - "laravel/framework": "^9.46.0|^10.34.2|^11.0", + "guzzlehttp/guzzle": "^7.9.2", + "laravel/framework": "^9.46.0|^10.34.2|^11.21", "openai-php/client": "^v0.10.1" }, "require-dev": { - "laravel/pint": "^1.13.6", - "pestphp/pest": "^2.27.0", - "pestphp/pest-plugin-arch": "^2.4.1", - "phpstan/phpstan": "^1.10.47", - "symfony/var-dumper": "^6.4.0|^7.0.1" + "laravel/pint": "^1.17.2", + "pestphp/pest": "^2.35.1", + "pestphp/pest-plugin-arch": "^2.7.0", + "phpstan/phpstan": "^1.11.11", + "symfony/var-dumper": "^6.4.0|^7.1.3" }, "autoload": { "psr-4": { diff --git a/src/Testing/OpenAIFake.php b/src/Testing/OpenAIFake.php index a4e2eb2..9ac5b3b 100644 --- a/src/Testing/OpenAIFake.php +++ b/src/Testing/OpenAIFake.php @@ -4,6 +4,4 @@ use OpenAI\Testing\ClientFake; -class OpenAIFake extends ClientFake -{ -} +class OpenAIFake extends ClientFake {} From 9ab6ae5d5fd10c51d8513e97a8dd9bce81b1d5c2 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 19 Sep 2024 22:19:52 +0100 Subject: [PATCH 3/4] chore: bumps dependencies --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index e5aa128..b58816e 100644 --- a/composer.json +++ b/composer.json @@ -12,15 +12,15 @@ "require": { "php": "^8.1.0", "guzzlehttp/guzzle": "^7.9.2", - "laravel/framework": "^9.46.0|^10.34.2|^11.21", + "laravel/framework": "^9.46.0|^10.34.2|^11.23.5", "openai-php/client": "^v0.10.1" }, "require-dev": { - "laravel/pint": "^1.17.2", + "laravel/pint": "^1.17.3", "pestphp/pest": "^2.35.1", "pestphp/pest-plugin-arch": "^2.7.0", - "phpstan/phpstan": "^1.11.11", - "symfony/var-dumper": "^6.4.0|^7.1.3" + "phpstan/phpstan": "^1.12.4", + "symfony/var-dumper": "^6.4.0|^7.1.4" }, "autoload": { "psr-4": { From 24815ef1bda71cc0715f7aefe4506e77329e560f Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 17 Oct 2024 21:34:07 +0100 Subject: [PATCH 4/4] feat: adds php 8.4 support --- .github/workflows/tests.yml | 2 +- composer.json | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 15f7f29..92da102 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, 8.2, 8.3] + php: [8.1, 8.2, 8.3, 8.4] laravel: [11.*, 10.*, 9.*] dependency-version: [prefer-lowest, prefer-stable] exclude: diff --git a/composer.json b/composer.json index b58816e..1c015a5 100644 --- a/composer.json +++ b/composer.json @@ -13,12 +13,12 @@ "php": "^8.1.0", "guzzlehttp/guzzle": "^7.9.2", "laravel/framework": "^9.46.0|^10.34.2|^11.23.5", - "openai-php/client": "^v0.10.1" + "openai-php/client": "^0.10.2" }, "require-dev": { "laravel/pint": "^1.17.3", - "pestphp/pest": "^2.35.1", - "pestphp/pest-plugin-arch": "^2.7.0", + "pestphp/pest": "^2.35.1|^3.0.0", + "pestphp/pest-plugin-arch": "^2.7.0|^3.0.0", "phpstan/phpstan": "^1.12.4", "symfony/var-dumper": "^6.4.0|^7.1.4" }, @@ -51,7 +51,6 @@ }, "scripts": { "lint": "pint -v", - "refactor": "rector --debug", "test:lint": "pint --test -v", "test:types": "phpstan analyse --ansi", "test:unit": "pest --colors=always",