|
2 | 2 |
|
3 | 3 | All notable changes to `php-mcp/laravel` will be documented in this file.
|
4 | 4 |
|
| 5 | +## v3.0.0 - 2025-06-26 |
| 6 | + |
| 7 | +### Major Changes |
| 8 | + |
| 9 | +- **Upgraded to php-mcp/server ^3.0** with latest MCP protocol support(`2025-03-26`) |
| 10 | +- **Laravel-native session management** with multiple storage backends (file, database, cache, redis) |
| 11 | +- **Streamable HTTP transport** with resumability and better connection handling |
| 12 | +- **Simplified configuration** structure for capabilities and session management |
| 13 | + |
| 14 | +### Improvements |
| 15 | + |
| 16 | +- Enhanced transport layer with better error handling |
| 17 | +- Automatic session garbage collection |
| 18 | +- Updated documentation with migration guide |
| 19 | + |
| 20 | +### Fixes |
| 21 | + |
| 22 | +- Fixed SSE stream handling for expired sessions |
| 23 | +- Improved transport initialization |
| 24 | +- Better memory management for long-running servers |
| 25 | + |
| 26 | +### Breaking Changes |
| 27 | + |
| 28 | +- Requires `php-mcp/server ^3.0` |
| 29 | +- Updated configuration structure (see migration guide in `README`) |
| 30 | +- Transport class names changed for consistency |
| 31 | + |
| 32 | +### Installation |
| 33 | + |
| 34 | +```bash |
| 35 | +composer require php-mcp/laravel:^3.0 |
| 36 | +php artisan vendor:publish --provider="PhpMcp\Laravel\McpServiceProvider" |
| 37 | + |
| 38 | +``` |
| 39 | +**Full Changelog**: https://github.com/php-mcp/laravel/compare/2.1.1...3.0.0 |
| 40 | + |
5 | 41 | ## v2.1.1 - 2025-06-25
|
6 | 42 |
|
7 | 43 | ### What's Changed
|
@@ -109,6 +145,7 @@ This release marks a **major overhaul**, bringing it into full alignment with `p
|
109 | 145 |
|
110 | 146 |
|
111 | 147 |
|
| 148 | + |
112 | 149 | ```
|
113 | 150 | * **`mcp:serve` for HTTP:** The `--transport=http` option for `mcp:serve` now launches a *dedicated* ReactPHP-based server process. For serving MCP via your main Laravel application routes, ensure the `http_integrated` transport is enabled in `config/mcp.php` and your web server is configured appropriately.
|
114 | 151 | * **Event Handling:** If you were directly listening to internal events from the previous version, these may have changed. Rely on the documented Laravel events (`ToolsListChanged`, etc.).
|
@@ -174,6 +211,7 @@ php artisan vendor:publish --provider="PhpMcp\Laravel\Server\McpServiceProvider"
|
174 | 211 |
|
175 | 212 |
|
176 | 213 |
|
| 214 | +
|
177 | 215 | ```
|
178 | 216 | ## Getting Started
|
179 | 217 |
|
|
0 commit comments