Latest Product Updates and Feature Enhancements on Grav
Grav 2.0: Twig in Content and the New Security Sandbox
Grav 2.0 introduces significant security enhancements by sandboxing Twig in content, preventing server-side template injection risks. This update requires administrators to explicitly enable Twig, en...suring safer content management. The new version emphasizes a clear separation between content and code, enhancing security for multi-author and client sites.
Grav has introduced a first-party REST API as part of its 2.0 release, enabling diverse management capabilities beyond its traditional admin interface. This API supports JSON over HTTP, allowing inte...gration with AI, scripts, and various client applications. It enhances Grav's functionality as a headless CMS, facilitating site management automation and content management through a unified interface.
Grav has released version 2.0, enhancing its Markdown capabilities with fuller GitHub Flavored Markdown support, opt-in table features, and a faster engine. These updates improve content rendering an...d performance without disrupting existing content.
Grav 2.0 Developer Guide: API Integration for Plugins
Grav has released a comprehensive developer guide for integrating custom API endpoints in plugins for Grav 2.0. The guide details how to use the Grav API plugin to create authenticated, permission-ch...ecked endpoints, enabling plugins to expose data and operations to external tools. It emphasizes using the AbstractApiController for consistent response handling and outlines steps for route registration and controller creation.
Grav introduces a new compatibility flag for plugins and themes in Grav 2.0. This flag, added to the blueprints.yaml file, indicates which Grav versions a plugin supports. It aids in migration, insta...llation, and version filtering on the Grav website. Developers must test their plugins on Grav 2.0 and update their blueprints to ensure compatibility and smooth user experience.
Grav has released version 2.0, focusing on plugin compatibility and developer guidance. The update maintains existing plugin architecture while introducing PHP 8.3+ support and updated core libraries... like Symfony and Twig. A new compatibility flag system helps manage plugin transitions. Developers are advised to test plugins, update deprecated code, and integrate with Admin Next if needed. The release includes a roadmap for further developer resources.
Grav has released the 2.0 Release Candidate, marking a significant milestone in its development. This version introduces a new admin interface, Admin2, built on a REST API, and a refreshed Quark 2 th...eme. It supports modern PHP versions and offers an import-based migration path from previous versions. The community is encouraged to test and provide feedback to ensure a smooth general availability release.
Grav has launched a new in-house licensing and purchase system for its Premium products, replacing the previous Gumroad integration. This system offers centralized license management, a seamless purc...hase flow, and easy license recovery. Users must update their Admin plugin to access the new purchase links, while existing Gumroad licenses remain valid.