Skip to content

Commit 297065c

Browse files
committed
Update changelog and version
1 parent b7d1f7c commit 297065c

6 files changed

Lines changed: 27 additions & 7 deletions

File tree

CHANGELOG

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
CHANGELOG
22
=========
3+
4+
v.3.0.0 (pending)
5+
* Remove mcrypt dependency. Compatible with PHP 7.2
6+
* xmlseclibs now is not part of the toolkit and need to be installed from original source
7+
8+
v.2.12.0
9+
* Improve Time management. Use DateTime/DateTimeZone classes.
10+
* Escape error messages in debug mode
11+
* Improve phpdoc
12+
* Add an extra filter to the url to be used on redirection
13+
14+
* [#242](https://github.com/onelogin/php-saml/pull/242) Document that SHA-1 must not be used
15+
* [#250](https://github.com/onelogin/php-saml/pull/250) Fixed issue with IdPMetadataParser only keeping 1 certificate when multiple certificates of a single type were provided.
16+
* [#263](https://github.com/onelogin/php-saml/issues/263) Fix incompatibility with ADFS on SLO. When on php saml settings NameID Format is set as unspecified but the SAMLResponse has no NameID Format, no NameID Format should be specified on LogoutRequest.
17+
18+
v.2.11.0
19+
* [#236](https://github.com/onelogin/php-saml/pull/236) Exclude unnecesary files from Composer production downloads
20+
* [#226](https://github.com/onelogin/php-saml/pull/226) Add possibility to handle nameId NameQualifier attribute in SLO Request
21+
* Improve logout documentation on Readme.
22+
* Improve multi-certificate support
23+
324
v.2.10.7
425
* Fix IdPMetadataParser. The SingleLogoutService retrieved method was wrong
526
* [#201](https://github.com/onelogin/php-saml/issues/201) Fix issues with SP entity_id, acs url and sls url that contains &

lib/Saml2/Auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ public function getLastResponseXML()
702702
$response = $this->_lastResponse->saveXML();
703703
}
704704
}
705-
705+
706706
return $response;
707707
}
708708
}

lib/Saml2/AuthnRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class OneLogin_Saml2_AuthnRequest
4343
/**
4444
* Constructs the AuthnRequest object.
4545
*
46-
* @param OneLogin_Saml2_Settings $settings Settings
46+
* @param OneLogin_Saml2_Settings $settings SAML Toolkit Settings
4747
* @param bool $forceAuthn When true the AuthNReuqest will set the ForceAuthn='true'
4848
* @param bool $isPassive When true the AuthNReuqest will set the Ispassive='true'
4949
* @param bool $setNameIdPolicy When true the AuthNReuqest will set a nameIdPolicy

lib/Saml2/IdPMetadataParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ public static function parseXML($xml, $entityId = null, $desiredNameIdFormat = n
174174
}
175175

176176
$idpCertdata = $metadataInfo['idp']['x509certMulti'];
177-
if (count($idpCertdata) == 1 and
178-
((isset($idpCertdata['signing']) and count($idpCertdata['signing']) == 1) or (isset($idpCertdata['encryption']) and count($idpCertdata['encryption']) == 1)) or
177+
if ((count($idpCertdata) == 1 and
178+
((isset($idpCertdata['signing']) and count($idpCertdata['signing']) == 1) or (isset($idpCertdata['encryption']) and count($idpCertdata['encryption']) == 1))) or
179179
((isset($idpCertdata['signing']) && count($idpCertdata['signing']) == 1) && isset($idpCertdata['encryption']) && count($idpCertdata['encryption']) == 1 && strcmp($idpCertdata['signing'][0], $idpCertdata['encryption'][0]) == 0)) {
180180
if (isset($metadataInfo['idp']['x509certMulti']['signing'][0])) {
181181
$metadataInfo['idp']['x509cert'] = $metadataInfo['idp']['x509certMulti']['signing'][0];

lib/Saml2/version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"php-saml": {
3-
"version": "2.10.7",
4-
"released": "19/05/2017"
3+
"version": "3.0.0",
4+
"released": ""
55
}
66
}

tests/compatibility.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
class_exists('\PHPUnit_Framework_TestCase')) {
55
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
66
}
7-

0 commit comments

Comments
 (0)