Grav: Roadmap for Grav 1.6

Created on 12 Jun 2018  路  8Comments  路  Source: getgrav/grav

This issue is a shortcut to Grav 1.6 features and progress.

Following features and changes have currently been planned for Grav 1.6.0. The list is not definitive and may change based on changing priorities and ongoing progress:

  • [x] Requirements updated to PHP 7.1.3
  • [x] Symfony 4.1 components
  • [x] Doctrine Collections 1.5
  • [x] Doctrine Cache 1.8
  • [x] Task scheduler / CRON like functionality
  • [x] Improved Backup functionality - more control/options
  • [x] Namespace doctrine Cache and add prune old cache feature
  • [x] New Flex Object classes
  • [x] Asset manager rewrite too improve reliability and features set
  • [ ] Parsedown 1.8 compatibility (#1972)
  • [ ] Investigate better process handling (replace onShutdown which is not reliable on some setups)
discussion enhancement

Most helpful comment

It's worth noting that PHP 7.1 hasn't really landed in any of the Linux LTS distributions aside from Ubuntu Bionic, which is still fairly new. Both Debian Stretch and Ubuntu Xenial ship with PHP 7.0, and don't yet have PHP 7.1 available as an option, either as separate packages or via backports. This might change before December, but they might also elect to backport security fixes instead.

Dotdeb also seems to cap out at 7.0, at the moment.

RHEL/CentOS has support for newer PHP versions via SCL, but that too depends on your hosting provider actually supporting it, instead of simply depending on the distribution packages.

All 8 comments

It's worth noting that PHP 7.1 hasn't really landed in any of the Linux LTS distributions aside from Ubuntu Bionic, which is still fairly new. Both Debian Stretch and Ubuntu Xenial ship with PHP 7.0, and don't yet have PHP 7.1 available as an option, either as separate packages or via backports. This might change before December, but they might also elect to backport security fixes instead.

Dotdeb also seems to cap out at 7.0, at the moment.

RHEL/CentOS has support for newer PHP versions via SCL, but that too depends on your hosting provider actually supporting it, instead of simply depending on the distribution packages.

Add "Improve Backup functionality" .... Along with "Scheduler" integration, I would like to have some config options to provide more control.

FYI: There is a progress update in my first comment.

@rhukster From a clean installation of 1.6-branch from Git, as well as Admin v1.8.9, here are a few notes from testing on Windows in /admin/config:

  • Backups:

    • Admin:

    • Needs translations for BACKUPS_HISTORY, BACKUPS_PURGE_CONFIG, BACKUPS_PROFILES

    • The first field has no use? (image 1)

    • Backup-button on Dashboards yells "Class 'GravCommonBackupZipBackup' not found"

  • Scheduler:

    • Admin:

    • Needs translations for SCHEDULER_SETUP, SCHEDULER_STATUS, SCHEDULER_JOBS

    • First and second fields are empty (image 2)

    • "Run Scheduled Job": Needs a description, linking to https://en.wikipedia.org/wiki/Cron

    • CLI:

    • bin/grav scheduler --install yields (crontab -l; echo "* * * * * cd C:/Caddy/Grav;C:\Caddy\php\php.exe bin/grav scheduler 1>> /dev/null 2>&1") | crontab - on Windows, it should just return "Create a scheduled task, see learn.getgrav.org/advanced/scheduler" or something to that effect

    • bin/grav scheduler -d, with no actually run jobs, defaults to 0 - yielding "1970-01-01 01:00" for "Last Run"

Image 1:
image

Image 2:
image

@OleVik You need the 1.9 branch of Admin to go with 1.6 of Grav, the updates are in there.

Is 1.6 compatible with plugins/themes created on 1.5 (or earlier) ?

Yes, everything should be compatible.

Yes, Grav 1.6 should be mostly compatible with Grav 1.5. There are some edge cases, though, which will not work in the new version because of some architectural changes or fixes that have been made, but those should be rare and it was worth of risk to improve the code.

Of course, there may also be bugs, so please test the RC release(s) with your site and report of any problems. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mlueck88 picture mlueck88  路  18Comments

balajmarius picture balajmarius  路  17Comments

fabrizioT picture fabrizioT  路  26Comments

escopecz picture escopecz  路  17Comments

fredrikekelund picture fredrikekelund  路  17Comments