Recent Releases of hugoalh/send-discord-webhook-ghaction

hugoalh/send-discord-webhook-ghaction - 7.0.5

〰️ Changes

  • Improve efficiency and performance on multipart network request (@hugoalh)(N/A)
  • Update dependencies and runtimes (@hugoalh)(N/A)

- TypeScript
Published by hugoalh 11 months ago

hugoalh/send-discord-webhook-ghaction - 7.0.4

〰️ Changes

  • Update dependencies and runtimes (@hugoalh)(N/A)

- TypeScript
Published by hugoalh about 1 year ago

hugoalh/send-discord-webhook-ghaction - 7.0.3

〰️ Changes

  • Update dependencies and runtimes (@hugoalh)(N/A)

- TypeScript
Published by hugoalh about 1 year ago

hugoalh/send-discord-webhook-ghaction - 7.0.2

〰️ Changes

  • Update runtime Deno from v2.0.0 to v2.0.2 (@hugoalh)(686f19b5bba20cf91eb681ff8f30ef733a5087c2)

- TypeScript
Published by hugoalh about 1 year ago

hugoalh/send-discord-webhook-ghaction - 7.0.1

〰️ Changes

  • Update dependencies: (@hugoalh)(6bf1def3043bb1636c089ff6781fbb99492dc985)
    • deno/jsr:@hugoalh/is-string-singleline from v1.0.0 to v1.0.2
    • deno/jsr:@std/fs from v1.0.3 to v1.0.4
    • deno/jsr:@std/path from v1.0.4 to v1.0.6
    • deno/npm:color-name-list from v10.25.1 to v10.28.0
  • Update runtime Deno from v1.46.3 to v2.0.0 (@hugoalh)(fb50a73c43eb852bcaa08273f1fd29a6b3c2b033)

- TypeScript
Published by hugoalh about 1 year ago

hugoalh/send-discord-webhook-ghaction - 7.0.0

🔦 Spotlights

  • Support poll
  • Support thread tags

💥 Break Changes

  • Change some of the inputs list separator (@hugoalh)(N/A)
  • Move from NodeJS based to Docker and Deno based, runner now require support Docker instead (@hugoalh)(N/A)
  • Rename some of the special colour namespaces: (@hugoalh)(N/A)
    • "Default" to "Discord Embed Default"
    • "Embed Background Dark" to "Discord Embed Background Dark"
  • Replace input allowed_mentions_parse with inputs: (@hugoalh)(N/A)
    • allowed_mentions_parse_everyone
    • allowed_mentions_parse_roles
    • allowed_mentions_parse_users

〰️ Changes

  • Add dependencies:
    • deno/jsr:@hugoalh/exfetch
    • deno/jsr:@hugoalh/github-actions-core
    • deno/jsr:@hugoalh/is-json
    • deno/jsr:@hugoalh/is-string-singleline
    • deno/jsr:@std/fs
    • deno/jsr:@std/media-types
    • deno/jsr:@std/path
    • deno/npm:url-regex-safe
  • Add input files_glob to control Glob behaviour of input files (@hugoalh)(N/A)
  • Add input notification to whether trigger push and desktop notifications (@hugoalh)(N/A)
  • Add input thread_tags for forum thread tags (@hugoalh)(N/A)
  • Add inputs for poll: (@hugoalh)(N/A)
    • poll_question
    • poll_answers
    • poll_duration
    • poll_allow_multiselect
  • Fix inputs default value may lost due to the different entrypoints (@hugoalh)(N/A)
  • Implement more tests (@hugoalh)(N/A)
  • Implement rate limit protection (@hugoalh)(N/A)
  • Improve segmentation to prevent Discord resolve and display matches links in the content as embed under the message (@hugoalh)(N/A)
  • Update dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@hugoalh/string-overflow v2.0.0 to deno/jsr:@hugoalh/string-overflow v2.0.3
    • nodejs/npm:color v4.2.3 to deno/npm:color v4.2.3
    • nodejs/npm:color-name-list v10.19.0 to deno/npm:color-name-list v10.25.1
    • nodejs/npm:yaml v2.4.1 to deno/jsr:@std/yaml v1.0.5
  • Remove dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@actions/core
    • nodejs/npm:@actions/glob
    • nodejs/npm:@hugoalh/advanced-determine

- TypeScript
Published by hugoalh over 1 year ago

hugoalh/send-discord-webhook-ghaction - 7.0.0 Beta 1

🔦 Spotlights

  • Support poll
  • Support thread tags

💥 Break Changes

  • Change some of the inputs list separator (@hugoalh)(N/A)
  • Move from NodeJS based to Docker and Deno based, runner now require support Docker instead (@hugoalh)(N/A)
  • Rename some of the special colour namespaces: (@hugoalh)(N/A)
    • "Default" to "Discord Embed Default"
    • "Embed Background Dark" to "Discord Embed Background Dark"
  • Replace input allowed_mentions_parse with inputs: (@hugoalh)(N/A)
    • allowed_mentions_parse_everyone
    • allowed_mentions_parse_roles
    • allowed_mentions_parse_users

〰️ Changes

  • Add dependencies:
    • deno/jsr:@hugoalh/exfetch
    • deno/jsr:@hugoalh/github-actions-core
    • deno/jsr:@hugoalh/is-json
    • deno/jsr:@hugoalh/is-string-singleline
    • deno/jsr:@std/fs
    • deno/jsr:@std/media-types
    • deno/jsr:@std/path
    • deno/npm:url-regex-safe
  • Add input files_glob to control Glob behaviour of input files (@hugoalh)(N/A)
  • Add input notification to whether trigger push and desktop notifications (@hugoalh)(N/A)
  • Add input thread_tags for forum thread tags (@hugoalh)(N/A)
  • Add inputs for poll: (@hugoalh)(N/A)
    • poll_question
    • poll_answers
    • poll_duration
    • poll_allow_multiselect
  • Fix inputs default value may lost due to the different entrypoints (@hugoalh)(N/A)
  • Implement more tests (@hugoalh)(N/A)
  • Implement rate limit protection (@hugoalh)(N/A)
  • Improve segmentation to prevent Discord resolve and display matches links in the content as embed under the message (@hugoalh)(N/A)
  • Update dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@hugoalh/string-overflow v2.0.0 to deno/jsr:@hugoalh/string-overflow v2.0.3
    • nodejs/npm:color v4.2.3 to deno/npm:color v4.2.3
    • nodejs/npm:color-name-list v10.19.0 to deno/npm:color-name-list v10.25.1
    • nodejs/npm:yaml v2.4.1 to deno/jsr:@std/yaml v1.0.5
  • Remove dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@actions/core
    • nodejs/npm:@actions/glob
    • nodejs/npm:@hugoalh/advanced-determine

