cookie@0.5.0
Breaking Changes📦 remix
⚠ 1 breaking✨ 2 features🔧 2 symbols
Summary
Introduces a new `Cookie` class and updates the `createCookie` factory function to return instances of this class.
⚠️ Breaking Changes
- The `createCookie` function now returns an instance of the `Cookie` class instead of a plain object.
Migration Steps
- If your code relies on `createCookie` returning a plain object, ensure compatibility with the new `Cookie` class instance.
✨ New Features
- Added `Cookie` class to allow direct instantiation of cookie objects.
- Updated `createCookie` factory function to return `Cookie` class instances.
🔧 Affected Symbols
CookiecreateCookie