Skip to content

Releases: hookdeck/hookdeck-cli

v0.11.2

20 Aug 14:32
d457025
Compare
Choose a tag to compare

Fixes

  • Fix: persist API key (--api-key or --cli-key) with login command by @leggetter in #101

Full Changelog: v0.11.1...v0.11.2

v0.11.1

05 Aug 10:56
cad1698
Compare
Choose a tag to compare

Updates

  • Change flag --cli-path to --path and hide --{x}-base dev flags by @leggetter in #97

Full Changelog: v0.11.0...v0.11.1

v0.11.0

30 Jul 13:34
f83c6f4
Compare
Choose a tag to compare

Updates

listen command now has defaults for connection name and path #92

Previous behavior:

hookdeck listen 3000 stripe
? What path should the events be forwarded to (ie: /webhooks)? /webhooks/stripe
? What's your connection label (ie: My API)? stripe-to-cli

Dashboard
👉 Inspect and replay events: https://dashboard.hookdeck.com?team_id={team_id}

stripe Source
🔌 Event URL: https://hkdk.events/52p56rckope1xq

Connections
stripe-to-cli forwarding to /webhooks/stripe

> Ready! (^C to quit)

New behavior defaults to / for the path and creates a connection name in the format {source_name}-to-cli:

$hookdeck listen 3030 stripe

Dashboard
👉 Inspect and replay events: https://dashboard.hookdeck.com?team_id={team_id}

Sources
🔌 stripe URL: https://hkdk.events/oy28d5cj1o4vqm

Connections
stripe -> stripe_to_cli-stripe forwarding to /

> Ready! (^C to quit)

Features

Listening on multiple sources #70

Supports listening to multiple sources by directly naming them:

$ hookdeck listen 3030 shopify,resend

Listening for events on Sources that have Connections with CLI Destinations

Dashboard
👉 Inspect and replay events: https://dashboard.hookdeck.com?team_id={team_id}

Sources
🔌 shopify URL: https://hkdk.events/m5sutwnc1rb8d4
🔌 resend URL: https://hkdk.events/7qxckz585rvrv9

Connections
resend -> cli-resend forwarding to /webhooks/resend
shopify -> cli-shopify forwarding to /webhooks/shopify

> Ready! (^C to quit)

By passing '*':

$ hookdeck listen 3000 '*'

Listening for events on Sources that have Connections with CLI Destinations

Dashboard
👉 Inspect and replay events: https://dashboard.hookdeck.com?team_id={team_id}

Sources
🔌 resend URL: https://hkdk.events/7qxckz585rvrv9
🔌 shopify URL: https://hkdk.events/m5sutwnc1rb8d4
🔌 twilio-sms URL: https://hkdk.events/sm7gz9xg5rs6rn

Connections
resend -> cli-resend forwarding to /webhooks/resend
twilio-sms -> cli-twilio-sms forwarding to /webhooks/twilio/sms
shopify -> cli-shopify forwarding to /webhooks/shopify

> Ready! (^C to quit)

Ability to set the CLI Path using --cli-path flag #92

Passing a --cli-path {value} argument will update the path request are made to.

Note that the update will only work if there is one matching Destination of type CLI.

$ hookdeck listen 3030 twilio-sms --cli-path /webhooks/twilio-messaging --log-level debug

[Mon, 29 Jul 2024 15:17:15 BST] DEBUG Connection exists for Source "twilio-sms", Connection "", and CLI path "/webhooks/twilio-messaging"
[Mon, 29 Jul 2024 15:17:15 BST] DEBUG Updating destination CLI path from "/webhooks/twilio-sms" to "/webhooks/twilio-messaging"

Dashboard
👉 Inspect and replay events: https://dashboard.hookdeck.com?team_id={team_id}

Sources
🔌 twilio-sms URL: https://hkdk.events/sm7gz9xg5rs6rn

Connections
twilio-sms -> cli-twilio-sms forwarding to /webhooks/twilio-messaging

⣻ Getting ready... [Mon, 29 Jul 2024 15:17:15 BST] DEBUG websocket.client.Run: Attempting to connect to Hookdeck
[Mon, 29 Jul 2024 15:17:15 BST] DEBUG websocket.Client.connect: Dialing websocket url=wss://ws.hookdeck.com
⢿ Getting ready... [Mon, 29 Jul 2024 15:17:16 BST] DEBUG websocket.client.connect: Connected!
> Ready! (^C to quit)

Full Changelog: v0.10.1...v0.11.0

v0.2.0

29 Jul 14:25
c51251b
Compare
Choose a tag to compare

v0.10.1

05 Jun 21:20
a679609
Compare
Choose a tag to compare

Fixes

  • Check if connection has a name before comparing with connection query by @alexluong in #83

Full Changelog: v0.10.0...v0.10.1

v0.10.0

08 May 15:11
Compare
Choose a tag to compare

Fixes

  • Fix empty connection name causing panic: runtime error by @alexluong in #76

Full Changelog: v0.9.2...v0.10.0

v0.9.8-alpha-1

08 May 15:00
f998bf9
Compare
Choose a tag to compare

Changelog

  • f998bf9 Merge pull request #82 from hookdeck/chore/ci-tag-version
  • 10f0ad3 Update package.json version to ${TAG_VERSION}
  • 16fe237 chore(CI): update how tag version is stored and accessed

v0.9.2

03 May 14:34
b75cbce
Compare
Choose a tag to compare

0.9.2 - 2024-05-03

No changes. Update to the build process to fix Linux builds.

v0.9.1

02 May 14:30
2144184
Compare
Choose a tag to compare

0.9.1 - 2024-05-02

No changes. Just bumping the NPM version.

See the Hookdeck CLI Changelog for details.

v0.9.0

02 May 12:48
aeb0732
Compare
Choose a tag to compare

0.9.0 - 2024-05-02

Breaking changes

  • The workspace command has been replaced with project

Changes