Skip to content

1.1.0

Latest

Choose a tag to compare

@bastianallgeier bastianallgeier released this 17 Jan 12:53
· 1 commit to main since this release
843f2ac

🎉 Features

  • New dryrun option to return the sent data as array. This is perfect to debug what is going to be sent to Discord's API.
$response = Discord::submit(
  webhook: 'https://discord.com/api/webhooks/xxx/xxx',
  image: 'https://example.com/image.jpg',
  dryrun: true
);
  • Support for missing params:
    • content
    • thumbnail
    • timestamp

🐛 Bug fixes

  • Fixed support for fields

♻️ Refactored

  • Sorted optional params and output arrays alphabetically

🧹Housekeeping

  • Added unit tests and code quality checks
  • CI setup
  • Improved readme
  • Added version number to composer.json to display it in the plugins table of the Panel.