Skip to content

v26.11.0

Latest

Choose a tag to compare

@addyzone addyzone released this 28 Nov 21:13

Breaking changes

  • Content pages now answer only GET and HEAD; other methods get 405 Method Not Allowed. Hooks and plugin routes still receive every method. If a snippet or template handles a form posted to a content page, add 'POST' to the new routing.content_methods setting, or move the handler to a plugin route
  • ?paged=N on a page that doesn't paginate now redirects to the URL without it. Archives and taxonomy term pages are unaffected. A template that paginates its own query on any other page must wrap that query in $ava->paginated($query)
  • security.preview_token must now be at least 24 characters. Sites with a shorter token lose previews after updating until they set a longer one; ./ava lint and ./ava preview report it

New features

  • Add $ava->paginated($query) so a page template can declare that it paginates its own query. Each page of it is then cached, and a request past the last page returns 404
  • Add routing.content_methods to choose which HTTP methods content pages answer (default ['GET', 'HEAD'])
  • Add webpage_cache.max_entries (default 50,000) to cap how many pages the cache stores. At the limit, cached pages keep being served and new ones render uncached until the cache is cleared; ./ava status shows when it is full
  • Extend the rate limiting in nginx.conf.example. Existing nginx installs need to copy the new block by hand

Bug fixes & improvements

  • This release includes security and hardening fixes for URL handling, draft previews and the page cache. Updating is recommended
  • Update league/commonmark and symfony/yaml to their latest patch releases
  • Return 404 for out-of-range sitemap pages

Full Changelog: v26.9.2...v26.11.0


❗This project is under very early, active development and may contain bugs or security issues.
❗It is likely not ready for production websites.

You are responsible for reviewing, testing, and securing any deployment. Ava CMS is provided as free, open-source software without warranty (GNU General Public License), see LICENSE.