Cookie Management: Enjoy improved cookie handling with the ability to distinguish between unspecified SameSite and SameSite=None, enhancing your control over cookie behavior.
React Native Support: Use tough-cookie seamlessly in React Native applications with added support, making it easier to manage cookies in your mobile projects.
Improvements
Domain Matching: Experience more reliable domain matching with an updated routine that correctly identifies top-level domains, ensuring your cookies are set accurately.
Memory Management: Benefit from improved memory management as methods for MemoryCookieStore are now properly defined on the prototype, enhancing performance and reliability.
Fixes
Fix the issue where cookies with a domain of localhost cannot be set, allowing for smoother development and testing on local environments.
Resolve the problem of incorrect behavior in permuteDomain when handling domains with trailing dots, ensuring accurate domain processing.
Fix the parsing of empty cookie values to prevent errors when sites send blank cookies, improving overall cookie handling.
Others
Update the CODEOWNERS file to ensure compliance with export control regulations, enhancing project governance.