Remove ability to use parameter name _session and _request (#206)
* Remove ability to use parameter name _session and _request These are reserved for internal use. This will fix https://github.com/modelcontextprotocol/php-sdk/issues/168 * fix cs * add changelog * add test
This commit is contained in:
parent
6d74dce073
commit
abd0ddf13d
1 changed files with 40 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
All notable changes to `mcp/sdk` will be documented in this file.
|
||||
|
||||
0.2.2
|
||||
-----
|
||||
|
||||
* Throw exception when trying to inject parameter with the unsupported names `$_session` or `$_request`.
|
||||
|
||||
0.2.1
|
||||
-----
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue