},
{
"name": "guzzlehttp/guzzle",
- "version": "7.6.0",
+ "version": "7.6.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "733dd89533dd371a0987172727df15f500dab0ef"
+ "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/733dd89533dd371a0987172727df15f500dab0ef",
- "reference": "733dd89533dd371a0987172727df15f500dab0ef",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
+ "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
"shasum": ""
},
"require": {
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
- "source": "https://github.com/guzzle/guzzle/tree/7.6.0"
+ "source": "https://github.com/guzzle/guzzle/tree/7.6.1"
},
"funding": [
{
"type": "tidelift"
}
],
- "time": "2023-05-14T11:23:39+00:00"
+ "time": "2023-05-15T20:43:01+00:00"
},
{
"name": "guzzlehttp/promises",
},
{
"name": "guzzlehttp/guzzle",
- "version": "7.6.0",
- "version_normalized": "7.6.0.0",
+ "version": "7.6.1",
+ "version_normalized": "7.6.1.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "733dd89533dd371a0987172727df15f500dab0ef"
+ "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/733dd89533dd371a0987172727df15f500dab0ef",
- "reference": "733dd89533dd371a0987172727df15f500dab0ef",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
+ "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
"shasum": ""
},
"require": {
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
- "time": "2023-05-14T11:23:39+00:00",
+ "time": "2023-05-15T20:43:01+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
- "source": "https://github.com/guzzle/guzzle/tree/7.6.0"
+ "source": "https://github.com/guzzle/guzzle/tree/7.6.1"
},
"funding": [
{
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
- 'pretty_version' => '7.6.0',
- 'version' => '7.6.0.0',
- 'reference' => '733dd89533dd371a0987172727df15f500dab0ef',
+ 'pretty_version' => '7.6.1',
+ 'version' => '7.6.1.0',
+ 'reference' => '8444a2bacf1960bc6a2b62ed86b8e72e11eebe51',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
'aliases' => array(),
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
+## 7.6.1 - 2023-05-15
+
+### Fixed
+
+- Fix `SetCookie::fromString` MaxAge deprecation warning and skip invalid MaxAge values
+
## 7.6.0 - 2023-05-14
### Added
} else {
foreach (\array_keys(self::$defaults) as $search) {
if (!\strcasecmp($search, $key)) {
- $data[$search] = $value;
+ if ($search === 'Max-Age') {
+ if (is_numeric($value)) {
+ $data[$search] = (int) $value;
+ }
+ } else {
+ $data[$search] = $value;
+ }
continue 2;
}
}