Releases: ScottHamper/Cookies
Releases · ScottHamper/Cookies
Cookies.js v1.2.3
- Fixed null object reference error when both the global
this
andwindow
objects are undefined (e.g., when using webpack).
Cookies.js v1.2.2
- Fixed errors caused when accessing a properly encoded cookie while another cookie had a malformed key/value.
Cookies.js v1.2.1
- Fixed bower.json and package.json
main
pointing to "src" instead of "dist" now that an unminified version lives in "dist"
Cookies.js v1.2.0
Infinity
may now be used with the "expires" option to set a persistent cookie.- Included unminified version of the library in "dist"
Cookies.js v1.1.0
- Added the ability to require Cookies.js in CommonJS/Node environments that do not natively have a
window
object, by exporting a factory method that takes an instance of awindow
.
Cookies.js v1.0.1
- Fixed being unable to retrieve cookie values for keys that were named the same as a built-in
Object
property.
Cookies.js v1.0.0
- Put Cookies.js into the public domain.
- Explicitly defaulted the
secure
option tofalse
.
The code API has been stable for a number of releases now and is considered production-ready, so entering major version 1 has been long overdue. Although the code has not had any backwards-incompatible changes since version 0.4.0, the licensing has been removed and the project has been put into the public domain. As a result, this seems as good a time as any to move the project into major version 1.
Cookies.js v0.4.0
- Replaced deprecated
toGMTString
withtoUTCString
(Thanks @Zorbash!) - Added a proper bower.json file (Thanks @jstayton!)
- Fixed bug where
Cookies.enabled
was always returning true in IE7 and IE8 (Thanks @brianlow!) - Updated cookies.d.ts for Typescript 1.0 (Thanks @flashandy!)
- Fixed unnecessarily encoding characters in cookie keys that are allowed by RFC6265, and
fixed not encoding a couple characters in cookies keys that are not allowed by RFC6265.
(Issue #18) - Moved the change log to its own file.
Cookies.js v0.3.1
- Fixed a runtime error that prevented the library from loading when cookies were disabled in the client browser.
- Fixed a bug in IE that would cause the library to improperly read cookies with a value of
""
.
Cookies.js v0.3.0
- Rewrote the library from the ground up, using test driven development. The public API remains unchanged.
- Restructured project directories.