JSON:API Views 8.x-1.2 Improves Route Performance and Cache Handling

Five Bug Fixes Across Routing, Caching, Preview URLs, and OpenAPI
Light blue Discover Drupal graphic announcing the JSON API Views release with an illustrated browser showing a Drupal Views preview and generated endpoint. Text reads "DISCOVER DRUPAL" "JSON API Views 8.x 1.2 Released" "Faster Route Building and Cache Handling Fixes" "Update preview" "Title" "Recipes" "Path" "/en/recipes" "JSON API Views" "/en/jsonapi/views/recipes/page_1" "Follow us on" "https://www.thedroptimes.com/" and "THE DROP TIMES".

Version 8.x-1.2 of the JSON:API Views module fixes route-building performance, cache metadata handling, preview URL parameters, numeric bundle routing, and OpenAPI resource discovery. In a blog post published 12 August 2026, Stuart Clark, maintainer of JSON:API Views, described the release as his first on the module's 1.x line since taking over maintenance. Drupal.org records the stable release on 9 August 2026 and compatibility with Drupal 8.8 and later. The project page credits Drupal.org user pixelwhip as the original creator.

JSON:API Views exposes Drupal Views displays through JSON:API, allowing decoupled applications to use existing filtering, sorting, pagination, and access logic instead of maintaining separate listing resources. Exposed displays are available under /jsonapi/views/{view_id}/{display_id}, and the Views preview panel can show the corresponding endpoint with arguments and exposed filter values. Clark also uses the module as the Drupal-side component behind DruxtViews, which connects Views to the Nuxt-based Druxt framework.

Among the technical changes, route building now caches resource type names per entity type; Clark says the case reported in the issue reduced calls to ResourceTypeRepository::get() from 637 to 13. The release also propagates Views cache metadata to JSON:API responses, uses configured exposed-filter identifiers in preview URLs, casts numeric bundle IDs to strings during route resource-type lookup, and supplies the real resource type for single-bundle Views used in OpenAPI discovery. Drupal.org's changelog lists five bug fixes and one maintenance task among six resolved issues; Clark says planned work includes tighter route-level access control, further performance work for sites with more than 100 exposed Views, and a future 2.0.x branch that switches exposure from opt-out to opt-in.

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Upcoming Events

Latest Opportunities