mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? - Added additional debug logging for `customRoutes`, `publicFolderItems`, and `nextStaticFolderItems` in the filesystem router utils - Improved the dynamic route interpolation test to check all script sources instead of just the first matching one - Fixed the Turbopack build test manifest to correctly mark the dynamic route interpolation test as passing - Updated the `to_string()` implementation in `ServerFileSystem` to use a hyphenated format so that it behaves the same between urlencoded and urldecoded. ### Why? This PR improves debugging capabilities for the filesystem router and fixes the dynamic route interpolation test to be more robust by checking all script sources rather than just the first one that matches certain criteria. The test now properly verifies that both encoded and decoded paths work correctly. ### How? - Added debug statements for additional route-related variables - Refactored the test to collect all script sources and verify each one works with both encoded and decoded paths - Updated the Turbopack test manifest to reflect the fixed test - Changed the server filesystem string representation to use hyphens instead of spaces