Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.x dev #1676

Merged
merged 201 commits into from Dec 8, 2023
Merged

8.x dev #1676

merged 201 commits into from Dec 8, 2023

Conversation

ArnaudLigny
Copy link
Member

@ArnaudLigny ArnaudLigny commented Apr 19, 2023

This is a major branch release: its goal is to start the road to PHP 8 🐘

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 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 build and serve 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

@ArnaudLigny ArnaudLigny marked this pull request as ready for review December 6, 2023 21:54
@ArnaudLigny ArnaudLigny merged commit 02c7e87 into master Dec 8, 2023
20 checks passed
@ArnaudLigny ArnaudLigny deleted the 8.x-dev branch December 8, 2023 14:37
@ArnaudLigny ArnaudLigny restored the 8.x-dev branch December 8, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant