Skip to content

Latest commit

 

History

History
100 lines (80 loc) · 5.57 KB

CHANGELOG.md

File metadata and controls

100 lines (80 loc) · 5.57 KB

Changelog

Version 6.0.1

Version 6.0.0

  • Breaking change: renamed the CookieStore.remove() method to delete().
  • Breaking change: removed the putIfAbsent() and putObjectIfAbsent() methods from the CookieStore class.

Version 5.2.0

Version 5.1.0

  • Use generics for the signature of the getObject(), putObjectIfAbsent() and setObject() methods of the CookieStore class.

Version 5.0.1

Version 5.0.0

  • Breaking change: removed the defaultValue parameter from the getter methods.
  • Breaking change: removed the fromJson(), fromString() and toJSON() methods from the CookieOptions class.
  • Breaking change: renamed the Cookies class to CookieStore.
  • Breaking change: replaced the SimpleChange class by the CookieEvent 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() and putObjectIfAbsent() methods to the Cookies class.
  • Updated the package dependencies.

Version 4.2.0

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 an EventTarget instead of an EventEmitter.
  • 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

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() and SimpleChange.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 the SimpleChange one.
  • Added the Cookies.toJSON() method.
  • Added a user guide based on MkDocs.
  • Added new unit tests.
  • Replaced the events module by eventemitter3.
  • Replaced the virtual DOM used in unit tests by Karma.
  • Updated the build system to Gulp version 4.
  • Updated the package dependencies.

Version 0.1.0

  • Initial release.