Cecil logo

News

December 8, 2023

Cecil 8.0.0 released

Enhancements

  • Extends Cecil with output post processors
  • Customized Generator, Postprocessor and Extension class available for themes too
  • Better configuration options hierarchy
  • Access to raw site configuration from a template with config.xxxx
  • Configuration validation enhanced
  • Logs enhanced
  • Asset find file enhanced

Breaking changes

  • Dropping support for PHP 7.x
  • No more legacy support of the content directory: use pages instead

Configuration options

frontmatter:
body:
defaultpages:
virtualpages:
generators:
translations:
extensions:
postprocess:

have been changed for:

pages:
  frontmatter:
  body:
  default:
  virtual:
  generators:
layouts:
  translations:
  extensions:
optimize:

Commands

  • The and command option --postprocess have been changed for --optimize

Templates

  • pagination.html.twig removed (use paginator.html.twig instead)
  • googleanalytics.js.twig removed
  • All deprecated functions and filters have been removed

Fix

  • Fix render default timezone
  • Fix localizeddate fallback filter
  • Fix asset() bundle
  • Fix HTML asset filter with WebP
  • Fix remote asset fallback

Performance

  • Collection item access time enhanced
  • post processors class autoloader moved
  • jsonld.js.twig performances fixed

Docs

Miscs

  • Dependencies updated

Tests

  • Test fixtures enhanced