Skip to content

Commit bb374d3

Browse files
amyblaiswiersgallaksvelleCopilotclaude
authored
Update generate_changelog.py (#9099)
* Update mattermost-v11-changelog.md (#9098) * Update generate_changelog.py * Update generate_changelog.py * Enhance SAML configuration instructions for Mattermost (#8914) * Enhance SAML configuration instructions for Mattermost Updated instructions for configuring SAML attributes and claims in Entra for Mattermost integration, including detailed explanations of required and additional claims. * Update sso-saml-entraid.rst * Update sso-saml-entraid.rst * Update sso-saml-entraid.rst * Add image for Tenant ID location in Entra Added an image reference for the Tenant ID location in Entra. * Add files via upload * Fix formatting of image attributes in SSO SAML guide * Update source/administration-guide/onboard/sso-saml-entraid.rst Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update source/administration-guide/onboard/sso-saml-entraid.rst Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update source/administration-guide/onboard/sso-saml-entraid.rst Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update source/administration-guide/onboard/sso-saml-entraid.rst Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update source/administration-guide/onboard/sso-saml-entraid.rst Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add files via upload * Update source/administration-guide/onboard/sso-saml-entraid.rst Make assigning users/groups the default path in step 8; move the "Assignment required? = No" option into a warning directive that notes it grants access to all tenant users and prompts the reader to evaluate fit for their environment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Update source/administration-guide/onboard/sso-saml-entraid.rst Clarify Sign Request step to distinguish Mattermost signing outbound AuthnRequests from Entra signing responses/assertions; specify that Entra requires RSA-SHA256 for signed requests; add missing Entra-side step to upload the SP public certificate under Verification certificates. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Combs7th <147677911+Combs7th@users.noreply.github.com> --------- Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com> Co-authored-by: Sven Hüster <sven@mattermost.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Combs7th <147677911+Combs7th@users.noreply.github.com>
1 parent 1ec89b2 commit bb374d3

5 files changed

Lines changed: 108 additions & 38 deletions

File tree

.github/scripts/generate_changelog.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
7373
Adapt the plan name (e.g. "Changes to All plans:", "Changes to Enterprise plan:", "Changes to Enterprise Advanced plan:") and list each setting change as a bullet under the appropriate plan heading.
7474
- `#### Compatibility` — minimum version requirement changes for browsers, OS, or clients. Example: "Updated minimum Edge and Chrome versions to 146+."
75-
- `### Improvements` — for new features and enhancements only. Do NOT place items beginning with "Fixed..." here — those belong in Bug Fixes. Begin this section with the line `See [this blog post](BLOG_POST_URL) on the highlights in our latest release.` (use the exact placeholder `BLOG_POST_URL` — it will be replaced automatically), followed by a blank line before the first `####` subsection heading. Then add subsections as applicable:
75+
- `### Improvements` — for new features and enhancements only. Do NOT place items beginning with "Fixed..." here — those belong in Bug Fixes. Begin this section with the line `See BLOG_POST_LINK on the highlights in our latest release.` (use the exact placeholder `BLOG_POST_LINK` — it will be replaced automatically with a Markdown link), followed by a blank line before the first `####` subsection heading. Then add subsections as applicable:
7676
- `#### User Interface` — user interface and UX changes and new visual features. Pre-packaged plugin version updates go at the TOP of this subsection, before other items. Always write "user interface" in full — never abbreviate as "UI".
7777
- `#### Plugins/Integrations` — plugin and integration improvements (use as a separate subsection when there are enough items to warrant it)
7878
- `#### Administration` — System Console features, logging, support packet changes
@@ -391,11 +391,13 @@ def main():
391391
polished = polish_with_ai(all_notes)
392392
blog_url = os.environ.get("BLOG_POST_URL", "").strip()
393393
if not blog_url:
394-
# Auto-construct from version: v11.7.0 → https://mattermost.com/blog/mattermost-v11-7-0-is-now-available/
395-
version_slug = VERSION.lstrip("v").replace(".", "-")
394+
# Auto-construct short URL (no patch suffix): v11.6.0 → mattermost-v11-6-is-now-available
395+
version_slug = re.sub(r"-\d+$", "", VERSION.lstrip("v").replace(".", "-"))
396396
blog_url = f"https://mattermost.com/blog/mattermost-v{version_slug}-is-now-available/"
397397
print(f"ℹ️ No blog post URL provided — using auto-constructed URL: {blog_url}")
398-
polished = polished.replace("BLOG_POST_URL", blog_url)
398+
# Format as a Markdown link matching existing changelog style: [this blog post](url)
399+
blog_link = f"[this blog post]({blog_url})"
400+
polished = polished.replace("BLOG_POST_LINK", blog_link)
399401
# Inject the Go Version section: replace the placeholder heading the AI outputs,
400402
# or insert it before ### Open Source Components / ### Security to preserve
401403
# section order, or append at the end if neither anchor exists.

0 commit comments

Comments
 (0)