Skip to content

Commit

Permalink
Release 1.2.2 (#219)
Browse files Browse the repository at this point in the history
* Bump yoast/phpunit-polyfills from 1.0.3 to 1.0.4

Bumps [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases)
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/develop/CHANGELOG.md)
- [Commits](Yoast/PHPUnit-Polyfills@1.0.3...1.0.4)

---
updated-dependencies:
- dependency-name: yoast/phpunit-polyfills
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Test more versions of PHP (#218)

* Release 1.2.2

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
John Spellman and dependabot[bot] authored Mar 15, 2023
1 parent 846f98a commit 1d44fa4
Show file tree
Hide file tree
Showing 12 changed files with 1,205 additions and 820 deletions.
43 changes: 36 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
version: 2
version: 2.1
workflows:
version: 2
main:
jobs:
- lint
- test-behat
- test-phpunit
- test-behat:
requires:
- lint
- test-phpunit:
name: "Test with PHP 7.4"
requires:
- lint
php_version: "7.4"
- test-phpunit:
name: "Test with PHP 8.0"
requires:
- lint
php_version: "8.0"
- test-phpunit:
name: "Test with PHP 8.1"
requires:
- lint
php_version: "8.1"
- test-phpunit:
name: "Test with PHP 8.2"
requires:
- lint
php_version: "8.2"
nightly:
triggers:
- schedule:
Expand All @@ -20,7 +41,7 @@ jobs:
lint:
working_directory: ~/pantheon-systems/pantheon-advanced-page-cache
docker:
- image: quay.io/pantheon-public/build-tools-ci:7.x-php7.4
- image: quay.io/pantheon-public/build-tools-ci:8.x-php8.2
steps:
- checkout
- restore_cache:
Expand All @@ -39,7 +60,7 @@ jobs:
working_directory: ~/pantheon-systems/pantheon-advanced-page-cache
parallelism: 1
docker:
- image: quay.io/pantheon-public/build-tools-ci:7.x-php7.4
- image: quay.io/pantheon-public/build-tools-ci:8.x-php8.2
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -81,10 +102,18 @@ jobs:
command: ./bin/behat-cleanup.sh
when: always
test-phpunit:
parameters:
php_version:
type: enum
enum:
- "7.4"
- "8.2"
- "8.1"
- "8.0"
working_directory: ~/pantheon-systems/pantheon-advanced-page-cache
docker:
- image: cimg/php:7.4-browsers
- image: circleci/mariadb:10.3
- image: cimg/php:<< parameters.php_version >>
- image: circleci/mariadb:10.4
environment:
- WP_TESTS_DIR: "/tmp/wordpress-tests-lib"
- WP_CORE_DIR: "/tmp/wordpress/"
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
**Contributors:** [getpantheon](https://profiles.wordpress.org/getpantheon), [danielbachhuber](https://profiles.wordpress.org/danielbachhuber), [kporras07](https://profiles.wordpress.org/kporras07)
**Tags:** pantheon, cdn, cache
**Requires at least:** 4.7
**Tested up to:** 6.1
**Stable tag:** 1.2.1
**Tested up to:** 6.1
**Stable tag:** 1.2.2
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -304,6 +304,10 @@ See [CONTRIBUTING.md](https://github.com/pantheon-systems/pantheon-advanced-page

## Changelog ##

## 1.2.2 (March 14, 2023) ##
* Adds PHP 8.2 compatibility [[#218](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/218)].
* Bump dependencies [[#204](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/204)].

## 1.2.1 (February 23, 2023) ##
* Handle models that are not instances of the `WPGraphQL\Model\Model` class [[#212](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/212)].
* Make dependabot target develop branch [[#209](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/209)].
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"behat/mink-extension": "^2.2",
"behat/mink-goutte-driver": "^1.2",
"pantheon-systems/pantheon-wordpress-upstream-tests": "dev-master",
"wp-coding-standards/wpcs": "^2",
"wp-coding-standards/wpcs": "dev-develop as 2.3.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"phpunit/phpunit": "^7",
"phpunit/phpunit": "^9",
"phpcompatibility/php-compatibility": "^9.3",
"yoast/phpunit-polyfills": "^1.0"
},
Expand Down
Loading

0 comments on commit 1d44fa4

Please sign in to comment.