← Back to Changelog

v2.2.0

Release

[email protected] — 2026-07-08

Google Tag Manager environment support, plus a nav-highlight fix and release/deploy CI fixes.

Features

  • add support for Google Tag Manager environments (70a3fac, #451)

    // docula.config.ts — target a specific GTM environment (staging, QA, …)
    export const options: Partial<DoculaOptions> = {
      googleTagManager: 'GTM-XXXXXX',
      googleTagManagerAuth: 'abc123', // → gtm_auth
      googleTagManagerEnv: 'env-3',   // → gtm_preview
    };
    

Bug Fixes

  • documentation nav link staying highlighted when embedded under a base path (2952de4, #450)

Internal

  • ci: pass Cloudflare accountId to wrangler pages deploy (310aef9, #449)
  • ci: give release binaries unique asset filenames (ea462c7, #448)
  • ci: approve sharp and workerd build scripts for wrangler deploy (dc08718, #447)

Contributors

  • @jaredwray (5)
  • @Terryda (3)

Full List of Changes

  • Fix deploy: approve sharp and workerd build scripts for wrangler by @jaredwray in #447
  • fix(ci): give release binaries unique asset filenames by @jaredwray in #448
  • fix: pass Cloudflare accountId to wrangler pages deploy by @jaredwray in #449
  • Fix Documentation nav link staying highlighted when embedded under a base path by @jaredwray in #450
  • feat: add support for google tag manager environments by @Terryda in #451 (first-time contributor)

Full diff: https://github.com/jaredwray/docula/compare/v2.1.0...v2.2.0