relizy / SlackSocialConfig
Interface: SlackSocialConfig
Defined in: packages/relizy/src/types.ts:1340
Properties
announcements?
optionalannouncements?:SocialAnnouncement[]
Defined in: packages/relizy/src/types.ts:1408
The versions to announce and their content (title, message, links). Without it, every version is announced; with it, only the versions matching an entry.
changelog?
optionalchangelog?:SocialChangelog
Defined in: packages/relizy/src/types.ts:1382
The changelog of the Slack message.
full: commit bodies and PR/issue links included, rendered as rich text blocks (one per changelog section). Commit bodies followchangelog.includeCommitBody.summary: commit titles only, in a single section capped atpostMaxLength.none(orfalse): no changelog. Can be overridden with the--slack-formatCLI flag.
Default
'summary'channel?
optionalchannel?:string
Defined in: packages/relizy/src/types.ts:1357
Slack channel ID or name (e.g., "#releases" or "C1234567890"). Required when using token-based authentication. Ignored (with warning) when webhookUrl is set - the channel is baked into the webhook URL.
credentials?
optionalcredentials?:SlackCredentials
Defined in: packages/relizy/src/types.ts:1372
Slack credentials (optional - falls back to environment variables)
enabled?
optionalenabled?:boolean
Defined in: packages/relizy/src/types.ts:1345
Enable Slack posting
Default
falseexclude?
optionalexclude?:SocialExclude
Defined in: packages/relizy/src/types.ts:1412
Versions never announced, even when an announcement matches them
noAuthors?
optionalnoAuthors?:boolean
Defined in: packages/relizy/src/types.ts:1397
Hide the contributors block in Slack messages. If config.noAuthors is true globally, contributors are always hidden regardless of this setting.
Default
falsenoPackages?
optionalnoPackages?:boolean
Defined in: packages/relizy/src/types.ts:1402
Hide the packages block (list of bumped packages with their before → after versions).
Default
falseonlyStable?
optionalonlyStable?:boolean
Defined in: packages/relizy/src/types.ts:1351
Skip Slack posting for prerelease versions (alpha, beta, rc, etc.) Only stable versions will be posted to Slack
Default
truepostMaxLength?
optionalpostMaxLength?:number
Defined in: packages/relizy/src/types.ts:1391
Maximum length (in characters) of the changelog rendered inside the Slack message. When exceeded, summary drops the last commits, full cuts the changelog where the limit is reached (even inside a commit body) with an ellipsis; the commits left out entirely are announced with an "… and N more changes" line. Defaults to 2500 in summary format (Slack's section limit is 3000) and to no limit in full format, where the message is only bounded by Slack's 50 blocks.
template?
optionaltemplate?:string
Defined in: packages/relizy/src/types.ts:1368
Custom message template Available variables: , , , , , , , , , (see SocialTemplateVariables)
webhookUrl?
optionalwebhookUrl?:string
Defined in: packages/relizy/src/types.ts:1363
Slack Incoming Webhook URL. When set, takes priority over token-based auth. Env fallback: SLACK_WEBHOOK_URL, RELIZY_SLACK_WEBHOOK_URL. See: https://api.slack.com/messaging/webhooks