Skip to content

Releases: hookdeck/hookdeck-cli

v1.0.0-beta.3

16 Jun 12:46
2cd5734
Compare
Choose a tag to compare

Breaking Changes

  • In previous versions, the global configuration was loaded, and configuration items were overridden based on any local configuration. The new functionality supports only a single configuration (default location or local). By @alexluong in #103

Features

  • Filter projects with project list [organization_name] [project_name] in #128
  • Active projects with project use [organization_name] [project_name] in #128

Updates

  • Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by @dependabot in #124
  • Hide api-key and cli-key global flags by @leggetter in #105
  • Configuration file properties updated from workspace_ to project_ with backward compatibility in #128

Full Changelog: v0.11.3...v1.0.0-beta.3

v1.0.0-beta.2

16 Jun 12:11
ef5e56f
Compare
Choose a tag to compare

Breaking Changes

  • In previous versions, the global configuration was loaded, and configuration items were overridden based on any local configuration. The new functionality supports only a single configuration (default location or local). By @alexluong in #103

Features

  • Filter projects with project list [organization_name] [project_name] in #128
  • Active projects with project use [organization_name] [project_name] in #128

Updates

  • Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by @dependabot in #124
  • Hide api-key and cli-key global flags by @leggetter in #105
  • Configuration file properties updated from workspace_ to project_ with backward compatibility in #128

Full Changelog: v0.11.3...v1.0.0-beta.2

v1.0.0-beta.1

16 Jun 11:41
09edd02
Compare
Choose a tag to compare

Breaking Changes

  • In previous versions, the global configuration was loaded, and configuration items were overridden based on any local configuration. The new functionality supports only a single configuration (default location or local). By @alexluong in #103

Features

  • Filter projects with project list [organization_name] [project_name] in #128
  • Active projects with project use [organization_name] [project_name] in #128

Updates

  • Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by @dependabot in #124
  • Hide api-key and cli-key global flags by @leggetter in #105
  • Configuration file properties updated from workspace_ to project_ with backward compatibility in #128

Full Changelog: v0.11.3...v1.0.0-beta.1

v0.11.3

29 May 19:02
10d5577
Compare
Choose a tag to compare

Fixes

  • Prevent lowercase of the source parameter when using hookdeck listen by @alexluong in #123

Updates

Multiple dependency updates:

  • chore(deps): bump github.com/briandowns/spinner from 1.11.1 to 1.23.2 by @dependabot in #119
  • chore(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.3 by @dependabot in #118
  • chore(deps): bump github.com/AlecAivazis/survey/v2 from 2.2.9 to 2.3.7 by @dependabot in #107
  • chore(deps): bump github.com/BurntSushi/toml from 0.3.1 to 1.5.0 by @dependabot in #121

Full Changelog: v0.11.2...v0.11.3

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