diff --git a/Project.toml b/Project.toml index c886ec8..cfd7fbf 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Alert" uuid = "28312eec-4d86-447d-83ad-bc2b262de792" authors = ["David Little and contributors"] -version = "1.0.1" +version = "1.1.0" [deps] Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" diff --git a/README.md b/README.md index f655f54..b312eec 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ Table of Contents: - [The alert function](#the-alert-function) - [The @alert macro](#the-alert-macro) - [The REPL hook](#the-repl-hook) +- [Changing backends](#changing-backends) + - [Built-in backends](#built-in-backends) - [Troubleshooting](#troubleshooting) - [Extensions](#extensions) @@ -78,6 +80,15 @@ catch e end ``` +## Changing backends + +You can implement any backend you want for `alert`. See the docstring for `Alert.set_alert_backend!` for more details. + +### Built-in backends + +- `apple_alert!` allows you to modify some UX details of the alert notification + on MacOS. See its docstring. + ## Troubleshooting - **Notification fails to display on Windows**: check to make sure you have Notifications turned on in "Notifications & actions" in your OS settings. ![Window of the Windows 10 "Notifications & actions"](https://aws1.discourse-cdn.com/business5/uploads/julialang/optimized/3X/b/5/b55776f64fa7dae966a3773bca40e3627a1a480b_2_960x750.png)