github cloudflare/workers-sdk @cloudflare/workers-shared@0.19.0

Minor Changes

  • #12467 7036310 Thanks @petebacondarwin! - Add support for inline comments in _redirects files

    You can now add inline comments to redirect rules using the # character:

    /old-page /new-page 301 # Moved during site redesign
    /blog/* /articles/:splat # Blog URL migration
    

    This improves the maintainability of _redirects files by allowing documentation of complex redirect rules directly alongside the rules themselves. Full-line comments (lines starting with #) continue to work as before. URL fragments (e.g., /page#section) are preserved correctly.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.