Repository navigation
v1.11.0
⚠️ Breaking Changes
See the v1.11 Upgrade Guide for details.
Before you upgrade
-
Run
outpost migrate apply --yesbefore starting v1.11. The Redis migration004_escape_idsis pending. Runoutpost migrate planfirst: ifkeys_to_moveis not0, 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_headersand removes a header by leaving it out, change it to send that header asnull. -
If you use the tenant portal or tenant JWTs, set
API_JWT_SECRET. -
Updating
config.custom_headerson a webhook destination changes only the headers sent: a header left out is kept, a header set tonullis removed,{}changes nothing, andnullfor the field removes all headers. Before, an update replaced the whole object. by @alexluong in #1254 -
Without
API_JWT_SECRET, tenant JWTs get a401, and the tenant token and portal endpoints return501. Before, tokens signed with an empty key were accepted. Tokens must be HS256 and carryexp, 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 migration004_escape_idsmoves 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 anAuthorizationtoken. 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 whenPORTAL_ENABLE_WEBHOOK_CUSTOM_HEADERSis 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 optionalPUBLISH_AWS_SQS_EXTERNAL_ID,PUBLISH_AWS_SQS_ROLE_SESSION_NAMEandPUBLISH_AWS_SQS_STS_REGION. by @alexluong in #1245, #1258
Fixes
- Publish idempotency is per tenant: the same event
idpublished 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 configandcredentialskeys 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_sqsdestinations maskcredentials.session. by @alexluong in #1256
Updates
- v1.10 upgrade guide. by @alexluong in #1249
- Updated architecture diagram. by @thomasklepacz in #1253
- The SDK tests against the released image allow custom endpoints. by @alexluong in #1252
Full Changelog: v1.10.0...v1.11.0