Releases: hugoalh/send-discord-webhook-ghaction
5.0.1 Beta 2
- CHANGE: Fixed input
files
become non optional
5.0.1 Beta 1
- ADD: Added new dependency
@hugoalh/string-overflow
- CHANGE: Improved some of the inputs' description
- CHANGE: Updated dependencies:
@hugoalh/advanced-determine
from v7.2.0 to v10.0.0ajv
from v8.11.0 to v8.12.0chalk
from v5.1.2 to v5.2.0color-name-list
from v9.21.0 to v10.3.0node-fetch
from v3.2.10 to v3.3.0yaml
from v2.1.3 to v2.2.1
- REMOVE: Removed dependency
@hugoalh/more-method
5.0.0
⚠ 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
5.0.0 Beta 2
- 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
- CHANGE: Improved errors descriptions and handling
- CHANGE: Improved import inputs flow
- CHANGE: Input
threadid
is deprecated and replaced by inputsthread_type
andthread_value
5.0.0 Beta 1
⚠ 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
4.2.4
Common
- CHANGE: Updated dependencies:
@actions/core
from v1.9.0 to v1.9.1@hugoalh/advanced-determine
from v7.1.0 to v7.1.3
Entrypoint: Docker
- CHANGE: Updated base image from
node:lts-gallium
tonode:16.17.0
4.2.3
Common
- CHANGE: Updated dependency
node-fetch
from v3.2.9 to v3.2.10
4.2.2
Common
- CHANGE: Improved web request user agent
- CHANGE: Updated dependency
node-fetch
from v3.2.8 to v3.2.9
4.2.1
Common
- ADD: Added new dependency
chalk
- CHANGE: Fixed JSON validator maybe cause embed colo(u)r (input
payload.embeds[*].color
) name as invalid input - CHANGE: Improved error message
- CHANGE: Improved log information and readability
- CHANGE: Updated dependencies:
@actions/core
from v1.6.0 to v1.9.0@hugoalh/advanced-determine
from v7.0.1 to v7.1.0ajv
from v8.10.0 to v8.11.0node-fetch
from v3.2.3 to v3.2.8yaml
from v2.0.0 to v2.1.1
Entrypoint: Docker
- CHANGE: Updated NodeJS (base image) from
lts-fermium
tolts-gallium
Entrypoint: NodeJS
- CHANGE: Improved loader
4.2.1 Beta 1
Common
- ADD: Added new dependency
chalk
- CHANGE: Fixed JSON validator maybe cause embed colo(u)r (input
payload.embeds[*].color
) name as invalid input - CHANGE: Improved error message
- CHANGE: Improved log information and readability
- CHANGE: Updated dependencies:
@actions/core
from v1.6.0 to v1.9.0@hugoalh/advanced-determine
from v7.0.1 to v7.1.0ajv
from v8.10.0 to v8.11.0node-fetch
from v3.2.3 to v3.2.8yaml
from v2.0.0 to v2.1.1
Entrypoint: Docker
- CHANGE: Updated NodeJS (base image) from
lts-fermium
tolts-gallium
Entrypoint: NodeJS
- CHANGE: Improved loader