|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to `GrokPHP/Laravel` will be documented in this file. |
| 4 | +This project follows [Semantic Versioning](https://semver.org/). |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## [v1.1.0] - 2024-02-25 |
| 9 | +### New Features |
| 10 | +- **Added Vision API Support**: The package now supports analyzing images using Grok AI Vision models. |
| 11 | + - New method: `GrokAI::vision()->analyze($imagePath, $prompt)`. |
| 12 | + - Supports models: `grok-2-vision-1212`, `grok-2-vision`, and `grok-2-vision-latest`. |
| 13 | + |
| 14 | +### Improvements |
| 15 | +- **Switched from Pest to PHPUnit** for better Laravel compatibility. |
| 16 | +- **Introduced `GrokResponse`**: A response wrapper for easier result handling. |
| 17 | +- **Enhanced Exception Handling**: |
| 18 | + - Proper error handling for image inputs when used with non-vision models. |
| 19 | + - Improved API key error handling. |
| 20 | +- **Refactored Service Provider** for better maintainability. |
| 21 | +- **Dropped Support for PHP 8.1**: Now requires **PHP 8.2+**. |
| 22 | +- **Added Support for Laravel 12**: Compatible with **Laravel 10, 11, and 12**. |
| 23 | + |
| 24 | +### Internal Changes |
| 25 | +- Improved test coverage for **chat and vision API features**. |
| 26 | +- Refactored code to follow **SOLID principles**. |
| 27 | +- Added GitHub Actions CI workflow to support **PHP 8.3, and 8.4**. |
| 28 | + |
| 29 | + |
| 30 | +--- |
| 31 | + |
| 32 | +## [v1.0.0] - 2025-02-07 |
| 33 | +### Initial Release |
| 34 | +- Released `GrokPHP/Laravel` v1.0.0, a Laravel wrapper for **Grok AI Client**. |
| 35 | +- Added support for **chat models** with a simple, fluent syntax. |
| 36 | + |
| 37 | +--- |
| 38 | + |
| 39 | +### Notes |
| 40 | +- For detailed usage, refer to the [README.md](README.md). |
| 41 | +- Found an issue? Report it on [GitHub Issues](https://github.com/grok-php/laravel/issues). |
0 commit comments