Skip to content

Commit 7d42211

Browse files
committed
Prepare 4.X branch
1 parent 7b4d4a6 commit 7d42211

3 files changed

Lines changed: 17 additions & 19 deletions

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
CHANGELOG
22
=========
3+
v4.0.0
4+
* Supports PHP 8.X
5+
36
v3.5.1
47
* 3.5.0 packagist/github release due a confusion were using the master (2.X branch). I'm releasing 3.5.1 to fix this issue and go back to 3.X branch
58

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OneLogin's SAML PHP Toolkit Compatible with PHP 5.X & 7.X
1+
# OneLogin's SAML PHP Toolkit Compatible with PHP 7.X & 8.X
22

33
[![Build Status](https://api.travis-ci.org/onelogin/php-saml.png?branch=master)](http://travis-ci.org/onelogin/php-saml) [![Coverage Status](https://coveralls.io/repos/onelogin/php-saml/badge.png)](https://coveralls.io/r/onelogin/php-saml) [![License](https://poser.pugx.org/onelogin/php-saml/license.png)](https://packagist.org/packages/onelogin/php-saml)
44

@@ -10,15 +10,7 @@ and supported by OneLogin Inc.
1010
Warning
1111
-------
1212

13-
Version 3.4.0 introduces the 'rejectUnsolicitedResponsesWithInResponseTo' setting parameter, by default disabled, that will allow invalidate unsolicited SAMLResponse. This version as well will reject SAMLResponse if requestId was provided to the validator but the SAMLResponse does not contain a InResponseTo attribute. And an additional setting parameter 'destinationStrictlyMatches', by default disabled, that will force that the Destination URL should strictly match to the address that process the SAMLResponse.
14-
15-
Version 3.3.1 updates xmlseclibs to 3.0.4 (CVE-2019-3465), but php-saml was not directly affected since it implements additional checks that prevent to exploit that vulnerability.
16-
17-
Version 3.3.0 sets strict mode active by default
18-
19-
Update php-saml to 3.1.0, this version includes a security patch related to XEE attacks.
20-
21-
This version is compatible with PHP 7.X and does not include xmlseclibs (you will need to install it via composer, dependency described in composer.json)
13+
This version is compatible with PHP >7.1 and 8.X and does not include xmlseclibs (you will need to install it via composer, dependency described in composer.json)
2214

2315
Security Guidelines
2416
-------------------
@@ -132,7 +124,9 @@ Your settings are at risk of being deleted when updating packages using `compose
132124
Compatibility
133125
-------------
134126

135-
This 3.X.X supports PHP 7.X. but can be used with PHP >=5.4 as well (5.6.24+ recommended for security reasons).
127+
This 4.X.X supports PHP >7.1 .
128+
129+
It is not compatible with PHP5.6 or PHP7.0.
136130

137131
Namespaces
138132
----------

composer.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,21 @@
1515
"source": "https://github.com/onelogin/php-saml/"
1616
},
1717
"require": {
18-
"php": ">=5.4",
18+
"php": ">=7.1",
1919
"robrichards/xmlseclibs": ">=3.1.1",
20-
"phpunit/phpunit": "<7.5.18"
20+
"phpunit/phpunit": "^7.5.20 || ^9.5"
2121
},
2222
"require-dev": {
23-
"php-coveralls/php-coveralls": "^1.0.2 || ^2.0",
24-
"sebastian/phpcpd": "^2.0 || ^3.0 || ^4.0",
25-
"phploc/phploc": "^2.1 || ^3.0 || ^4.0",
26-
"pdepend/pdepend": "^2.5.0",
27-
"squizlabs/php_codesniffer": "^3.1.1"
23+
"php-coveralls/php-coveralls": "^2.0",
24+
"sebastian/phpcpd": "^4.0 || ^5.0 || ^6.0 ",
25+
"phploc/phploc": "^4.0 || ^5.0 || ^6.0 || ^7.0",
26+
"pdepend/pdepend": "^2.8.0",
27+
"squizlabs/php_codesniffer": "^3.5.8"
2828
},
2929
"suggest": {
3030
"ext-openssl": "Install openssl lib in order to handle with x509 certs (require to support sign and encryption)",
3131
"ext-curl": "Install curl lib to be able to use the IdPMetadataParser for parsing remote XMLs",
32-
"ext-gettext": "Install gettext and php5-gettext libs to handle translations"
32+
"ext-dom": "Install xml lib",
33+
"ext-zlib": "Install zlib"
3334
}
3435
}

0 commit comments

Comments
 (0)