Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update apprise to v1.7.0 #135

Merged
merged 1 commit into from
Dec 28, 2023
Merged

⬆️ Update apprise to v1.7.0 #135

merged 1 commit into from
Dec 28, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
apprise ==1.6.0 -> ==1.7.0 age adoption passing confidence

Release Notes

caronc/apprise (apprise)

v1.7.0

Compare Source

Details

📣 New Notification Services:
💡 Features
  • Massive Refactoring of Dynamic Module Loading (now on demand) (#​1020)
  • YAML (Configuration) Tag Group Support enhancement (#​998)
  • Emoji support added 🚀 (#​1011)
    • You can now provide :slightly_smiling_face: (as an example) in your apprise message body and have it swap to 🙂
    • All supported emoji's were based on @​ikatyang's Emoji Cheat Sheet
    • The emoji engine is not active by default but can be turned on in several ways:
      1. In your Apprise URL, simply add the parameter emojis=yes and they will be ran against that service only:

The below would run the title and body through the emoji engine to produce their unicode

emoji equivalent..

🚀 would become 🚀 and 👍 would become 👍

         apprise --title=":+1: Great work everyone!" \
                --body="So proud of you all! :rocket:." \
                "myschema://credentials?emojis=yes"
         ```

         You can also ensure that the emoji engine is always turned on via the CLI using the switch `--interpret-emojis` or it's synonymous equivalent `-j`
         ```bash

again ... 🚀 would become 🚀 and 👍 would become 👍

         apprise --title=":+1: Great work everyone!" \
                --body="So proud of you all! :rocket:." \
                --interpret-emojis
                "myschema://credentials"
         ```
    1. In your Apprise Asset object, just set `emojis=True`.  This becomes a bit more of a global switch and turns on the emoji support for all notifications regardless if the `emojis=yes` is set on the URL.
         ```python
         import apprise

if set to True:

Emoji Engine is enabled by default (but can be over-ridden on a per-url base ?emojis=no

if set to False:

Emoji Engine is never enabled (regardless of URL definition)

if set to None (Default):

Emoji Engine is enabled on demand (per URL definition only)

         asset = apprise.AppriseAsset(emojis=True)
         apobj = apprise.Apprise(asset=asset)

The below will be passed through the emoji engine because the asset enabled it

by default

         apobj.add("myschema://credentials")

The below will never use the emoji engine, regardless if it is enabled or not:

         apobj.add("myschema://credentials?emojis=no")
         ```
- This is documented [here](https://togithub.com/caronc/apprise/wiki/CLI_Usage#ok_hand-emoji-support) as well on the wiki
- Note that if the emoji engine is enabled, but the URL specifically says `?emojis=no`, then the engine will never be applied against it.
  • Telegram (tgram://) supports topics inline per target specified (#​1028)
    • Previously Supported:
      • tgram://{bot_token}/
      • tgram://{bot_token}/{chat_id}/
      • tgram://{bot_token}/{chat_id1}/{chat_id2}/{chat_id3}/
    • Newly Supported (in addition to the above):
      • tgram://{bot_token}/{chat_id}:{topic}/
      • tgram://{bot_token}/{chat_id1}:topic1}/{chat_id2}:{topic2}/{chat_id3}:{topic3}/
    • You are not required to provide a topic as it is purely optional:
      • tgram://{bot_token}/{chat_id1}/{chat_id2}:{topic2}/{chat_id3}/
  • Discord (discord://) support for user and role ping support (#​1004).
    • The discord message body can contain content such as the following to trigger the appropriate pings
      • user: <@&#8203;123>
      • role: <@&#8203;&456>
      • tag: @everyone
❤️ Life-Cycle Support
🐛 Bugfixes
  • n/a
Installation Instructions

Apprise is available on PyPI through pip:

### Install Apprise v1.7.0 from PyPI
pip install apprise==1.7.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python labels Dec 28, 2023
@github-actions github-actions bot removed the python label Dec 28, 2023
@renovate renovate bot merged commit c273bda into main Dec 28, 2023
24 checks passed
@renovate renovate bot deleted the renovate/apprise-1.x branch December 28, 2023 07:28
@github-actions github-actions bot locked and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants