Skip to content

Releases: veliovgroup/meteor-cookies

v2.9.0

26 Feb 09:35
920ebdc
Compare
Choose a tag to compare

☄️ Packosphere @2.9.0

What's new?

  • 🤝 Compatibility with meteor@3
  • 🤓 TypeScript definitions
  • 🤓 100% JSDoc coverage
  • 📔 Enhanced documentation with more examples
  • 👨‍🔬 Refactored and improved test-suite, covering 99.9% of codebase and usage cases
  • ✨ Support for latest cookies options (partitioned, priority)
  • 👨‍💻 Replaced deprecated Browser and Node.js methods and functions
  • 👨‍💻 Optimized codebase for performance

Read detailed article about this release

New features:

  • .sendAsync() Client method
  • .destroy() Server method
  • .set(key, value, opts)opts now support partitioned and priority attributes in the Set-Cookie header
  • CookiesCore class for direct cookies management without server-features

Major Changes:

  • ⚠️ Now .send() and .sendAsync() Client methods will sync newly received (or removed) cookies from server (it was broken prior to this release)
  • ⚠️ .middleware() Server methods will log a warning if middleware is already registered. All handler and onCookie methods will still trigger as expected; What's changed — only one middleware is registered per all Cookie instances
  • 👨‍💻 No other major changes to API that may affect current usage

Changes:

  • 👨‍💻 Support multiple onCookie hooks and handler callbacks registered via multiple new Cookies()
  • 👨‍💻onCookie hooks and handler callbacks now can be asynchronous and are awaited in the middleware pipeline
  • ✨ Now both Cookies and CookiesCore accept opts.name option when creating new instances that sets .NAME property
  • ✨ Instances now expose .NAME and .id properties on Cookies and CookiesCore instances for easier debugging and identification; and used in the default debug messages

Dependencies:

Compare with previous release: 2.8.1...2.9.0

v2.8.1

16 Mar 19:02
a32e660
Compare
Choose a tag to compare

☄️ Packosphere @2.8.1

Changes:

  • 🚀 Support for the latest beta of meteor@3, thanks to @vparpoil

Dependencies:

v2.8.0

09 Feb 22:53
b9c283a
Compare
Choose a tag to compare

☄️ Packosphere @2.8.0

Changes:

Dependencies:

v2.7.2

30 May 21:11
1a5b5c6
Compare
Choose a tag to compare

v2.7.1

30 May 21:00
517de57
Compare
Choose a tag to compare

This is maintenance release

  • 👨‍💻 Minor codebase changes
  • 👨‍🔬 Improve test-suite
  • 🤝 Compatibility with latest [email protected]

v2.7.0

26 Jan 23:07
7de6d6a
Compare
Choose a tag to compare
  • 🤝 Compatibility with [email protected];
  • 👷 Drop deprecated http package in favor of fetch;
  • 👨‍🔬 Minor tests update for compatibility.

v2.6.1

07 Oct 12:42
c713b49
Compare
Choose a tag to compare
  • 🤝Compatibility with [email protected];
  • 🐞 Fix: #17 — set multiple cookies on the server; Thanks to @Ajaay for submitting this issue;
  • 📋 Minor documentation enhancements;
  • 📦 Internal Meteor dependencies upgrade.

v2.6.0

02 Mar 02:46
9553460
Compare
Choose a tag to compare
  • 🤝 Compatibility with [email protected].*;
  • 📋 Documentation update regarding SameSite option;
  • 👨‍🔬 Test-suite minor update;
  • 📦 Internal Meteor dependencies update;

Changed:

  • SameSite option now accepts String (and Boolean for backward compatibility) to comply with new guidelines. Suggested values: None, Strict, and Lax.

v2.5.0

07 Nov 00:57
b151904
Compare
Choose a tag to compare

This release mainly focused on Cordova usage improvements

Added:

  • opts.allowQueryStringCookies {Boolean} - Allow passing Cookies in a query string (in URL). Primary should be used only in Cordova environment. Note: this option will be used only on Cordova;
  • opts.allowedCordovaOrigins {Regex|Boolean} - [Server] Allow setting Cookies from that specific origin which in Meteor/Cordova is localhost:12XXX. Set to default ^http:\/\/localhost:12[0-9]{3}$ if set to true. Default: false;
  • 📋 Explaining Cordova usage in a FAQ documentation section.

v2.4.1

29 Sep 16:21
722c07b
Compare
Choose a tag to compare
  • 📋 Minor documentation update — add FAQ section
  • 👨‍💻 Minor codebase enhancements
  • 👷‍♂️ This is regular maintenance release