},
{
"name": "guzzlehttp/psr7",
- "version": "2.4.4",
- "version": "2.4.5",
++ "version": "2.5.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
- "reference": "0454e12ef0cd597ccd2adb036f7bda4e7fface66"
++ "reference": "b635f279edd83fc275f822a1188157ffea568ff6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
- "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/0454e12ef0cd597ccd2adb036f7bda4e7fface66",
- "reference": "0454e12ef0cd597ccd2adb036f7bda4e7fface66",
++ "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
++ "reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
-- "psr/http-message": "^1.0",
++ "psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/2.4.4"
- "source": "https://github.com/guzzle/psr7/tree/2.4.5"
++ "source": "https://github.com/guzzle/psr7/tree/2.5.0"
},
"funding": [
{
"type": "tidelift"
}
],
- "time": "2023-03-09T13:19:02+00:00"
- "time": "2023-04-17T16:00:45+00:00"
++ "time": "2023-04-17T16:11:26+00:00"
},
{
"name": "laminas/laminas-diactoros",
- "version": "2.25.1",
- "version": "dev-woltlab-2.4",
++ "version": "2.25.2",
"source": {
"type": "git",
- "url": "https://github.com/WoltLab/laminas-diactoros",
- "reference": "f74e310c766cf2bcab685a14353aacf2185e9384"
+ "url": "https://github.com/laminas/laminas-diactoros.git",
- "reference": "13f45e5ba09c9b27752247d3be186fc49c2ca3a5"
++ "reference": "9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/13f45e5ba09c9b27752247d3be186fc49c2ca3a5",
- "reference": "13f45e5ba09c9b27752247d3be186fc49c2ca3a5",
- "url": "https://api.github.com/repos/WoltLab/laminas-diactoros/zipball/f74e310c766cf2bcab685a14353aacf2185e9384",
- "reference": "f74e310c766cf2bcab685a14353aacf2185e9384",
++ "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e",
++ "reference": "9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e",
"shasum": ""
},
"require": {
"psr-7"
],
"support": {
+ "chat": "https://laminas.dev/chat",
"docs": "https://docs.laminas.dev/laminas-diactoros/",
+ "forum": "https://discourse.laminas.dev",
"issues": "https://github.com/laminas/laminas-diactoros/issues",
- "source": "https://github.com/laminas/laminas-diactoros",
"rss": "https://github.com/laminas/laminas-diactoros/releases.atom",
- "chat": "https://laminas.dev/chat",
- "forum": "https://discourse.laminas.dev"
+ "source": "https://github.com/laminas/laminas-diactoros"
},
- "time": "2023-04-13T15:12:36+00:00"
+ "funding": [
+ {
+ "url": "https://funding.communitybridge.org/projects/laminas-project",
+ "type": "community_bridge"
+ }
+ ],
- "time": "2023-04-08T00:31:34+00:00"
++ "time": "2023-04-17T15:44:17+00:00"
},
{
"name": "laminas/laminas-httphandlerrunner",
},
{
"name": "guzzlehttp/psr7",
- "version": "2.4.4",
- "version_normalized": "2.4.4.0",
- "version": "2.4.5",
- "version_normalized": "2.4.5.0",
++ "version": "2.5.0",
++ "version_normalized": "2.5.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
- "reference": "0454e12ef0cd597ccd2adb036f7bda4e7fface66"
++ "reference": "b635f279edd83fc275f822a1188157ffea568ff6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
- "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/0454e12ef0cd597ccd2adb036f7bda4e7fface66",
- "reference": "0454e12ef0cd597ccd2adb036f7bda4e7fface66",
++ "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
++ "reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
-- "psr/http-message": "^1.0",
++ "psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
- "time": "2023-03-09T13:19:02+00:00",
- "time": "2023-04-17T16:00:45+00:00",
++ "time": "2023-04-17T16:11:26+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/2.4.4"
- "source": "https://github.com/guzzle/psr7/tree/2.4.5"
++ "source": "https://github.com/guzzle/psr7/tree/2.5.0"
},
"funding": [
{
},
{
"name": "laminas/laminas-diactoros",
- "version": "2.25.1",
- "version_normalized": "2.25.1.0",
- "version": "dev-woltlab-2.4",
- "version_normalized": "dev-woltlab-2.4",
++ "version": "2.25.2",
++ "version_normalized": "2.25.2.0",
"source": {
"type": "git",
- "url": "https://github.com/WoltLab/laminas-diactoros",
- "reference": "f74e310c766cf2bcab685a14353aacf2185e9384"
+ "url": "https://github.com/laminas/laminas-diactoros.git",
- "reference": "13f45e5ba09c9b27752247d3be186fc49c2ca3a5"
++ "reference": "9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/13f45e5ba09c9b27752247d3be186fc49c2ca3a5",
- "reference": "13f45e5ba09c9b27752247d3be186fc49c2ca3a5",
- "url": "https://api.github.com/repos/WoltLab/laminas-diactoros/zipball/f74e310c766cf2bcab685a14353aacf2185e9384",
- "reference": "f74e310c766cf2bcab685a14353aacf2185e9384",
++ "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e",
++ "reference": "9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-gd": "*",
"ext-libxml": "*",
- "http-interop/http-factory-tests": "^0.5.0",
- "laminas/laminas-coding-standard": "~1.0.0",
- "php-http/psr7-integration-tests": "^1.0",
- "phpunit/phpunit": "^7.5.18"
- },
- "time": "2023-04-13T15:12:36+00:00",
+ "http-interop/http-factory-tests": "^0.9.0",
+ "laminas/laminas-coding-standard": "^2.5",
+ "php-http/psr7-integration-tests": "^1.2",
+ "phpunit/phpunit": "^9.5.28",
+ "psalm/plugin-phpunit": "^0.18.4",
+ "vimeo/psalm": "^5.6"
+ },
- "time": "2023-04-08T00:31:34+00:00",
++ "time": "2023-04-17T15:44:17+00:00",
"type": "library",
"extra": {
"laminas": {
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
- 'pretty_version' => '2.4.4',
- 'version' => '2.4.4.0',
- 'reference' => '3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf',
- 'pretty_version' => '2.4.5',
- 'version' => '2.4.5.0',
- 'reference' => '0454e12ef0cd597ccd2adb036f7bda4e7fface66',
++ 'pretty_version' => '2.5.0',
++ 'version' => '2.5.0.0',
++ 'reference' => 'b635f279edd83fc275f822a1188157ffea568ff6',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
'dev_requirement' => false,
),
'laminas/laminas-diactoros' => array(
- 'pretty_version' => '2.25.1',
- 'version' => '2.25.1.0',
- 'reference' => '13f45e5ba09c9b27752247d3be186fc49c2ca3a5',
- 'pretty_version' => 'dev-woltlab-2.4',
- 'version' => 'dev-woltlab-2.4',
- 'reference' => 'f74e310c766cf2bcab685a14353aacf2185e9384',
++ 'pretty_version' => '2.25.2',
++ 'version' => '2.25.2.0',
++ 'reference' => '9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e',
'type' => 'library',
'install_path' => __DIR__ . '/../laminas/laminas-diactoros',
'aliases' => array(),
## Unreleased
++## 2.5.0 - 2023-04-17
++
++### Changed
++
++- Adjusted `psr/http-message` version constraint to `^1.1 || ^2.0`
++
+ ## 2.4.5 - 2023-04-17
+
+ ### Fixed
+
+ - Prevent possible warnings on unset variables in `ServerRequest::normalizeNestedFileSpec`
+ - Fixed `Message::bodySummary` when `preg_match` fails
+ - Fixed header validation issue
+
## 2.4.4 - 2023-03-09
### Changed
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
-- "psr/http-message": "^1.0",
++ "psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
if (! is_string($name)) {
throw new Exception\InvalidArgumentException(sprintf(
'Invalid header name type; expected string; received %s',
- (is_object($name) ? get_class($name) : gettype($name))
+ is_object($name) ? $name::class : gettype($name)
));
}
- if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/', $name)) {
+ if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/D', $name)) {
throw new Exception\InvalidArgumentException(sprintf(
'"%s" is not valid header name',
$name