- TypeScript
Published by hugoalh over 1 year ago

hugoalh/send-discord-webhook-ghaction - 6.0.2

〰️ Changes

  • Fix issues related to attachments/files: (@hugoalh)(N/A)
    • "Cannot send an empty message!" were caused by incorrect request header
    • ERR_INVALID_ARG_TYPE were caused by legacy file reader
    • "File is not accessible, exist, and/or readable!" were caused by duplicated path root
  • Move to TypeScript based (@hugoalh)(N/A)
  • Remove unnecessary codes of variables reassign (@hugoalh)(N/A)
  • Update dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@hugoalh/advanced-determine from v13.2.0 to v14.0.1
    • nodejs/npm:@hugoalh/string-overflow from v1.3.1 to v2.0.0
    • nodejs/npm:color-name-list from v10.17.0 to v10.19.0
    • nodejs/npm:yaml from v2.3.4 to v2.4.1

- TypeScript
Published by hugoalh almost 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.1

〰️ Changes

  • Update dependency nodejs/npm:color-name-list from v10.16.0 to v10.17.0 (@hugoalh)(N/A)

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.0

🔦 Spotlights

  • Ability to prevent Discord resolve and display specific links in the content as embed under the message
  • Input files now support Glob selection (@hugoalh)(3870d4deaf17cd7b71c5ab00ec901b1fc1d39fc7)

💥 Break Changes

  • Change input wait default value to true to wait for Discord confirmation of message send before response (@hugoalh)(N/A)
  • Change target GitHub Actions Runner from >= v2.297.0 to >= v2.310.0 (@hugoalh)(N/A)
  • Change target NodeJS from ^ v16.13.0 to ^ v20.9.0 (@hugoalh)(N/A)
  • Input embeds[*].color no longer case insensitive (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f)
  • Input files now require syntax of simple multiple line instead of JSON or YAML (@hugoalh)(N/A)
  • Remove input method and always detect suitable method (@hugoalh)(N/A)
  • Replace inputs thread_type and thread_value with inputs thread_id and thread_name (@hugoalh)(N/A)
  • Replace input payload with inputs: (@hugoalh)(N/A)
    • content
    • username
    • avatar_url
    • tts
    • embeds
    • allowed_mentions_parse
    • allowed_mentions_roles
    • allowed_mentions_users

