static-middleware@0.3.0
Breaking Changes📦 remix
⚠ 1 breaking✨ 1 features🔧 3 symbols
Summary
This release introduces directory listing support via the listFiles option and migrates response handling to the @remix-run/response package.
⚠️ Breaking Changes
- File and HTML responses now use @remix-run/response instead of @remix-run/fetch-router/response-helpers. Users must now install @remix-run/response as a peer dependency.
Migration Steps
- Install @remix-run/response as a peer dependency in your project.
- Update any custom response handling that relied on @remix-run/fetch-router/response-helpers.
✨ New Features
- Added listFiles option to staticFiles to enable directory listing when a directory is requested.
🔧 Affected Symbols
staticFiles@remix-run/response@remix-run/fetch-router/response-helpers