- Better handling of race-time conditions between R and JavaScript (#63).
- Cleaner tests.
- Updated cookie handling to allow HttpOnly cookies mixed with JavaScript cookies, and improved error messages (#54).
- Updated cookie handling to find cookies even if the call comes from inside a module (#56).
- The underlying 'js-cookie' JavaScript library now loads from source if it is available (#42).
- Clarified the help for
cookie_dependency()
andadd_cookie_handlers()
, to hopefully make it clearer how they can be applied in any situation (#37). - Updated
get_cookie()
to properly update if a cookie is deleted during the session but was available at the start of the session.
- Added
get_cookie()
to more easily get cookies within the server (#32). - Added
missing
as a parameter toget_cookie()
andextract_cookie()
for when the cookie doesn't exist (@jnolis, #38). - Changed the default behavior for missing cookies from
NA
toNULL
to be more in line with R convention (@jnolis).
- Updated a test. No user-facing changes.
- Initial CRAN release.
- Added
set_cookie_response()
to set and remove cookies using more-secure HTTP responses (#10, #17, #21, #22). - Added
set_cookie()
andremove_cookie()
to handle cookies from the server (using JavaScript) (#5, #6). - Added
set_cookie_on_load()
to set a cookie when the shiny app loads (#4). - Added
add_cookie_handlers()
to wrap a shiny ui and add cookie functionality (#3). - Added
extract_cookie()
andextract_cookies()
to extract cookies from request object.