Version 6.0.1
- Migrated the documentation to the GitHub wiki.
Version 6.0.0
- Breaking change: renamed the
CookieStore.remove()
method todelete()
. - Breaking change: removed the
putIfAbsent()
andputObjectIfAbsent()
methods from theCookieStore
class.
Version 5.2.0
- Ported the source code to TypeScript.
Version 5.1.0
- Use generics for the signature of the
getObject()
,putObjectIfAbsent()
andsetObject()
methods of theCookieStore
class.
Version 5.0.1
- Fixed the TypeScript typings.
Version 5.0.0
- Breaking change: removed the
defaultValue
parameter from the getter methods. - Breaking change: removed the
fromJson()
,fromString()
andtoJSON()
methods from theCookieOptions
class. - Breaking change: renamed the
Cookies
class toCookieStore
. - Breaking change: replaced the
SimpleChange
class by theCookieEvent
one. - Added support for key prefix.
- Added support for the
samesite
cookie attribute. - Added the
CookieStore.all
static property. - Added the
CookieStore.onChange()
instance method. - Ported the source code to JavaScript.
- Restored support for GitHub Packages.
Version 4.5.0
- Dropped support for GitHub Packages.
- Raised the Node.js constraint.
- Updated the documentation.
- Updated the package dependencies.
Version 4.4.0
- Updated the package dependencies.
Version 4.3.0
- Added the
putIfAbsent()
andputObjectIfAbsent()
methods to theCookies
class. - Updated the package dependencies.
Version 4.2.0
- Replaced
babel-minify
byterser
for minification.
Version 4.1.0
- Added the
CookieOptions.fromString()
method. - Improved the TypeScript typings.
- Removed the restriction on allowed cookie names.
Version 4.0.1
- Fixed the issue #4: the
CookieOptions.maxAge
property is ignored by the constructor.
Version 4.0.0
- Breaking change: the
Cookies
service is now anEventTarget
instead of anEventEmitter
. - Added the
CookieOptions.maxAge
property. - Raised the Node.js constraint.
- Replaced the TSLint static analyzer by ESLint.
- Updated the package dependencies.
Version 3.3.0
- Modified the package layout.
- Updated the package dependencies.
Version 3.2.0
- Replaced the Webpack bundler by Rollup and Babel Minify.
- Updated the package dependencies.
Version 3.1.0
- Updated the package dependencies.
- Updated the URL of the Git repository.
Version 3.0.0
- Breaking change: ported the CommonJS modules to ES2015 format.
- Added support for a redistributable bundle.
Version 2.0.0
- Breaking change: changed the signature of the
CookieOptions
constructor. - Breaking change: ported the source code to TypeScript.
- Added the
CookieOptions.fromJson()
andSimpleChange.fromJson()
static methods. - Replaced the ESDoc documentation generator by TypeDoc.
- Replaced the ESLint static analyzer by TSLint.
- Updated the package dependencies.
Version 1.0.0
- Breaking change: changed the signature of the
CookieOptions
constructor. - Breaking change: dropped the support of CommonJS modules.
- Breaking change: raised the required Node.js version.
- Breaking change: replaced the
ChangeEvent
class by theSimpleChange
one. - Added the
Cookies.toJSON()
method. - Added a user guide based on MkDocs.
- Added new unit tests.
- Replaced the
events
module byeventemitter3
. - Replaced the virtual DOM used in unit tests by Karma.
- Updated the build system to Gulp version 4.
- Updated the package dependencies.
- Initial release.