5.0.0 Beta 1
Pre-release
Pre-release
⚠ 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@<tag/version>"
- ADD: Added new dependencies:
color
color-name-list
- 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 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: 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