github nitrojs/nitro v0.6.0

latest releases: v2.10.4, v2.10.3, v2.10.2...
2 years ago

⚠️ Breaking Changes

  • H3 updated to to 0.8x [Release Notes]
  • Experimental routes is renamed to routeRules (#593)

🚀 Enhancements

  • Support redirect, headers, and cors route rules (#538)
  • netlify: Incremental static regeneration + swr (#540)
  • Add debugger option to debug hooks (#577)
  • Allow matching multiple route rules (#582)
  • Normalize route options and shortcuts (#583)
  • cleavr: Add cleavr preset (#523)
  • cleavr: Auto detect preset (d5bbdeb)
  • Allow disabling public dir generation using noPublicDir (00a304a)
  • cache: Mock res.end, res.write and res.writeHead (673fe8e)
  • cache: Support headersOnly cache mode (4e6dda1)
  • Allow cache: false route rule to override cache options (91f8300)

🩹 Fixes

  • Fully resolve internal paths for autoimports (#543)
  • Retry writing traced files if there are conflicts (#537)
  • externals: Rewrite traced file paths to latest semver-minor version (#578)
  • Workaround rollup issue (b884d0c)
  • Handle output dirs set to empty string (#584)
  • azure: Raw body no longer returns parsed json (#589)
  • Default workspaceDir to rootDir (#594)
  • renderer: Directly return body to allow caching (859a984)
  • cache: Only spy on end/write for string chunks (bd0b1ed)
  • error: Do not assign default statusMessage for errors (cbe0e91)
  • cache: Use lowercase headers (9eb5769)
  • cache: Abort cache handler for error status codes (ba21751)
  • cache: Skip error status codes by invalidating cache (4fd164f)
  • deps: Ensure radix3 version is expected (245ed70)
  • cache: Invalidate entries with undefined body (e9285da)
  • app: Only apply cache rules ro routes (not middleware) (4603279)

💅 Refactors

  • ⚠️ Rename routeOptions to routeRules (#593)

📖 Documentation

  • Add quotes to string (#547)
  • Fix link to cloudflare-pages preset (#564)
  • Add note about cache options for route options (221c747)

🏡 Chore

  • ci: Bump edge version acording to changelog (8b7740e)

🤖 CI

  • Fetch tags for proper version bump (6d4b416)

❤️ Contributors

  • Anish Ghimire
  • Christopher Lis
  • Daniel Roe
  • Louis Haftmann
  • Pooya Parsa
  • Tobias Diez
  • Wolfgang Ziegler

Don't miss a new nitro release

NewReleases is sending notifications on new releases.