Skip to content

Add redirect_to_canonical_url field to Newsroom#406

Merged
JesseWynants merged 1 commit into
masterfrom
feature/newsroom-redirect-to-canonical-url
May 27, 2026
Merged

Add redirect_to_canonical_url field to Newsroom#406
JesseWynants merged 1 commit into
masterfrom
feature/newsroom-redirect-to-canonical-url

Conversation

@JesseWynants
Copy link
Copy Markdown
Contributor

@JesseWynants JesseWynants commented May 27, 2026

Summary

  • Adds the per-newsroom redirect_to_canonical_url: boolean field to the Newsroom type
  • Adds the matching optional field to Newsrooms.UpdateRequest

Mirrors the backend addition in prezly/prezly#18719, which exposes the field on the Newsroom API and accepts it in newsroom updates (gated server-side by the STORY_CANONICAL_URL_REDIRECTION license feature flag).

Test plan

  • npx tsc --noEmit passes
  • Cut a new minor release (26.5.0) after merge and publish to NPM

Exposes the per-newsroom flag added in prezly/prezly#18719 on the
Newsroom type and the Newsrooms.UpdateRequest payload.
@JesseWynants JesseWynants merged commit e644c40 into master May 27, 2026
5 checks passed
@JesseWynants JesseWynants deleted the feature/newsroom-redirect-to-canonical-url branch May 27, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant