Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'version-bump'
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed May 6, 2017
2 parents df0c426 + 26afdf9 commit cdac4a1
Show file tree
Hide file tree
Showing 8 changed files with 71 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
unreleased=true
future-release=2.0.0
future-release=2.0.1
27 changes: 21 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,43 @@
# Change Log

## [2.0.1](https://github.com/TypistTech/sunny/tree/2.0.1) (2017-05-06)
[Full Changelog](https://github.com/TypistTech/sunny/compare/2.0.0...2.0.1)

**Closed issues:**

- Check for PHP version [\#15](https://github.com/TypistTech/sunny/issues/15)
- Cloudflare API v4 [\#6](https://github.com/TypistTech/sunny/issues/6)
- Sunny breaks dashboard 'click to toggle' functionality [\#1](https://github.com/TypistTech/sunny/issues/1)

**Merged pull requests:**

- Self deactivate if PHP version is older than 7.0.0 [\#58](https://github.com/TypistTech/sunny/pull/58) ([TangRufus](https://github.com/TangRufus))
- Fix: TravisCI expired GitHub token [\#54](https://github.com/TypistTech/sunny/pull/54) ([TangRufus](https://github.com/TangRufus))

## [2.0.0](https://github.com/TypistTech/sunny/tree/2.0.0) (2017-05-05)
[Full Changelog](https://github.com/TypistTech/sunny/compare/1.5.2...2.0.0)

**Closed issues:**

- Use TravisCI to deploy production code [\#27](https://github.com/TypistTech/sunny/issues/27)
- Add yoast/i18n-module [\#19](https://github.com/TypistTech/sunny/issues/19)
- Add review me notice [\#16](https://github.com/TypistTech/sunny/issues/16)
- warning in uninstall.php [\#4](https://github.com/TypistTech/sunny/issues/4)
- Purge Page on Update [\#3](https://github.com/TypistTech/sunny/issues/3)
- Can Sunny purge the rss feed on publish? [\#2](https://github.com/TypistTech/sunny/issues/2)
- Hide Admin Bar on front-end [\#44](https://github.com/TypistTech/sunny/issues/44)
- Change Cloudflare namespace [\#40](https://github.com/TypistTech/sunny/issues/40)
- Do purge when posts changed [\#38](https://github.com/TypistTech/sunny/issues/38)
- Process purging in chunk, 30 per batch [\#28](https://github.com/TypistTech/sunny/issues/28)
- Use TravisCI to deploy production code [\#27](https://github.com/TypistTech/sunny/issues/27)
- Get related Urls [\#24](https://github.com/TypistTech/sunny/issues/24)
- Add yoast/i18n-module [\#19](https://github.com/TypistTech/sunny/issues/19)
- Add review me notice [\#16](https://github.com/TypistTech/sunny/issues/16)
- Misc Integration [\#11](https://github.com/TypistTech/sunny/issues/11)
- Add purge Url filter [\#10](https://github.com/TypistTech/sunny/issues/10)
- Add tests [\#9](https://github.com/TypistTech/sunny/issues/9)
- Clone from WP Cloudflare Guard@master [\#8](https://github.com/TypistTech/sunny/issues/8)
- warning in uninstall.php [\#4](https://github.com/TypistTech/sunny/issues/4)
- Purge Page on Update [\#3](https://github.com/TypistTech/sunny/issues/3)
- Can Sunny purge the rss feed on publish? [\#2](https://github.com/TypistTech/sunny/issues/2)

**Merged pull requests:**

- Version bump 2.0.0 [\#53](https://github.com/TypistTech/sunny/pull/53) ([TangRufus](https://github.com/TangRufus))
- Add announcement [\#52](https://github.com/TypistTech/sunny/pull/52) ([TangRufus](https://github.com/TangRufus))
- Refactor [\#51](https://github.com/TypistTech/sunny/pull/51) ([TangRufus](https://github.com/TangRufus))
- Hide admin bar on public-facing pages [\#50](https://github.com/TypistTech/sunny/pull/50) ([TangRufus](https://github.com/TangRufus))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[![Donate via PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.typist.tech/donate/sunny/)
[![Hire Typist Tech](https://img.shields.io/badge/Hire-Typist%20Tech-ff69b4.svg)](https://www.typist.tech/contact/)

Connecting WordPress with Cloudflare firewall, protect your WordPress site at DNS level. Automatically create firewall rules to block dangerous IPs
Automatically purge CloudFlare cache, including cache everything rules.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
Expand Down
32 changes: 27 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.typist.tech/donate/sunny/
Tags: cloudflare, firewall, security, spam
Requires at least: 4.7
Tested up to: 4.7.4
Stable tag: 2.0.0
Stable tag: 2.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -37,8 +37,8 @@ At the time of writing, Cloudflare's [official plugin](https://wordpress.org/plu

= Things You Need to Know =

* You need PHP 7.0 or later
* You need WordPress 4.7 or later
* You need PHP `7.0` or later
* You need WordPress `4.7` or later
* You need a Cloudflare account (free plan is okay)
* This plugin was not built by [Cloudflare, Inc](https://www.cloudflare.com/)

Expand Down Expand Up @@ -91,7 +91,24 @@ If you know what `GitHub` is, use [GitHub issues](https://github.com/Typisttech/

= What version of PHP do I need? =

PHP 7 or later.
PHP `7.0` or later.

= What version of WordPress do I need? =

PHP `4.7` or later.

= What to do when `Parse error: syntax error`? =

If you encountered this error:

`Parse error: syntax error, unexpected ‘:’, expecting ‘;’ or ‘{‘ in wp-content/plugins/sunny/src/Sunny.php on line XX`

You probably running on a old version of PHP. Upgrade your server to PHP `7.0` or later.

Don't know how to update PHP?
* Contact you hosting company
* Switch to a better hosting such as [WP Engine](https://www.typist.tech/go/wp-engine-isnt-business-worth-29-month/) or [Kinsta](https://www.typist.tech/go/kinsta-staging-environment/)
* Hire me [https://www.typist.tech/contact](https://www.typist.tech/contact)

= Is this plugin written by Cloudflare, Inc.? =

Expand Down Expand Up @@ -150,14 +167,19 @@ Shoot me an email at [info@typist.tech](mailto:info@typist.tech) or use this [co

Full change log available at [GitHub](https://github.com/typisttech/sunny/blob/master/CHANGELOG.md)

= 2.0.1 =

* Self deactivate if PHP version is older than `7.0.0`

= 2.0.0 =

* Update to Cloudflare API v4
* Codebase rewrite

== Upgrade Notice ==

= 2.0.0 =
= 2.0.1 =

* Sunny `2` requires PHP `7.0` or greater and WordPress `4.7` or greater
* Security functionalities have been separated to [Sunny](https://wordpress.org/plugins/sunny/)
* You have to re-enter Cloudflare settings.
5 changes: 5 additions & 0 deletions lib/wpupdatephp/wp-update-php/src/WPUpdatePhp.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ public function get_admin_notice( $level = 'minimum' ) {
if ( ! empty( $this->plugin_name ) ) {
$message = '<p>Unfortunately, <code>' . $this->plugin_name . '</code> cannot run on PHP versions older than ' . $this->minimum_version . '. Read more information about <a href="http://www.wpupdatephp.com/update/">how you can update</a>.<br/>';
$message .= '<code>' . $this->plugin_name . '</code> has <strong>deactivated</strong> itself to prevent fatal errors.</p>';
$message .= '<p>Don\'t know how to update PHP?<br/>';
$message .= '* Contact you hosting company</li>';
$message .= '* Switch to a better hosting such as <a href="https://www.typist.tech/go/wp-engine-isnt-business-worth-29-month/">WP Engine</a> or <a href="https://www.typist.tech/go/kinsta-staging-environment/">Kinsta</a><br/>';
$message .= '* Hire me <a href="https://www.typist.tech/contact">https://www.typist.tech/contact</a></p>';

return $message;
} else {
return '<p>Unfortunately, this plugin cannot run on PHP versions older than ' . $this->minimum_version . '. Read more information about <a href="http://www.wpupdatephp.com/update/">how you can update</a>.</p>';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sunny",
"version": "2.0.0",
"version": "2.0.1",
"main": "Gruntfile.js",
"private": true,
"pot": {
Expand Down
2 changes: 1 addition & 1 deletion sunny.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Plugin Name: Sunny
* Plugin URI: https://www.typist.tech/
* Description: Automatically purge CloudFlare cache, including cache everything rules.
* Version: 2.0.0
* Version: 2.0.1
* Author: Typist Tech
* Author URI: https://www.typist.tech/
* License: GPL-2.0+
Expand Down
17 changes: 14 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ gettext-parser@^1.2.0:
dependencies:
encoding "0.1.12"

glob@^7.0.5, glob@~7.0.0:
version "7.0.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.6.tgz#211bafaf49e525b8cd93260d14ab136152b3f57a"
glob@^7.0.5:
version "7.1.1"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
Expand All @@ -302,6 +302,17 @@ glob@~5.0.0:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@~7.0.0:
version "7.0.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.6.tgz#211bafaf49e525b8cd93260d14ab136152b3f57a"
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.2"
once "^1.3.0"
path-is-absolute "^1.0.0"

graceful-fs@^4.1.2:
version "4.1.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
Expand Down

0 comments on commit cdac4a1

Please sign in to comment.