We are happy to announce the Guide Templating API v2. Improving rendering of Guide themes.
What is the Templating API?
To learn more about the Guide Themes and templating we recommend you take a look at the article "About Guide templating", "Customizing your Help Center theme" and the Help Center Templates developer documentation.
What does this mean?
The templating API v.2 offers a performance, security and accessibility-optimized templating API version for theme developers, that we will continue to extend and improve.
Besides those improvements the Templating API v2 enables Zendesk to iterate more quickly in order to improve the Guide theming experience and makes it easier for developers to keep up with changes and feature releases coming from Zendesk.
Some of the biggest changes is that we have optimized the way we are loading some of our out-of-the-box libraries and we have deprecated some libraries that are no longer necessary, in order to decrease load times and improve reliability. Additionally, we have changed some of the default UI to make it accessible when using assistive technologies.
How do I use the templating API v2 for my theme?
If you are a theme developer, you can set your theme to use the Templating API v2 by designating it in the themes manifest file. To understand what changes you need to make to your theme to use the Themplating API v2 check out "Upgrading from Templating API v1".
You can see the Templating API a theme is using by going to the theme code editor where it is displayed above the theme files, or export your theme and you'll see it in the themes manifest file as "API".
We have not yet deprecated v1 of the Templating API, however most new theming features will be released for the Templating API v2 only going forward. We will eventually deprecate v1.
Where can I see a theme using the templating API v2?
We have just released the Copenhagen theme v2 that is the first theme to use Templating API v2. You can try it out by fetching it from the themes page in Guide or by forking or fetching it from the open source Copenhagen theme Github repository.