Skip to content

Commit

Permalink
Merge pull request #275 from pantheon-systems/234-update-minimum-php
Browse files Browse the repository at this point in the history
Update `onelogin/php-saml` to v4.0.0
  • Loading branch information
danielbachhuber authored Jan 6, 2022
2 parents 50d9415 + 7080eeb commit 0d11340
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
lint:
working_directory: ~/pantheon-systems/wp-saml-auth
docker:
- image: quay.io/pantheon-public/build-tools-ci:6.x
- image: quay.io/pantheon-public/build-tools-ci:7.x-php7.4
steps:
- checkout
- restore_cache:
Expand All @@ -39,7 +39,7 @@ jobs:
working_directory: ~/pantheon-systems/wp-saml-auth
parallelism: 1
docker:
- image: quay.io/pantheon-public/build-tools-ci:6.x
- image: quay.io/pantheon-public/build-tools-ci:7.x-php7.4
steps:
- checkout
- restore_cache:
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
**Tags:** authentication, SAML
**Requires at least:** 4.4
**Tested up to:** 5.8
**Stable tag:** 1.2.7
**Requires PHP:** 7.3
**Stable tag:** 2.0.0
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -275,8 +276,16 @@ Note: the declaration does need to be at the top of `_include.php`, to ensure Wo

There is no third step. Because SimpleSAMLphp loads WordPress, which has WP Native PHP Sessions active, SimpleSAMLphp and WP SAML Auth will be able to communicate to one another on a multi web node environment.

## Upgrade Notice ##

### 2.0.0 ###
Minimum supported PHP version is 7.3.

## Changelog ##

### 2.0.0 (January 6, 2022) ###
* **BREAKING**: Updates `onelogin/php-saml` to `v4.0.0`, which requires PHP 7.3 or higher [[#275](https://github.com/pantheon-systems/wp-saml-auth/pull/275)].

### 1.2.7 (December 9, 2021) ###
* Adds a `wp_saml_auth_pre_logout` action that fires before logout [[#274](https://github.com/pantheon-systems/wp-saml-auth/pull/274)].

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"onelogin/php-saml": "^3.6"
"onelogin/php-saml": "^4.0",
"php": "^7.3 || ^8.0"
},
"require-dev": {
"pantheon-systems/pantheon-wordpress-upstream-tests": "dev-master",
Expand Down
35 changes: 19 additions & 16 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Contributors: getpantheon, danielbachhuber, Outlandish Josh
Tags: authentication, SAML
Requires at least: 4.4
Tested up to: 5.8
Stable tag: 1.2.7
Requires PHP: 7.3
Stable tag: 2.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -275,8 +276,16 @@ Note: the declaration does need to be at the top of `_include.php`, to ensure Wo

There is no third step. Because SimpleSAMLphp loads WordPress, which has WP Native PHP Sessions active, SimpleSAMLphp and WP SAML Auth will be able to communicate to one another on a multi web node environment.

== Upgrade Notice ==

= 2.0.0 =
Minimum supported PHP version is 7.3.

== Changelog ==

= 2.0.0 (January 6, 2022) =
* **BREAKING**: Updates `onelogin/php-saml` to `v4.0.0`, which requires PHP 7.3 or higher [[#275](https://github.com/pantheon-systems/wp-saml-auth/pull/275)].

= 1.2.7 (December 9, 2021) =
* Adds a `wp_saml_auth_pre_logout` action that fires before logout [[#274](https://github.com/pantheon-systems/wp-saml-auth/pull/274)].

Expand Down
2 changes: 1 addition & 1 deletion wp-saml-auth.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: WP SAML Auth
* Version: 1.2.7
* Version: 2.0.0
* Description: SAML authentication for WordPress, using SimpleSAMLphp.
* Author: Pantheon
* Author URI: https://pantheon.io
Expand Down

0 comments on commit 0d11340

Please sign in to comment.