Releases: hookdeck/hookdeck-cli
Releases · hookdeck/hookdeck-cli
v0.11.2
Fixes
- Fix: persist API key (
--api-key
or--cli-key
) withlogin
command by @leggetter in #101
Full Changelog: v0.11.1...v0.11.2
v0.11.1
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
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
Erroneous release. See https://github.com/hookdeck/hookdeck-cli/releases/tag/v0.11.0
v0.10.1
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
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
v0.9.2
v0.9.1
0.9.1 - 2024-05-02
No changes. Just bumping the NPM version.
See the Hookdeck CLI Changelog for details.
v0.9.0
0.9.0 - 2024-05-02
Breaking changes
- The
workspace
command has been replaced withproject
Changes
- Uses the Hookdeck Go SDK