Don't require session to be explicitly passed to invalidateLater

These functions were created before getDefaultReactiveDomain()
existed, so the only way to get ahold of the current session was
if the caller explicitly passed it.

This is slightly backwards incompatible, in that existing calls
to invalidateLater() that don't pass a session argument will
behave slightly differently (bound to the current session instead
of to no session), but those calls would have triggered a warning
for all but the very earliest versions of Shiny.
This commit is contained in:
Joe Cheng
2015-11-02 14:19:29 -08:00
parent ad28e03536
commit a767a61f43
4 changed files with 11 additions and 18 deletions

3
NEWS
View File

@@ -30,6 +30,9 @@ shiny 0.12.2.9000
Shiny UI/server logic and 2) make authoring and maintaining complex Shiny
apps much easier. See the article linked from `?callModule`.
* `invalidateLater` and `reactiveTimer` no longer require an explicit `session`
argument; the default value uses the current session.
shiny 0.12.2
--------------------------------------------------------------------------------