Compare commits

...

11 Commits

Author SHA1 Message Date
Daniel Rudolf f7637ad335
Version 3.0.0-alpha.2 5 years ago
Daniel Rudolf 888b910a84
Update Pico::VERSION 5 years ago
Daniel Rudolf 4b95733a51
Update CHANGELOG.md 5 years ago
Daniel Rudolf 59d9514ed4
Travis CI: Add PHP 8.0 target 5 years ago
Daniel Rudolf c3c7606d2c
Merge branch 'master' into pico-3.0-alpha 5 years ago
Daniel Rudolf 039dd4edb2
Version 3.0.0-alpha.1 5 years ago
Daniel Rudolf b6a0343118
Update CHANGELOG.md 5 years ago
Daniel Rudolf 727d8a12c0
Fix Travis CI trying to build Pico 3.0 on PHP 5.x 5 years ago
Daniel Rudolf 2ee41e9a8d
Update Pico::VERSION and Pico::VERSION_ID 5 years ago
Daniel Rudolf a053a72a12
Update dependencies, Pico now requires PHP 7.0.8+ 5 years ago
Daniel Rudolf 718b790b19
Kick-start development of Pico 3.0 5 years ago
  1. 18
      .travis.yml
  2. 19
      CHANGELOG.md
  3. 10
      composer.json
  4. 4
      index.php.dist
  5. 2
      lib/AbstractPicoPlugin.php
  6. 6
      lib/Pico.php
  7. 2
      lib/PicoPluginInterface.php
  8. 2
      lib/PicoTwigExtension.php
  9. 2
      plugins/DummyPlugin.php

@ -10,30 +10,22 @@ cache:
jobs:
include:
# Test stage
- php: 5.3
dist: precise
- php: 5.4
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
dist: xenial
- php: 7.0
dist: xenial
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
- php: 8.0
- php: nightly
- php: hhvm-3.24 # until Dec 2018
- php: hhvm-3.27 # until Sep 2019
- php: hhvm-3.30 # until Nov 2019
# Branch deployment stage
- stage: deploy-branch
if: type == "push" && tag IS blank
php: 5.3
dist: precise
php: 7.0
dist: xenial
install:
- '[[ ",$DEPLOY_PHPDOC_BRANCHES," == *,"$TRAVIS_BRANCH",* ]] || travis_terminate 0'
- install.sh --deploy
@ -43,8 +35,8 @@ jobs:
# Release deployment stage
- stage: deploy-release
if: tag IS present
php: 5.3
dist: precise
php: 7.0
dist: xenial
install:
- install.sh --deploy
script:

@ -16,6 +16,14 @@ Pico Changelog
`PicoDeprecated`'s changelog. Please note that BC-breaking changes
are only possible with a new major version.
### Version 3.0.0-alpha.2
Released: 2020-12-24
```
* [Changed] Merge all fixes of Pico v2.1.2 to v2.1.4
* [Fixed] #575: Update Symfony YAML v3.4 to support PHP 8.0+
```
### Version 2.1.4
Released: 2020-08-29
@ -40,6 +48,17 @@ Released: 2020-04-10
* [Fixed] Fix DummyPlugin declaring API version 3
```
### Version 3.0.0-alpha.1
Released: 2020-03-29
```
* [New] Kick-start development of Pico 3.0
* [Changed] Require PHP 7.0.8+
* [Changed] Update dependencies: Twig 2.12, Symfony YAML 3.4, Parsedown 1.7.4
and Parsedown Extra 0.8.1; this is just an interim step, we'll
update to Twig 3.0+ and Symfony YAML 5.0+ later
```
### Version 2.1.1
Released: 2019-12-31

@ -31,12 +31,12 @@
"source": "https://github.com/picocms/Pico"
},
"require": {
"php": ">=5.3.6",
"php": ">=7.0.8",
"ext-mbstring": "*",
"twig/twig": "^1.36",
"symfony/yaml" : "^2.8",
"erusev/parsedown": "1.8.0-beta-7",
"erusev/parsedown-extra": "0.8.0-beta-1"
"twig/twig": "^2.12",
"symfony/yaml" : "^3.4",
"erusev/parsedown": "1.7.4",
"erusev/parsedown-extra": "0.8.1"
},
"suggest": {
"picocms/pico-theme": "Pico requires a theme to actually display the contents of your website. This is Pico's official default theme.",

@ -11,8 +11,8 @@
*/
// check PHP platform requirements
if (PHP_VERSION_ID < 50306) {
die('Pico requires PHP 5.3.6 or above to run');
if (PHP_VERSION_ID < 70008) {
die('Pico requires PHP 7.0.8 or above to run');
}
if (!extension_loaded('dom')) {
die("Pico requires the PHP extension 'dom' to run");

@ -21,7 +21,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.1
* @version 3.0
*/
abstract class AbstractPicoPlugin implements PicoPluginInterface
{

@ -40,7 +40,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.1
* @version 3.0
*/
class Pico
{
@ -49,14 +49,14 @@ class Pico
*
* @var string
*/
const VERSION = '2.1.4';
const VERSION = '3.0.0-alpha.2';
/**
* Pico version ID
*
* @var int
*/
const VERSION_ID = 20104;
const VERSION_ID = 30000;
/**
* Pico API version

@ -26,7 +26,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.1
* @version 3.0
*/
interface PicoPluginInterface
{

@ -16,7 +16,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.1
* @version 3.0
*/
class PicoTwigExtension extends Twig_Extension
{

@ -19,7 +19,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.1
* @version 3.0
*/
class DummyPlugin extends AbstractPicoPlugin
{

Loading…
Cancel
Save