> ## Documentation Index
> Fetch the complete documentation index at: https://bunnynet-cb9733c2-fix-dd-mc-2035-volume-file-permissions.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> Latest updates and improvements to Edge Scripting.

<Update label="2026-08-01" tags={["New"]}>
  ## Connect a Bunny Database from the Edge Scripting creation flow

  You can now connect a Bunny Database directly from the Edge Scripting creation flow. Create a new database or pick an existing one, and we'll automatically add the connection credentials (`BUNNY_DATABASE_URL` and `BUNNY_DATABASE_AUTH_TOKEN`) as script secrets. There's also a new Database CRUD API script template available to get you started.

  <img src="https://mintcdn.com/bunnynet-cb9733c2-fix-dd-mc-2035-volume-file-permissions/HlA2dv7srTWtiNVQ/images/changelog/edge-scripting-add-database.png?fit=max&auto=format&n=HlA2dv7srTWtiNVQ&q=85&s=9b46da15e9cc261154b5ecb2a2d9a4fc" alt="Add Database" width="1336" height="606" data-path="images/changelog/edge-scripting-add-database.png" />
</Update>

<Update label="2026-07-28" tags={["New"]}>
  ## Before cache execution (Preview)

  Edge Scripts can now run **before** the CDN cache layer, giving you full control over every request instead of only executing on cache misses. Enable it per Pull Zone under **General** > **Origin** > **Run script before cache**. Middleware scripts gain two new hooks — `onClientRequest` (intercept requests before the cache lookup) and `onClientResponse` (modify responses before they reach the client, including cached ones). Standalone scripts also support before cache execution, running on every request and deciding how responses are cached. [Learn more](/scripting/before-cache)
</Update>

<Update label="2026-07-10" tags={["New"]}>
  ## Symbolic links, timestamps, and permissions support

  The Node.js file system module now supports symbolic links (`symlink()`, `readlink()`, `lstat()`), returns correct file timestamps (`atime`, `mtime`, `ctime`, `birthtime`), and enforces owner-level file and directory permissions (`chmod()`, `access()`, `Stats.mode`). [Learn more](/scripting/node-fs)
</Update>

<Update label="2026-07-01" tags={["Improvement"]}>
  ## Cache API documentation reorganized into dedicated section

  The Cache API documentation has been restructured from a single page into a dedicated multi-page section with separate pages for the [API overview and limitations](/scripting/cache), [managing default and named caches](/scripting/cache/managing-caches), [reading and writing cache entries](/scripting/cache/reading-writing) (`match`, `put`, `delete`), and [end-to-end examples](/scripting/cache/examples) including a new on-demand refresh and purge recipe. The [`waitUntil` runtime reference](/scripting/runtime#waituntil) has also been expanded with a full API signature and a cache-population example.
</Update>

<Update label="2026-06-25" tags={["New"]}>
  ## Runtime API and `waitUntil`

  New Runtime API reference documenting the `waitUntil` function, which extends script isolate lifetime after a request finishes — ideal for keeping WebSocket connections alive and running background work. The WebSocket guide now includes a `waitUntil` usage example. [Learn more](/scripting/runtime)
</Update>

<Update label="2026-03-26" tags={["New"]}>
  ## Node.js file system API

  A Node.js-compatible file system API is now available in Edge Scripts, allowing you to read and write files directly at the edge. [Learn more](/scripting/node-fs)
</Update>

<Update label="2026-02-11" tags={["New"]}>
  ## Node.js file system API

  A Node.js-compatible file system API is now available in Edge Scripts, allowing you to read and write files directly at the edge. [Learn more](/scripting/node-fs)
</Update>
