Skip to content

All versions since 1.6.2

1.6.2

Fixed

  • OG image text no longer unescapes twice. Entities were decoded in sequence with &amp; first, so a title containing the escaped text &amp;lt; came out as <. Decoding is now a single pass, and escaped text stays escaped.
  • The meta-refresh patterns used to rewrite legacy .html redirect pages are bounded. The previous patterns scanned the rest of the page from every start position, so time grew with the square of the page size: a 200 KB page of near-matches took over half a second. A tag longer than the bound is left alone, which skips hash forwarding for that page but keeps the redirect.

1.6.3

Fixed

  • A CDN blip fetching an OG font no longer fails the whole build. The fonts for OG images are fetched from the Northwestern CDN at build time, because their licenses do not allow shipping them inside the package. Each font was fetched once, with no timeout, and any failure threw: one refused connection took down a docs build, and with it the deploy behind it.

    Font requests now time out after 10 seconds and retry twice with exponential backoff. Network errors, timeouts, and 5xx responses are retried; a 4xx is a wrong URL rather than a blip, so it is reported immediately. A font that still will not load is logged as a warning and the image renders in whichever font did load, since an OG image in the wrong typeface beats a failed build. Only an empty font list still throws, because satori has nothing to draw text with. Results are cached per URL, failures included, so an outage costs one retry sequence for the build instead of one per page.

1.7.0

Added

  • Starlight 0.42 support. Starlight 0.42 no longer wraps the mobile menu button in a <starlight-menu-button> element, so the theme’s header styles stopped matching it and the button fell back to Starlight’s default white square on the purple header. The theme now also targets the button’s .sl-menu-button class, which restores the translucent button, its hover state, and its focus ring. The old selectors stay, so Starlight 0.32 through 0.41 are unaffected, and the @astrojs/starlight peer range is still >=0.32.0.

Changed

  • The @astrojs/markdown-remark dependency now requires ^7.3.1, which satisfies Starlight 0.42’s ^7.3.0 peer requirement.

1.8.0

Changed

  • The Northwestern palette and fonts now come from @nu-appdev/northwestern-tokens. The theme kept its own copy of the brand colors, semantic colors and font stacks in variables.css, and its own @font-face rules in typography.css. Both now import the tokens package, a new runtime dependency that installs with the theme. The --nu-* names and values are unchanged, and the tokens load into the same northwestern cascade layer, so styles that reference or override them keep working. The theme’s interface tokens, such as surfaces, links, focus rings and dark mode, stay in variables.css. The tokens package also defines --nu-border-radius (0); the theme already squares every corner.
  • Fonts load from Department Templates 4.0 as .woff2. Akkurat Pro and most Poppins weights still loaded the .woff files from the retired common.northwestern.edu/v8 template. The dept 4.0 files are the same font builds (Akkurat Pro 1.003, Poppins 4.004) with identical metrics, in a smaller format, so text renders the same. Two edge cases differ:
    • Poppins at weight 100 or 200 now renders Poppins Thin. v8 served ExtraLight at weight 100. The theme uses neither weight.
    • dept 4.0’s Poppins files cover Latin-1 and common punctuation only. Characters outside it, such as ł or ő, fall back to Akkurat Pro. H3 to H6 already used the dept 4.0 Poppins file and behaved this way; H2 and the site title now do too.

1.9.0 Latest

Added

  • Mermaid 12 support. Diagrams keep Mermaid’s flat classic look, the dagre layout and Mermaid 11 flowchart sizing, so existing diagrams render with the same layout and size. Set look, layout or flowchart in mermaidConfig to use Mermaid 12’s neo look and ELK layout instead. The mermaid peer range stays >=11.0.0.

Changed

  • The diagram palette uses Northwestern tokens throughout. Text on every filled shape now meets WCAG AA contrast in both modes, and dark-mode edges are brighter. Gantt, journey, kanban, timeline, mindmap, treemap, radar, packet, quadrant, architecture and C4 diagrams now use the brand palette instead of Mermaid’s defaults.
  • satori moves to ^0.63.2, which fixes GHSA-wx4j-mvgx-mqwp.

Fixed

  • On Mermaid 12, diagrams that the theme re-rendered fell back to Mermaid’s pastel redux-color theme, often with unreadable labels.
  • In dark mode, astro-mermaid’s first render could replace the theme’s render and leave a diagram in light-mode colors.
  • Unreadable text on Gantt task bars, journey sections, class diagram edge labels, and C4 and architecture labels, plus white backgrounds on xy, quadrant, packet and radar charts in dark mode.