Body Parsing: Users can now accept a function for the type option, providing greater flexibility in how content types are handled. This enhancement allows for more dynamic parsing based on user-defined criteria.
Body Parsing: The middleware now uses the content-type to parse Content-Type headers, improving accuracy in handling incoming requests.
Improvements
Dependencies: The library updates several dependencies, including iconv-lite and raw-body, ensuring better performance and security.
Debugging: New debug messages are added to help users troubleshoot and understand the middleware's behavior more effectively.
Fixes
Fix issue with type option handling by allowing a function to be passed, resolving user concerns about flexibility in content type parsing.
Others
Update documentation to include a table of contents for parsers, making it easier for users to navigate and find relevant information.
Restructure documentation for clarity and better organization, enhancing the overall user experience.