〰️ Changes

  • Add dependency nodejs/npm:@actions/glob (@hugoalh)(N/A)
  • Add input content_links_no_embed (@hugoalh)(#400, #405, ef7365d61fe1f301b1dc4c4e58e873764b353518, 3f021b18c0b8103f484d0208426568bc167d3d7b, 1a335035ca109bf370e5b27af7aaee0983841c61)
  • Implement on demand allowed_mentions.roles and allowed_mentions.users for the payload (@hugoalh)(286d7014f4400de2659fbbcbde7c785749b0581c)
  • Improve error message and show error type and stack (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f, 1d9421173e45d3e7bf63f52028e786eedc89d4dc, 7a5094b7b5918b0d760cc63289d7a8e431a65a0c)
  • Merge multiple color namespace lists for faster query (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f)
  • Update dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@actions/core from v1.10.0 to v1.10.1
    • nodejs/npm:@hugoalh/advanced-determine from v11.2.0 to v13.2.0
    • nodejs/npm:color-name-list from v10.8.0 to v10.16.0
    • nodejs/npm:yaml from v2.3.1 to v2.3.4
  • Remove dependencies: (@hugoalh)(N/A)
    • nodejs/npm:ajv
    • nodejs/npm:ajv-formats
    • nodejs/npm:ajv-formats-draft2019
    • nodejs/npm:form-data
    • nodejs/npm:node-fetch

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.0 Beta 6

〰️ Changes

  • Escape links in the content should happen before truncate (@hugoalh)(1a335035ca109bf370e5b27af7aaee0983841c61)

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.0 Beta 5

〰️ Changes

  • Implement on demand allowed_mentions.roles and allowed_mentions.users for the payload (@hugoalh)(286d7014f4400de2659fbbcbde7c785749b0581c)
  • Update dependencies nodejs/npm:@hugoalh/advanced-determine from v13.0.0 to v13.1.0, and nodejs/npm:yaml from v2.3.3 to v2.3.4 (@hugoalh)(f7c08db8014c37385f05fe1aac5199457307c00d)

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.0 Beta 4

🔦 Spotlights

  • Ability to prevent Discord resolve and display specific links in the content as embed under the message

〰️ Changes

  • Add input content_links_no_embed (@hugoalh)(#400, #405, ef7365d61fe1f301b1dc4c4e58e873764b353518, 3f021b18c0b8103f484d0208426568bc167d3d7b)

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.0 Beta 3

〰️ Changes

  • Add error stack (@hugoalh)(7a5094b7b5918b0d760cc63289d7a8e431a65a0c)
  • Fix typo (@hugoalh)(7a5094b7b5918b0d760cc63289d7a8e431a65a0c)

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.0 Beta 2

💥 Break Changes

  • Input embeds[*].color no longer case insensitive (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f)

〰️ Changes

  • Add check for snowflake (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f)
  • Fix input embeds[*].timestamp are marked as invalid property (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f)
  • Improve error message and show error type (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f, 1d9421173e45d3e7bf63f52028e786eedc89d4dc)
  • Merge multiple color namespace lists for faster query (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f)
  • Remove dependeny nodejs/npm:@hugoalh/underscore-path (@hugoalh)(1c5d6816181e259f41f335a35c2f87b38599758f)

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 6.0.0 Beta 1

🔦 Spotlights

  • Input files now support Glob selection (@hugoalh)(3870d4deaf17cd7b71c5ab00ec901b1fc1d39fc7)

💥 Break Changes

  • Change target GitHub Actions Runner from >= v2.297.0 to >= v2.310.0 (@hugoalh)(N/A)
  • Change target NodeJS from ^ v16.13.0 to ^ v20.9.0 (@hugoalh)(N/A)
  • Change input wait default value to true to wait for Discord confirmation of message send before response (@hugoalh)(N/A)
  • Input files now require syntax of simple multiple line instead of JSON or YAML (@hugoalh)(N/A)
  • Remove input method and always detect suitable method (@hugoalh)(N/A)
  • Replace inputs thread_type and thread_value with inputs thread_id and thread_name (@hugoalh)(N/A)
  • Replace input payload with inputs: (@hugoalh)(N/A)
    • content
    • username
    • avatar_url
    • tts
    • embeds
    • allowed_mentions_parse
    • allowed_mentions_roles
    • allowed_mentions_users

〰️ Changes

  • Add dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@actions/glob
    • nodejs/npm:@hugoalh/underscore-path
  • Update dependencies: (@hugoalh)(N/A)
    • nodejs/npm:@actions/core from v1.10.0 to v1.10.1
    • nodejs/npm:@hugoalh/advanced-determine from v11.2.0 to v13.0.0
    • nodejs/npm:color-name-list from v10.8.0 to v10.16.0
    • nodejs/npm:yaml from v2.3.1 to v2.3.3
  • Remove dependencies: (@hugoalh)(N/A)
    • nodejs/npm:ajv
    • nodejs/npm:ajv-formats
    • nodejs/npm:ajv-formats-draft2019
    • nodejs/npm:form-data
    • nodejs/npm:node-fetch

- TypeScript
Published by hugoalh about 2 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.6

  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v11.1.2 to v11.2.0
    • color-name-list from v10.7.0 to v10.8.0
    • yaml from v2.2.2 to v2.3.1

- TypeScript
Published by hugoalh over 2 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.5

  • CHANGE: Fixed empty JSON cannot determine correctly
  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v11.1.1 to v11.1.2
    • yaml from v2.2.1 to v2.2.2

- TypeScript
Published by hugoalh over 2 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.4

  • CHANGE: Fixed empty payload.embeds[*].footer, payload.embeds[*].image, payload.embeds[*].thumbnail, payload.embeds[*].author, and payload.embeds[*].fields are not trim correctly
  • CHANGE: Improved log readability by reduce text styles
  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v10.2.1 to v11.1.1
    • @hugoalh/string-overflow from v1.2.0 to v1.3.1
  • REMOVE: Removed dependency chalk

- TypeScript
Published by hugoalh over 2 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.4 Beta 2

  • CHANGE: Updated dependency @hugoalh/advanced-determine from v10.4.0 to v10.4.1

- TypeScript
Published by hugoalh over 2 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.4 Beta 1

  • CHANGE: Fixed empty payload.embeds[*].footer, payload.embeds[*].image, payload.embeds[*].thumbnail, payload.embeds[*].author, and payload.embeds[*].fields are not trim correctly
  • CHANGE: Improved log readability by reduce text styles
  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v10.2.1 to v10.4.0
    • @hugoalh/string-overflow from v1.2.0 to v1.3.1
  • REMOVE: Removed dependency chalk

- TypeScript
Published by hugoalh over 2 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.3

  • CHANGE: Reduced bundled script size by ~20%

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.3 Beta 1 - Experimental Minify Bundle

  • CHANGE: Reduced bundled script size by ~20%

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.2

  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v10.0.0 to v10.2.1
    • @hugoalh/string-overflow from v1.0.0 to v1.2.0
    • color-name-list from v10.5.0 to v10.7.0
    • node-fetch from v3.3.0 to v3.3.1

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.2 Beta 3

  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v10.1.0 to v10.2.1
    • @hugoalh/string-overflow from v1.1.0 to v1.2.0
    • node-fetch from v3.3.0 to v3.3.1

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.2 Beta 2

  • CHANGE: Updated dependency color-name-list from v10.5.0 to v10.6.0

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.2 Beta 1

  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v10.0.0 to v10.1.0
    • @hugoalh/string-overflow from v1.0.0 to v1.1.0

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.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.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.5.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

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.1 Beta 5

  • CHANGE: Updated dependency color-name-list from v10.4.0 to v10.5.0

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.1 Beta 4

  • CHANGE: Updated dependency color-name-list from v10.3.0 to v10.4.0

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.1 Beta 3

  • CHANGE: Fixed input payload become non optional

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 5.0.1 Beta 2

  • CHANGE: Fixed input files become non optional

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 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.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

- TypeScript
Published by hugoalh almost 3 years ago

hugoalh/send-discord-webhook-ghaction - 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:

yml 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
```yml threadid: 1234567890 ``` ```yml 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:

yml 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

- TypeScript
Published by hugoalh about 3 years ago

hugoalh/send-discord-webhook-ghaction - 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 inputs thread_type and thread_value

- TypeScript
Published by hugoalh about 3 years ago

hugoalh/send-discord-webhook-ghaction - 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:

yml 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

- TypeScript
Published by hugoalh about 3 years ago

hugoalh/send-discord-webhook-ghaction - 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 to node:16.17.0

- TypeScript
Published by hugoalh over 3 years ago

hugoalh/send-discord-webhook-ghaction - 4.2.3

Common

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

- TypeScript
Published by hugoalh over 3 years ago

hugoalh/send-discord-webhook-ghaction - 4.2.2

Common

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

- TypeScript
Published by hugoalh over 3 years ago

hugoalh/send-discord-webhook-ghaction - 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.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

- TypeScript
Published by hugoalh over 3 years ago

hugoalh/send-discord-webhook-ghaction - 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.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

- TypeScript
Published by hugoalh over 3 years ago

hugoalh/send-discord-webhook-ghaction - 4.2.0

Common

  • ADD: Added back YAML/YML support for input payload
  • ADD: Added new dependency yaml
  • CHANGE: Fixed incorrect documentations
  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v7.0.0 to v7.0.1
    • ajv from v8.9.0 to v8.10.0
    • node-fetch from v3.2.0 to v3.2.3
  • REMOVE: Removed input dryrun

Entrypoint: Docker

  • CHANGE: Fixed image not updated in patch

- TypeScript
Published by hugoalh over 3 years ago

hugoalh/send-discord-webhook-ghaction - 4.1.1

- TypeScript
Published by hugoalh almost 4 years ago

hugoalh/send-discord-webhook-ghaction - 4.1.0

Common

  • CHANGE: Updated dependencies:
    • @hugoalh/advanced-determine from v6.4.2 to v7.0.0
    • @hugoalh/more-method from v0.6.0 to v0.7.0

Entrypoint: Docker

  • CHANGE: Changed the way to setup this action, from one-time image build (i.e.: Build hugoalh/send-discord-webhook-ghaction@<Tag/Version>) to hosted image build (host by GitHub Packages)(i.e.: Pull ghcr.io/hugoalh/send-discord-webhook-ghaction:<Tag/Version>) in order to decrease setup time

Entrypoint: NodeJS

  • CHANGE: Improved NodeJS loader
  • CHANGE: Updated NodeJS loader environment from node12 to node16

- TypeScript
Published by hugoalh almost 4 years ago

hugoalh/send-discord-webhook-ghaction - 4.0.0

⚠️ Important

Not Compatible With Older Versions

Begin from v4.0.0-beta.1, it is no longer compatible with older versions due to the rework. See detail changelog for more information.

Renamed

This action's repository is renamed from hugoalh/GitHubAction.SendToDiscord to hugoalh/send-discord-webhook-ghaction in order to have a better identification; It is recommended to replace the old name with new name for the workflow files to prevent unable to use this action in the future.

🔦 Spotlight

Easier JSON Payload Pipe

Previously, if need to pipe outputs from previous jobs/steps to the inputs, it will need to use ${{needs.<jobID>.outputs.<outputName>}} or ${{steps.<stepID>.outputs.<outputName>}} on each input (or with additional fromJSON() expression), now it can use one only with input payload.

Retirement Of Variable System

Variable system was part of this action since the first version in order to provide possibility to create dynamic content (as when GitHub Actions contexts are still dumb). But nowadays, GitHub Actions contexts is no longer dumb, and also some great alternative actions are on the marketplace, therefore this is a great time to retire variable system.

Some Alternatives

Support Attachments/Files

Webhook with files are now supported, and up to 8 MB!

Support Thread

Begin from August 2021, Discord introduced thread, now this action is also supported as well with input threadid. Send to the specified thread within a webhook's channel, the thread will automatically be unarchived.

Support Wait

Previously, this action is marked as successfully executed even if the webhook is successfully submitted but not posted in the channel due to some reasons; Now this action can wait for Discord confirmation of message to prevent this issue with input wait is true.


  • ADD: Added new dependencies:
    • @hugoalh/more-method
    • ajv
    • ajv-formats
    • ajv-formats-draft2019
    • form-data
  • ADD: Added new inputs:
    • dryrun
    • files
    • key
    • method
    • payload
    • threadid
    • truncate_ellipsis
    • truncate_enable
    • truncate_position
    • wait
  • ADD: Added new target environment and entrypoint Docker
  • CHANGE: Changed default entrypoint from NodeJS to Docker
  • CHANGE: Minified codes
  • CHANGE: Updated dependencies:
    • @actions/core from v1.2.6 to v1.6.0
    • @hugoalh/advanced-determine from v4.2.0 to v6.4.2
    • node-fetch from v2.6.1 to v3.1.0
  • CHANGE: Updated target NodeJS environment:
    • NodeJS from v12.13.0 to v14.15.0
    • NPM from v6.12.0 to v6.14.8
  • REMOVE: Removed dependencies:
    • @actions/github
    • escape-string-regexp
    • flat
    • jsonc
    • yaml
  • REMOVE: Removed inputs:
    • configuration (replaced by input payload)
    • github_token
    • message_embed_authoravatarurl (replaced by input payload)
    • message_embed_authorname (replaced by input payload)
    • message_embed_authorurl (replaced by input payload)
    • message_embed_colour (replaced by input payload)
    • message_embed_description (replaced by input payload)
    • message_embed_field_0_isinline (replaced by input payload)
    • message_embed_field_0_key (replaced by input payload)
    • message_embed_field_0_value (replaced by input payload)
    • message_embed_field_1_isinline (replaced by input payload)
    • message_embed_field_1_key (replaced by input payload)
    • message_embed_field_1_value (replaced by input payload)
    • message_embed_field_2_isinline (replaced by input payload)
    • message_embed_field_2_key (replaced by input payload)
    • message_embed_field_2_value (replaced by input payload)
    • message_embed_field_3_isinline (replaced by input payload)
    • message_embed_field_3_key (replaced by input payload)
    • message_embed_field_3_value (replaced by input payload)
    • message_embed_field_4_isinline (replaced by input payload)
    • message_embed_field_4_key (replaced by input payload)
    • message_embed_field_4_value (replaced by input payload)
    • message_embed_field_5_isinline (replaced by input payload)
    • message_embed_field_5_key (replaced by input payload)
    • message_embed_field_5_value (replaced by input payload)
    • message_embed_field_6_isinline (replaced by input payload)
    • message_embed_field_6_key (replaced by input payload)
    • message_embed_field_6_value (replaced by input payload)
    • message_embed_field_7_isinline (replaced by input payload)
    • message_embed_field_7_key (replaced by input payload)
    • message_embed_field_7_value (replaced by input payload)
    • message_embed_field_8_isinline (replaced by input payload)
    • message_embed_field_8_key (replaced by input payload)
    • message_embed_field_8_value (replaced by input payload)
    • message_embed_field_9_isinline (replaced by input payload)
    • message_embed_field_9_key (replaced by input payload)
    • message_embed_field_9_value (replaced by input payload)
    • message_embed_field_10_isinline (replaced by input payload)
    • message_embed_field_10_key (replaced by input payload)
    • message_embed_field_10_value (replaced by input payload)
    • message_embed_field_11_isinline (replaced by input payload)
    • message_embed_field_11_key (replaced by input payload)
    • message_embed_field_11_value (replaced by input payload)
    • message_embed_field_12_isinline (replaced by input payload)
    • message_embed_field_12_key (replaced by input payload)
    • message_embed_field_12_value (replaced by input payload)
    • message_embed_field_13_isinline (replaced by input payload)
    • message_embed_field_13_key (replaced by input payload)
    • message_embed_field_13_value (replaced by input payload)
    • message_embed_field_14_isinline (replaced by input payload)
    • message_embed_field_14_key (replaced by input payload)
    • message_embed_field_14_value (replaced by input payload)
    • message_embed_field_15_isinline (replaced by input payload)
    • message_embed_field_15_key (replaced by input payload)
    • message_embed_field_15_value (replaced by input payload)
    • message_embed_field_16_isinline (replaced by input payload)
    • message_embed_field_16_key (replaced by input payload)
    • message_embed_field_16_value (replaced by input payload)
    • message_embed_field_17_isinline (replaced by input payload)
    • message_embed_field_17_key (replaced by input payload)
    • message_embed_field_17_value (replaced by input payload)
    • message_embed_field_18_isinline (replaced by input payload)
    • message_embed_field_18_key (replaced by input payload)
    • message_embed_field_18_value (replaced by input payload)
    • message_embed_field_19_isinline (replaced by input payload)
    • message_embed_field_19_key (replaced by input payload)
    • message_embed_field_19_value (replaced by input payload)
    • message_embed_field_20_isinline (replaced by input payload)
    • message_embed_field_20_key (replaced by input payload)
    • message_embed_field_20_value (replaced by input payload)
    • message_embed_field_21_isinline (replaced by input payload)
    • message_embed_field_21_key (replaced by input payload)
    • message_embed_field_21_value (replaced by input payload)
    • message_embed_field_22_isinline (replaced by input payload)
    • message_embed_field_22_key (replaced by input payload)
    • message_embed_field_22_value (replaced by input payload)
    • message_embed_field_23_isinline (replaced by input payload)
    • message_embed_field_23_key (replaced by input payload)
    • message_embed_field_23_value (replaced by input payload)
    • message_embed_field_24_isinline (replaced by input payload)
    • message_embed_field_24_key (replaced by input payload)
    • message_embed_field_24_value (replaced by input payload)
    • message_embed_footericonurl (replaced by input payload)
    • message_embed_footertext (replaced by input payload)
    • message_embed_imageurl (replaced by input payload)
    • message_embed_thumbnailurl (replaced by input payload)
    • message_embed_title (replaced by input payload)
    • message_embed_titleurl (replaced by input payload)
    • message_embed_videourl (replaced by input payload)
    • message_text (replaced by input payload)
    • message_usetexttospeech (replaced by input payload)
    • variable_join
    • variable_list_external
    • variable_prefix
    • variable_suffix
    • webhook_avatarurl (replaced by input payload)
    • webhook_id (replaced by input key)
    • webhook_name (replaced by input payload)
    • webhook_token (replaced by input key)
  • REMOVE: Removed variable system

- TypeScript
Published by hugoalh about 4 years ago

hugoalh/send-discord-webhook-ghaction - 4.0.0 Beta 4

⚠️ Important

Not Compatible With Older Versions

Begin from v4.0.0-beta.1, it is no longer compatible with older versions due to the rework. See detail changelog for more information.

Renamed

This action's repository is renamed from hugoalh/GitHubAction.SendToDiscord to hugoalh/send-discord-webhook-ghaction in order to have a better identification; It is recommended to replace the old name with new name for the workflow files to prevent unable to use this action in the future.


  • CHANGE: Fixed input payload.embeds[*].color still parse incorrectly

- TypeScript
Published by hugoalh about 4 years ago

hugoalh/send-discord-webhook-ghaction - 4.0.0 Beta 3

⚠️ Important

Not Compatible With Older Versions

Begin from v4.0.0-beta.1, it is no longer compatible with older versions due to the rework. See detail changelog for more information.

Renamed

This action's repository is renamed from hugoalh/GitHubAction.SendToDiscord to hugoalh/send-discord-webhook-ghaction in order to have a better identification; It is recommended to replace the old name with new name for the workflow files to prevent unable to use this action in the future.


  • CHANGE: Fixed input payload.embeds[*].color cannot parse correctly

- TypeScript
Published by hugoalh about 4 years ago

hugoalh/send-discord-webhook-ghaction - 4.0.0 Beta 2

⚠️ Important

Not Compatible With Older Versions

Begin from v4.0.0-beta.1, it is no longer compatible with older versions due to the rework. See detail changelog for more information.

Renamed

This action's repository is renamed from hugoalh/GitHubAction.SendToDiscord to hugoalh/send-discord-webhook-ghaction in order to have a better identification; It is recommended to replace the old name with new name for the workflow files to prevent unable to use this action in the future.


This release is identical with v4.0.0-beta.1, but re-released due to technical issues.

  • ADD: Added new dependencies:
    • @hugoalh/more-method
    • ajv
    • ajv-formats
    • ajv-formats-draft2019
    • form-data
  • ADD: Added new inputs:
    • dryrun
    • files
    • key
    • method
    • payload
    • threadid
    • truncate_ellipsis
    • truncate_enable
    • truncate_position
    • wait
  • ADD: Added new target environment and entrypoint Docker
  • CHANGE: Changed default entrypoint from NodeJS to Docker
  • CHANGE: Minified codes
  • CHANGE: Updated dependencies:
    • @actions/core from v1.2.6 to v1.6.0
    • @hugoalh/advanced-determine from v4.2.0 to v6.4.2
    • node-fetch from v2.6.1 to v3.1.0
  • CHANGE: Updated target NodeJS environment:
    • NodeJS from v12.13.0 to v14.15.0
    • NPM from v6.12.0 to v6.14.8
  • REMOVE: Removed dependencies:
    • @actions/github
    • escape-string-regexp
    • flat
    • jsonc
    • yaml
  • REMOVE: Removed inputs:
    • configuration (replaced by input payload)
    • github_token
    • message_embed_authoravatarurl (replaced by input payload)
    • message_embed_authorname (replaced by input payload)
    • message_embed_authorurl (replaced by input payload)
    • message_embed_colour (replaced by input payload)
    • message_embed_description (replaced by input payload)
    • message_embed_field_0_isinline (replaced by input payload)
    • message_embed_field_0_key (replaced by input payload)
    • message_embed_field_0_value (replaced by input payload)
    • message_embed_field_1_isinline (replaced by input payload)
    • message_embed_field_1_key (replaced by input payload)
    • message_embed_field_1_value (replaced by input payload)
    • message_embed_field_2_isinline (replaced by input payload)
    • message_embed_field_2_key (replaced by input payload)
    • message_embed_field_2_value (replaced by input payload)
    • message_embed_field_3_isinline (replaced by input payload)
    • message_embed_field_3_key (replaced by input payload)
    • message_embed_field_3_value (replaced by input payload)
    • message_embed_field_4_isinline (replaced by input payload)
    • message_embed_field_4_key (replaced by input payload)
    • message_embed_field_4_value (replaced by input payload)
    • message_embed_field_5_isinline (replaced by input payload)
    • message_embed_field_5_key (replaced by input payload)
    • message_embed_field_5_value (replaced by input payload)
    • message_embed_field_6_isinline (replaced by input payload)
    • message_embed_field_6_key (replaced by input payload)
    • message_embed_field_6_value (replaced by input payload)
    • message_embed_field_7_isinline (replaced by input payload)
    • message_embed_field_7_key (replaced by input payload)
    • message_embed_field_7_value (replaced by input payload)
    • message_embed_field_8_isinline (replaced by input payload)
    • message_embed_field_8_key (replaced by input payload)
    • message_embed_field_8_value (replaced by input payload)
    • message_embed_field_9_isinline (replaced by input payload)
    • message_embed_field_9_key (replaced by input payload)
    • message_embed_field_9_value (replaced by input payload)
    • message_embed_field_10_isinline (replaced by input payload)
    • message_embed_field_10_key (replaced by input payload)
    • message_embed_field_10_value (replaced by input payload)
    • message_embed_field_11_isinline (replaced by input payload)
    • message_embed_field_11_key (replaced by input payload)
    • message_embed_field_11_value (replaced by input payload)
    • message_embed_field_12_isinline (replaced by input payload)
    • message_embed_field_12_key (replaced by input payload)
    • message_embed_field_12_value (replaced by input payload)
    • message_embed_field_13_isinline (replaced by input payload)
    • message_embed_field_13_key (replaced by input payload)
    • message_embed_field_13_value (replaced by input payload)
    • message_embed_field_14_isinline (replaced by input payload)
    • message_embed_field_14_key (replaced by input payload)
    • message_embed_field_14_value (replaced by input payload)
    • message_embed_field_15_isinline (replaced by input payload)
    • message_embed_field_15_key (replaced by input payload)
    • message_embed_field_15_value (replaced by input payload)
    • message_embed_field_16_isinline (replaced by input payload)
    • message_embed_field_16_key (replaced by input payload)
    • message_embed_field_16_value (replaced by input payload)
    • message_embed_field_17_isinline (replaced by input payload)
    • message_embed_field_17_key (replaced by input payload)
    • message_embed_field_17_value (replaced by input payload)
    • message_embed_field_18_isinline (replaced by input payload)
    • message_embed_field_18_key (replaced by input payload)
    • message_embed_field_18_value (replaced by input payload)
    • message_embed_field_19_isinline (replaced by input payload)
    • message_embed_field_19_key (replaced by input payload)
    • message_embed_field_19_value (replaced by input payload)
    • message_embed_field_20_isinline (replaced by input payload)
    • message_embed_field_20_key (replaced by input payload)
    • message_embed_field_20_value (replaced by input payload)
    • message_embed_field_21_isinline (replaced by input payload)
    • message_embed_field_21_key (replaced by input payload)
    • message_embed_field_21_value (replaced by input payload)
    • message_embed_field_22_isinline (replaced by input payload)
    • message_embed_field_22_key (replaced by input payload)
    • message_embed_field_22_value (replaced by input payload)
    • message_embed_field_23_isinline (replaced by input payload)
    • message_embed_field_23_key (replaced by input payload)
    • message_embed_field_23_value (replaced by input payload)
    • message_embed_field_24_isinline (replaced by input payload)
    • message_embed_field_24_key (replaced by input payload)
    • message_embed_field_24_value (replaced by input payload)
    • message_embed_footericonurl (replaced by input payload)
    • message_embed_footertext (replaced by input payload)
    • message_embed_imageurl (replaced by input payload)
    • message_embed_thumbnailurl (replaced by input payload)
    • message_embed_title (replaced by input payload)
    • message_embed_titleurl (replaced by input payload)
    • message_embed_videourl (replaced by input payload)
    • message_text (replaced by input payload)
    • message_usetexttospeech (replaced by input payload)
    • variable_join
    • variable_list_external
    • variable_prefix
    • variable_suffix
    • webhook_avatarurl (replaced by input payload)
    • webhook_id (replaced by input key)
    • webhook_name (replaced by input payload)
    • webhook_token (replaced by input key)
  • REMOVE: Removed variable system

- TypeScript
Published by hugoalh about 4 years ago

hugoalh/send-discord-webhook-ghaction - 4.0.0 Beta 1

⚠️ Important

Not Compatible With Older Versions

Begin from v4.0.0-beta.1, it is no longer compatible with older versions due to the rework. See detail changelog for more information.

Renamed

This action's repository is renamed from hugoalh/GitHubAction.SendToDiscord to hugoalh/send-discord-webhook-ghaction in order to have a better identification; It is recommended to replace the old name with new name for the workflow files to prevent unable to use this action in the future.


  • ADD: Added new dependencies:
    • @hugoalh/more-method
    • ajv
    • ajv-formats
    • ajv-formats-draft2019
    • form-data
  • ADD: Added new inputs:
    • dryrun
    • files
    • key
    • method
    • payload
    • threadid
    • truncate_ellipsis
    • truncate_enable
    • truncate_position
    • wait
  • ADD: Added new target environment and entrypoint Docker
  • CHANGE: Changed default entrypoint from NodeJS to Docker
  • CHANGE: Minified codes
  • CHANGE: Updated dependencies:
    • @actions/core from v1.2.6 to v1.6.0
    • @hugoalh/advanced-determine from v4.2.0 to v6.4.2
    • node-fetch from v2.6.1 to v3.1.0
  • CHANGE: Updated target NodeJS environment:
    • NodeJS from v12.13.0 to v14.15.0
    • NPM from v6.12.0 to v6.14.8
  • REMOVE: Removed dependencies:
    • @actions/github
    • escape-string-regexp
    • flat
    • jsonc
    • yaml
  • REMOVE: Removed inputs:
    • configuration (replaced by input payload)
    • github_token
    • message_embed_authoravatarurl (replaced by input payload)
    • message_embed_authorname (replaced by input payload)
    • message_embed_authorurl (replaced by input payload)
    • message_embed_colour (replaced by input payload)
    • message_embed_description (replaced by input payload)
    • message_embed_field_0_isinline (replaced by input payload)
    • message_embed_field_0_key (replaced by input payload)
    • message_embed_field_0_value (replaced by input payload)
    • message_embed_field_1_isinline (replaced by input payload)
    • message_embed_field_1_key (replaced by input payload)
    • message_embed_field_1_value (replaced by input payload)
    • message_embed_field_2_isinline (replaced by input payload)
    • message_embed_field_2_key (replaced by input payload)
    • message_embed_field_2_value (replaced by input payload)
    • message_embed_field_3_isinline (replaced by input payload)
    • message_embed_field_3_key (replaced by input payload)
    • message_embed_field_3_value (replaced by input payload)
    • message_embed_field_4_isinline (replaced by input payload)
    • message_embed_field_4_key (replaced by input payload)
    • message_embed_field_4_value (replaced by input payload)
    • message_embed_field_5_isinline (replaced by input payload)
    • message_embed_field_5_key (replaced by input payload)
    • message_embed_field_5_value (replaced by input payload)
    • message_embed_field_6_isinline (replaced by input payload)
    • message_embed_field_6_key (replaced by input payload)
    • message_embed_field_6_value (replaced by input payload)
    • message_embed_field_7_isinline (replaced by input payload)
    • message_embed_field_7_key (replaced by input payload)
    • message_embed_field_7_value (replaced by input payload)
    • message_embed_field_8_isinline (replaced by input payload)
    • message_embed_field_8_key (replaced by input payload)
    • message_embed_field_8_value (replaced by input payload)
    • message_embed_field_9_isinline (replaced by input payload)
    • message_embed_field_9_key (replaced by input payload)
    • message_embed_field_9_value (replaced by input payload)
    • message_embed_field_10_isinline (replaced by input payload)
    • message_embed_field_10_key (replaced by input payload)
    • message_embed_field_10_value (replaced by input payload)
    • message_embed_field_11_isinline (replaced by input payload)
    • message_embed_field_11_key (replaced by input payload)
    • message_embed_field_11_value (replaced by input payload)
    • message_embed_field_12_isinline (replaced by input payload)
    • message_embed_field_12_key (replaced by input payload)
    • message_embed_field_12_value (replaced by input payload)
    • message_embed_field_13_isinline (replaced by input payload)
    • message_embed_field_13_key (replaced by input payload)
    • message_embed_field_13_value (replaced by input payload)
    • message_embed_field_14_isinline (replaced by input payload)
    • message_embed_field_14_key (replaced by input payload)
    • message_embed_field_14_value (replaced by input payload)
    • message_embed_field_15_isinline (replaced by input payload)
    • message_embed_field_15_key (replaced by input payload)
    • message_embed_field_15_value (replaced by input payload)
    • message_embed_field_16_isinline (replaced by input payload)
    • message_embed_field_16_key (replaced by input payload)
    • message_embed_field_16_value (replaced by input payload)
    • message_embed_field_17_isinline (replaced by input payload)
    • message_embed_field_17_key (replaced by input payload)
    • message_embed_field_17_value (replaced by input payload)
    • message_embed_field_18_isinline (replaced by input payload)
    • message_embed_field_18_key (replaced by input payload)
    • message_embed_field_18_value (replaced by input payload)
    • message_embed_field_19_isinline (replaced by input payload)
    • message_embed_field_19_key (replaced by input payload)
    • message_embed_field_19_value (replaced by input payload)
    • message_embed_field_20_isinline (replaced by input payload)
    • message_embed_field_20_key (replaced by input payload)
    • message_embed_field_20_value (replaced by input payload)
    • message_embed_field_21_isinline (replaced by input payload)
    • message_embed_field_21_key (replaced by input payload)
    • message_embed_field_21_value (replaced by input payload)
    • message_embed_field_22_isinline (replaced by input payload)
    • message_embed_field_22_key (replaced by input payload)
    • message_embed_field_22_value (replaced by input payload)
    • message_embed_field_23_isinline (replaced by input payload)
    • message_embed_field_23_key (replaced by input payload)
    • message_embed_field_23_value (replaced by input payload)
    • message_embed_field_24_isinline (replaced by input payload)
    • message_embed_field_24_key (replaced by input payload)
    • message_embed_field_24_value (replaced by input payload)
    • message_embed_footericonurl (replaced by input payload)
    • message_embed_footertext (replaced by input payload)
    • message_embed_imageurl (replaced by input payload)
    • message_embed_thumbnailurl (replaced by input payload)
    • message_embed_title (replaced by input payload)
    • message_embed_titleurl (replaced by input payload)
    • message_embed_videourl (replaced by input payload)
    • message_text (replaced by input payload)
    • message_usetexttospeech (replaced by input payload)
    • variable_join
    • variable_list_external
    • variable_prefix
    • variable_suffix
    • webhook_avatarurl (replaced by input payload)
    • webhook_id (replaced by input key)
    • webhook_name (replaced by input payload)
    • webhook_token (replaced by input key)
  • REMOVE: Removed variable system

- TypeScript
Published by hugoalh about 4 years ago

hugoalh/send-discord-webhook-ghaction - 3.1.1

  • CHANGE: Code polish
  • RESOLVE: Fix suspicious black dot appear when use text/content only
    • Resolve #50

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.1.0

  • IMPROVE: Better support on the GitHub action's expression
  • IMPROVE: Code polish and remove some duplicated work
  • IMPROVE: Improvement on the variable system to prevent program error by specific characters

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.1.0 Release Candidate 2

⚠️ Important

This is pre-release, do not use in the production environment!


  • IMPROVE: Better support on the GitHub action's expression
  • IMPROVE: Improvement on the variable system to prevent program error by specific characters

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.1.0 Release Candidate 1

⚠️ Important

This is pre-release, do not use in the production environment!


  • IMPROVE: Better support on the GitHub action's expression
  • IMPROVE: Improvement on the variable system to prevent program error by specific characters

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.2

  • FIX: Fix workflow argument message_embed_colour and configuration argument embeds.<Array>.color still using a deprecated value "invisible" as default value
    • Default value replaced by "black" ("invisible" is actually "black", it just "invisible" in the dark mode)
    • Resolve #42 and thank you @alexrp 👍
  • FIX: Patch a very minor security issue

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.1

⚠️ Important

Bug fix in v3.0.2.


  • IMPROVE: Split up some of the codes as module to improve performance
  • IMPROVE: Update dependency

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.1 Release Candidate 1

⚠️ Important

This is pre-release, do not use in the production environment!


  • IMPROVE: Split up some of the codes as module to improve performance
  • IMPROVE: Update dependency

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.0

⚠️ Important

Bug fix in v3.0.2.


  • ADD: Engine has new minimum requirement:
    • NodeJS v12.13.0
    • NPM v6.12.0
  • ADD: Support debug log to trigger to log content/value or not
  • ADD: Support embed configuration with stringify JSON
  • ADD: Support external configuration file (store in the same repository) with type of .json, .jsonc, .yaml, or .yml
  • ADD: Support log to log step
  • ADD: Support up to 10 embeds in one message (via embed configuration or external configuration file)
  • CHANGE: Network request process move from embedded HTTPS module to node-fetch
  • FIX: Fix issue in character cropper that can cause the cropper crop too much character
  • IMPROVE: Code polish
  • IMPROVE: Improve data validator and add total limit rule
  • IMPROVE: Improve error flow
  • IMPROVE: Improve variable system mechanism

Where is v2.1.0?

All of the feature and fix in v2.1.0 has been merged in to v3.0.0, and v2 is deprecated by v3.

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.0 Release Candidate 6

⚠️ Important

This is pre-release, do not use in the production environment!


  • FIX: Fix when using workflow argument will bypass data validator
  • FIX: Fix when using workflow argument or configuration argument will unable to skip optional parameters

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.0 Release Candidate 5

⚠️ Important

This is pre-release, do not use in the production environment!


IMPROVE: Improve error flow

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.0 Release Candidate 4

⚠️ Important

This is pre-release, do not use in the production environment!


(N/A)

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.0 Release Candidate 3

⚠️ Important

This is pre-release, do not use in the production environment!


FIX: Fix file decoder

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.0 Release Candidate 2

⚠️ Important

This is pre-release, do not use in the production environment!


FIX: Fix dynamic require

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 3.0.0 Release Candidate 1

⚠️ Important

This is pre-release, do not use in the production environment!


  • ADD: Engine has new minimum requirement:
    • NodeJS v12.13.0
    • NPM v6.12.0
  • ADD: Support debug log to trigger to log content/value or not
  • ADD: Support embed configuration with stringify JSON
  • ADD: Support external configuration file (store in the same repository) with type of .json, .jsonc, .yaml, or .yml
  • ADD: Support log to log step
  • ADD: Support up to 10 embeds in one message (via embed configuration or external configuration file)
  • CHANGE: Network request process move from embedded HTTPS module to node-fetch
  • FIX: Fix issue in character cropper that can cause the cropper crop too much character
  • IMPROVE: Code polish
  • IMPROVE: Improve data validator and add total limit rule
  • IMPROVE: Improve variable system mechanism

Where is v2.1.0?

All of the feature and fix in v2.1.0 has been merged in to v3.0.0, and v2 will be deprecated by v3 soon.

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 2.1.0 Release Candidate 1

⚠️ Important

This is pre-release, do not use in the production environment!


  • ADD: Engine has new minimum requirement:
    • NodeJS v12.13.0
    • NPM v6.12.0
  • ADD: Support debug log
  • CHANGE: Network request process move from embedded HTTPS module to node-fetch

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 2.0.2

  • Fix compatibility issue
  • Update dependency

- TypeScript
Published by hugoalh about 5 years ago

hugoalh/send-discord-webhook-ghaction - 2.0.1

  • Improve performance
  • Improve error throw flow
  • Improve on handling unexpected input
  • Replace all loose equality to strict equality
  • Update dependency

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 2.0.0

  • No longer bundle dependency in the action's package; instead, automatically use custom setup script to get action's dependency (to prevent non permitted distribute issue)
  • Fix action's logic
    • No longer send a network request when something is wrong before this process
    • Send network request now include user agent (in header)
    • Change variable list system
    • payload for GitHub Action context payload
    • external for external variable list (import from variable_list_external)
    • Decrease amount of variable list input port back to 1
  • Update documentation
  • Update dependency

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.1.6

Fix custom service cause error

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.1.5

⚠ Important

Bug fix in v1.1.6.


Version bump from v1.1.5-beta.1

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.1.5 Beta 1

⚠ Important

Bug fix in v1.1.6.


  • Slightly change how to parse inputs
  • Code polish
  • Update dependency
  • Change how to parse variable list

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.1.3

Update dependency

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.1.2

  • Remove develop dependency:
    • eslint
  • Update documents to the newest edition
  • Optimize code

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.1.1

Reduce action's size to have a faster execute

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.1.0

  • Better formatting
  • Fix message_embed_authorname characters limit
  • Fix typo of charactors

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 1.0.0

  • End of beta
  • Modify script due to Discord change API, https://discordapp.com/api to https://discord.com/api

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 0.3.1

  • Fix letter casing issue
  • Update dependency
  • Update and fix git config

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 0.3.0

  • Change category
  • Change inputs namespace
  • Fix embed fields issue, change how to input embed fields
  • Add more entry points for variable list
  • Add more preset colour

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 0.1.2

Merge GitHub Action template to fix missing XXXX issue

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 0.1.1

Fix some issues

- TypeScript
Published by hugoalh over 5 years ago

hugoalh/send-discord-webhook-ghaction - 0.1.0

Initial pre-release to test if there has any issue left

- TypeScript
Published by hugoalh over 5 years ago