Repository navigation
Breaking changes
- Content pages now answer only
GETandHEAD; other methods get405 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 newrouting.content_methodssetting, or move the handler to a plugin route ?paged=Non 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_tokenmust now be at least 24 characters. Sites with a shorter token lose previews after updating until they set a longer one;./ava lintand./ava previewreport 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_methodsto 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 statusshows 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/commonmarkandsymfony/yamlto 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.