Switch branches/tags
Nothing to show

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Cannot retrieve contributors at this time
43 lines (33 sloc) 2.81 KB

# Unreleased version

• Use htmlDependency() instead of addResourcePath() which is more robust and works in Rmd naturally (#71)
• Don't show warning in R 4.2.0 when text is a list (#68)

• BREAKING CHANGE It's no longer required to call useShinyalert() in the UI. If you still want to explicitly pre-load the UI scripts, use useShinyalert(force=TRUE) (#47)
• BREAKING CHANGE The rmd parameter of useShinyalert() is no longer used. If you still want to call useShinyalert() (which you don't need to) then you have to remove the rmd argument
• Fixed UI bug: tall modals did not have a scrollbar and you couldn't see the entire content (#44)
• Fixed UI bug: long strings in the modal got cut off (#53)
• Fixed UI bug: vertical scrollbar incorrectly appeared when dialog has no buttons (#49)
• Fixed UI bug: radio buttons and checkboxes did not render correctly (#55)
• New feature: added session parameter to allow advanced uses of shinyalert where the Shiny session isn't immediately accessible (thanks @galachad)
• New feature: added support for MathJax to render equations (need to call withMathJax() in the UI) (#54)

• BREAKING CHANGE Cannot use html=TRUE together with type="input", you must instead supply your own Shiny inputs when using HTML
• BREAKING CHANGE When a modal closes automatically due to a timer, it returns FALSE (previously nothing was returned)
• New feature: added support for shiny inputs/outputs inside the modal (need to use html=TRUE) (#26)
• New feature: added size parameter to set the size (width) of the modal to one of four pre-defined sizes (#17)
• New feature: added immediate parameter to immediately show the current alert and close all previous alerts
• New feature: added closeAlert() function that allows you to close any specific alert (#29)
• shinyalert() now returns a unique ID
• Fixed bug where callbackR was not respected when the alert had a timer (#38)
• Fixed bug where an alert with a timer caused future alerts to not run (#39)
• Refactor of how unique IDs are created to ensure uniqueness in a performant way

• New feature (#11): inputId parameter added, which allows you to set the input ID that is used to retrieve the return value of the modal
• New feature (#23): Support using shinyalert within Rmarkdown documents