⚠ Important
No longer have multiple entrypoints
This action is now optimized with the new loader, thus no longer need to have multiple entrypoints, also no longer have extra steps for installs, pulls, and/or setups.
For users who not use default (+default
) entrypoint previously, you need to remove the action's variant and the result should be similar to this:
jobs:
job_id:
runs-on: "________" # Any
steps:
- uses: "hugoalh/send-discord-webhook-ghaction@<Version>"
Migrate input threadid
to inputs thread_type
and thread_value
In order to support forum threads, input threadid
is deprecated and inputs thread_type
and thread_value
are the replacement. Here is a simple way to migrate:
🧓 Old | 🆕 New |
threadid: 1234567890 |
thread_type: "id"
thread_value: 1234567890 |
🔦 Spotlight
Support of forum threads
This action is now support forum threads with the new inputs thread_type
and thread_value
:
thread_type: "name"
thread_value: "This is an optional customizable forum thread title!"
- ADD: Added new dependencies:
color
color-name-list
- ADD: Added new inputs in order to support usage of created thread for message channel and new thread for forum channel:
thread_type
thread_value
- ADD: Added outputs for subsequent steps and jobs:
response
status_code
status_ok
status_text
- CHANGE: Changed target NodeJS from v14.15.0 to v16.13.0
- CHANGE: Improved catch of errors
- CHANGE: Improved errors descriptions and handling
- CHANGE: Improved import inputs flow
- CHANGE: Improved inputs validation and transformation
- CHANGE: Improved support for
act
runner - CHANGE: Input
payload.embeds[*].color
exclusive namespace strings list is refreshed to follow the Discord branding guildline - CHANGE: Input
payload.embeds[*].color
now support CSS color syntax instead of simple RGB comma separated values - CHANGE: Input
payload.embeds[*].color
now support namespace strings list - CHANGE: Input
threadid
is deprecated and replaced by inputsthread_type
andthread_value
- CHANGE: Optimized usages of disk and network
- CHANGE: Replaced IIFE (Immediately Invoked Function Expression) with top level await and try-catch
- CHANGE: Replaced toolkit wrapper functions with native functions instead
- CHANGE: Updated dependencies:
@actions/core
from v1.9.1 to v1.10.0@hugoalh/advanced-determine
from v7.1.3 to v7.2.0chalk
from v5.0.1 to v5.1.2yaml
from v2.1.1 to v2.1.3
- REMOVE: Removed Docker entrypoint and image system
- REMOVE: Removed NodeJS exclusive entrypoint and loader
- REMOVE: Removed target NPM requirement as this is unnecessary