Changelog

oven-sh/bun · · 1 commit

Bun.CSRF gets first-class docs

Bun adds full documentation for its CSRF token API and surfaces it in the docs nav and API overview.

Bun.CSRF finally gets documented (robobun31e0c9c)

Bun now has a dedicated docs page for Bun.CSRF.generate() and Bun.CSRF.verify(), with examples and parameter tables covering secrets, encoding, algorithms, and expiration. It also shows up in the Utilities sidebar and the runtime API overview, making the existing API discoverable.

Other misc changes

  • Docs navigation updated to include CSRF
  • Bun APIs overview table updated for CSRF Protection