Skip to content

Releases: hugoalh/send-discord-webhook-ghaction

5.0.1 Beta 2

17 Feb 08:08
Compare
Choose a tag to compare
5.0.1 Beta 2 Pre-release
Pre-release
  • CHANGE: Fixed input files become non optional

5.0.1 Beta 1

17 Feb 08:03
Compare
Choose a tag to compare
5.0.1 Beta 1 Pre-release
Pre-release
  • 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.0
    • ajv from v8.11.0 to v8.12.0
    • chalk from v5.1.2 to v5.2.0
    • color-name-list from v9.21.0 to v10.3.0
    • node-fetch from v3.2.10 to v3.3.0
    • yaml from v2.1.3 to v2.2.1
  • REMOVE: Removed dependency @hugoalh/more-method

5.0.0

24 Oct 05:07
Compare
Choose a tag to compare

⚠ 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

Discord Forum Channels Promo Banner

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 inputs thread_type and thread_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.0
    • chalk from v5.0.1 to v5.1.2
    • yaml 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

21 Oct 09:53
Compare
Choose a tag to compare
5.0.0 Beta 2 Pre-release
Pre-release
  • 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 inputs thread_type and thread_value

5.0.0 Beta 1

20 Oct 09:12
Compare
Choose a tag to compare
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.0
    • chalk from v5.0.1 to v5.1.2
    • yaml 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

17 Aug 09:11
ae797b0
Compare
Choose a tag to compare

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 to node:16.17.0

4.2.3

01 Aug 06:54
Compare
Choose a tag to compare

Common

  • CHANGE: Updated dependency node-fetch from v3.2.9 to v3.2.10

4.2.2

19 Jul 09:08
Compare
Choose a tag to compare

Common

  • CHANGE: Improved web request user agent
  • CHANGE: Updated dependency node-fetch from v3.2.8 to v3.2.9

4.2.1

17 Jul 04:30
Compare
Choose a tag to compare

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.0
    • ajv from v8.10.0 to v8.11.0
    • node-fetch from v3.2.3 to v3.2.8
    • yaml from v2.0.0 to v2.1.1

Entrypoint: Docker

  • CHANGE: Updated NodeJS (base image) from lts-fermium to lts-gallium

Entrypoint: NodeJS

  • CHANGE: Improved loader

4.2.1 Beta 1

16 Jul 08:59
Compare
Choose a tag to compare
4.2.1 Beta 1 Pre-release
Pre-release

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.0
    • ajv from v8.10.0 to v8.11.0
    • node-fetch from v3.2.3 to v3.2.8
    • yaml from v2.0.0 to v2.1.1

Entrypoint: Docker

  • CHANGE: Updated NodeJS (base image) from lts-fermium to lts-gallium

Entrypoint: NodeJS

  • CHANGE: Improved loader