Skip to content

v1.11.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 18:23
· 11 commits to main since this release
24acd53

⚠️ Breaking Changes

See the v1.11 Upgrade Guide for details.

Before you upgrade

  • Run outpost migrate apply --yes before starting v1.11. The Redis migration 004_escape_ids is pending. Run outpost migrate plan first: if keys_to_move is not 0, read the upgrade guide to choose between stopping v1.10 first and a rolling update.

  • If a client updates a webhook destination's config.custom_headers and removes a header by leaving it out, change it to send that header as null.

  • If you use the tenant portal or tenant JWTs, set API_JWT_SECRET.

  • Updating config.custom_headers on a webhook destination changes only the headers sent: a header left out is kept, a header set to null is removed, {} changes nothing, and null for the field removes all headers. Before, an update replaced the whole object. by @alexluong in #1254

  • Without API_JWT_SECRET, tenant JWTs get a 401, and the tenant token and portal endpoints return 501. Before, tokens signed with an empty key were accepted. Tokens must be HS256 and carry exp, as the ones Outpost issues do. by @alexluong in #1257

  • Tenant, destination and event IDs are escaped in Redis keys, so IDs that contain %, :, { or } no longer collide with another tenant's or destination's keys. The migration 004_escape_ids moves the stored tenants and destinations with such IDs; others are unchanged. by @alexluong in #1239

Features

  • Webhook destinations accept credentials.custom_headers, for headers with secret values such as an Authorization token. They are encrypted at rest, masked in API responses, kept through secret rotation, and dropped when a followed redirect leaves the original host or port. The portal shows them as Secret Headers when PORTAL_ENABLE_WEBHOOK_CUSTOM_HEADERS is on. by @alexluong in #1254
  • The SQS publish queue can be read through an assumed IAM role, for example a queue in another AWS account: PUBLISH_AWS_SQS_ROLE_ARN, with optional PUBLISH_AWS_SQS_EXTERNAL_ID, PUBLISH_AWS_SQS_ROLE_SESSION_NAME and PUBLISH_AWS_SQS_STS_REGION. by @alexluong in #1245, #1258

Fixes

  • Publish idempotency is per tenant: the same event id published for two tenants is delivered to both. Delivery idempotency keys and retries are also scoped by tenant. Around the upgrade, an event or attempt can be delivered one extra time. by @alexluong in #1255
  • config and credentials keys a destination type doesn't define are ignored on create and update: they aren't stored or returned. Keys already stored are still returned until the destination's next update, which removes them. aws_sqs destinations mask credentials.session. by @alexluong in #1256

Updates

Full Changelog: v1.10.0...v1.11.0