All Versions
Latest Version
Avg Release Cycle
110 days
Latest Release
3729 days ago

Changelog History

  • v1.4.1 Changes

    April 27, 2014

    ๐Ÿš€ This is the last version on this repository. To see all the versions, check the new repository.

    ๐Ÿ‘€ For more information, see this comment.

  • v1.4.0 Changes

    October 05, 2013
    • ๐Ÿ‘Œ Support for AMD.

    • โœ‚ Removed deprecated method $.cookie('name', null) for deleting a cookie, use $.removeCookie('name').

    • $.cookie('name') now returns undefined in case such cookie does not exist (was null). Because the return value is still falsy, testing for existence of a cookie like if ( $.cookie('foo') ) keeps working without change.

    • ๐Ÿ“ฆ Renamed bower package definition (component.json -> bower.json) for usage with up-to-date bower.

    • ๐Ÿ‘ป Badly encoded cookies no longer throw exception upon reading but do return undefined (similar to how we handle JSON parse errors with json = true).

    • โž• Added conversion function as optional last argument for reading, so that values can be changed to a different representation easily on the fly. Useful for parsing numbers for instance:

      $.cookie('foo', '42');
      $.cookie('foo', Number); // => 42
  • v1.3.1 Changes

    January 25, 2013
    • ๐Ÿ›  Fixed issue where it was no longer possible to check for an arbitrary cookie, while json is set to true, there was a SyntaxError thrown from JSON.parse.

    • ๐Ÿ›  Fixed issue where RFC 2068 decoded cookies were not properly read.

  • v1.3.0 Changes

    January 24, 2013
    • ๐Ÿ”ง Configuration options: raw, json. Replaces raw option, becomes config:
      $.cookie.raw = true; // bypass encoding/decoding the cookie value
      $.cookie.json = true; // automatically JSON stringify/parse value

    Thus the default options now cleanly contain cookie attributes only.

    • ๐Ÿš€ Removing licensing under GPL Version 2, the plugin is now released under MIT License only (keeping it simple and following the jQuery library itself here).

    • ๐Ÿ›  Bugfix: Properly handle RFC 2068 quoted cookie values.

    • โž• Added component.json for bower.

    • โž• Added jQuery plugin package manifest.

    • $.cookie() returns all available cookies.

  • v1.2.0 Changes

    October 19, 2012
    • โž• Adding $.removeCookie('foo') for deleting a cookie, using $.cookie('foo', null) is now deprecated.


    • โž• Adding default options.
  • v1.1

    July 09, 2012
  • v1.0

    July 09, 2012