- A bug was fixed that prevented usage in projects that are not using FastBoot, see #347.
- The
write
function now supports thesameSite
option with values of'Strict'
or'Lax'
, see #269.
- ember-cookies now requires Node 8, see #321.
- The default cookie path is now normalized to not include a trailing slash (as appended e.g. by Firefox), see #169.
- The
clearAllCookies
helper function now accepts thepath
,domain
andsecure
options, see #197.
- The
httpOnly
option can now be specified for cookies that are set in FastBoot, see #194. - A bug that would not replace an existing cookie but set it multiple times
with different values when calling
write
multiple times with different values in FastBoot was fixed, see #195. - An invokation of
merge
that was triggering a deprecation was removed, see #204. - Usages of the
volatile
computed property modified that were triggering deprecations were removed, see #207. - Cookies with
=
in the value are now correctly read, see #201. - ember-cookies now uses Babel 7, see #192.
- A bug that prevented cookies from being read from the request header correctly in FastBoot if another cookie had been written before was fixed, see #181.
- When writing a cookie, the written value is now checked to not exceed 4096 bytes, see #159.
- Add
exists
method to check for existence of a cookie (even with a falsy value), see #158.
- A runtime error in Internet Explorer was fixed, see #149.
- Added a new
clearAllCookies
helper function for clearing all cookies in tests, see #140.
- Accept both
https
andhttps:
as valid protocols for HTTPS detections, see #132. - Add
raw
option toread
andwrite
that disables URL-en/decoding, see #134.
- Allow ember-getowner-polyfill ^1.1.0 and ^2.0.0 (#118)
- Use "New Module Imports" (#117)
- Set fake document on service in tests (#114)
- Ensure multiple options are added to the cookie (#113)
- Document
maxAge
option. (#112) - Update ember-cli-babel to version 6.6.0 (#111)
- Remove unnecessary dependencies (#87)
- Add options to args for clear() in README (#56)
- Update the ember-getowner-polyfill dependency, see #49.
- The
cookies
service'sclear
method now accepts options, see #48. - ember-cookies now uses ESLint instead of JSHint/JSCS, see #37.
- A deprecation triggered by ember-getowner-polyfill has been fixed, see #30.
- Fix usage of the FastBoot host, see #25.
- Handling of FastBoot cookies has been fixed, see #24.
- The new
clear
method was added to delete a particular cookie, see #20. - The dependency on ember-lodash was removed, see #22.
- Cookies are now written directly to the response headers in FastBoot mode, see #17.
- The fastboot service is now correctly referenced as
service:fastboot
, see #16.
- FastBoot is now always being referred to correctly with a capital "B", see #15.
- Values are now encoded when written and decoded when read, see #14.
- ember-lodash is now a direct dependency of ember-cookies while it was only a dev dependency before which caused errors in applications that didn't have ember-lodash installed already, see #12.
- Make sure that cookies can be read after having been written in FastBoot, see #9.
- Enable ember-suave for the project, see #10.
- tests, tests, tests 🎉, see #5.
initial release