From 226ffd3d30ac0b444c48ce0c924b07772c47a608 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Wed, 17 Apr 2024 08:35:08 +0000 Subject: [PATCH] Adjust capitalisation of generated changelog entry title (#712) Switches it to sentence case (only the first letter capitalised, unless the word is a proper noun such as a Heroku product name), for consistency with the style used for all other changelog entries: https://devcenter.heroku.com/changelog --- support/devcenter/changelog.twig | 2 +- test/fixtures/devcenter/changelog/changelog-nothingnew.md | 2 +- test/fixtures/devcenter/changelog/changelog.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/support/devcenter/changelog.twig b/support/devcenter/changelog.twig index fa9a93cd7..bae01637d 100644 --- a/support/devcenter/changelog.twig +++ b/support/devcenter/changelog.twig @@ -1,4 +1,4 @@ -{{"now"|date("F Y", "UTC")}} PHP Updates +{{"now"|date("F Y", "UTC")}} PHP updates ---- {% if phps %} The following new [PHP runtime versions](https://devcenter.heroku.com/articles/php-support#available-versions) are now available: diff --git a/test/fixtures/devcenter/changelog/changelog-nothingnew.md b/test/fixtures/devcenter/changelog/changelog-nothingnew.md index f4150881d..3200ed357 100644 --- a/test/fixtures/devcenter/changelog/changelog-nothingnew.md +++ b/test/fixtures/devcenter/changelog/changelog-nothingnew.md @@ -1,2 +1,2 @@ -%B %Y PHP Updates +%B %Y PHP updates ---- diff --git a/test/fixtures/devcenter/changelog/changelog.md b/test/fixtures/devcenter/changelog/changelog.md index d9b243259..fdecf08e0 100644 --- a/test/fixtures/devcenter/changelog/changelog.md +++ b/test/fixtures/devcenter/changelog/changelog.md @@ -1,4 +1,4 @@ -%B %Y PHP Updates +%B %Y PHP updates ---- The following new [PHP runtime versions](https://devcenter.heroku.com/articles/php-support#available-versions) are now available: