Skip to content

Commit 811f48b

Browse files
authored
Add private fork links to the changelog (#98)
1 parent 1e194bb commit 811f48b

File tree

3 files changed

+24
-37
lines changed

3 files changed

+24
-37
lines changed

CHANGELOG.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All notable changes to this project are documented in this file by a CI job
44
that runs on every NPM release. The file follows the [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
55
format.
66

7+
78
## [v1.0.30] (2025-04-07)
89

910
### Bug Fixes
@@ -32,20 +33,21 @@ The following contributors merged PRs in this release:
3233

3334
### Various
3435

35-
- Blueprint bundles.
36-
- CORS Proxy: fetch() with credentials: "include".
37-
- Exif support for PHP-wasm.
38-
- Remove Data Liberation PHP modules.
39-
- Stop suppressing 64bit integer PHP warnings as 64bit longs are now suppoted.
40-
- [Blueprints] setSiteLanguage fetch translation package URL from WP.org.
41-
- [Website] Drop the static <link rel="manifest"> tag and generate one in JavaScript instead.
36+
- Blueprint bundles. ([#75](https://github.com/Automattic/wordpress-playground-private/pull/75))
37+
- CORS Proxy: fetch() with credentials: "include". ([#66](https://github.com/Automattic/wordpress-playground-private/pull/66))
38+
- Exif support for PHP-wasm. ([#72](https://github.com/Automattic/wordpress-playground-private/pull/72))
39+
- Remove Data Liberation PHP modules. ([#79](https://github.com/Automattic/wordpress-playground-private/pull/79))
40+
- Stop suppressing 64bit integer PHP warnings as 64bit longs are now suppoted. ([#76](https://github.com/Automattic/wordpress-playground-private/pull/76))
41+
- [Blueprints] setSiteLanguage fetch translation package URL from WP.org. ([#81](https://github.com/Automattic/wordpress-playground-private/pull/81))
42+
- [Website] Drop the static <link rel="manifest"> tag and generate one in JavaScript instead. ([#78](https://github.com/Automattic/wordpress-playground-private/pull/78))
4243

4344
### Contributors
4445

4546
The following contributors merged PRs in this release:
4647

4748
@adamziel @bgrgicak
4849

50+
4951
## [v1.0.28] (2025-03-05)
5052

5153
### Various

packages/docs/site/docs/main/changelog.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to this project are documented in this file by a CI job
99
that runs on every NPM release. The file follows the [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
1010
format.
1111

12+
1213
## [v1.0.30] (2025-04-07)
1314

1415
### Bug Fixes
@@ -37,20 +38,21 @@ The following contributors merged PRs in this release:
3738

3839
### Various
3940

40-
- Blueprint bundles.
41-
- CORS Proxy: fetch() with credentials: "include".
42-
- Exif support for PHP-wasm.
43-
- Remove Data Liberation PHP modules.
44-
- Stop suppressing 64bit integer PHP warnings as 64bit longs are now suppoted.
45-
- [Blueprints] setSiteLanguage fetch translation package URL from WP.org.
46-
- [Website] Drop the static <link rel="manifest"> tag and generate one in JavaScript instead.
41+
- Blueprint bundles. ([#75](https://github.com/Automattic/wordpress-playground-private/pull/75))
42+
- CORS Proxy: fetch() with credentials: "include". ([#66](https://github.com/Automattic/wordpress-playground-private/pull/66))
43+
- Exif support for PHP-wasm. ([#72](https://github.com/Automattic/wordpress-playground-private/pull/72))
44+
- Remove Data Liberation PHP modules. ([#79](https://github.com/Automattic/wordpress-playground-private/pull/79))
45+
- Stop suppressing 64bit integer PHP warnings as 64bit longs are now suppoted. ([#76](https://github.com/Automattic/wordpress-playground-private/pull/76))
46+
- [Blueprints] setSiteLanguage fetch translation package URL from WP.org. ([#81](https://github.com/Automattic/wordpress-playground-private/pull/81))
47+
- [Website] Drop the static <link rel="manifest"> tag and generate one in JavaScript instead. ([#78](https://github.com/Automattic/wordpress-playground-private/pull/78))
4748

4849
### Contributors
4950

5051
The following contributors merged PRs in this release:
5152

5253
@adamziel @bgrgicak
5354

55+
5456
## [v1.0.28] (2025-03-05)
5557

5658
### Various

packages/meta/src/changelog.ts

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -690,11 +690,7 @@ function getEntry(issue: IssuesListForRepoResponseItem): string | undefined {
690690
return undefined;
691691
}
692692

693-
if (isUrlForPublicPlaygroundRepo(issue.html_url)) {
694-
// We can link to the PR in the public Playground repo.
695-
title = formatTitleWithLinkToPR(title, issue.number, issue.html_url);
696-
}
697-
693+
title = formatTitleWithLinkToPR(title, issue.number, issue.html_url);
698694
return `- ${title}`;
699695
}
700696

@@ -715,17 +711,6 @@ function formatTitleWithLinkToPR(
715711
return `${title} ([#${number}](${url}))`;
716712
}
717713

718-
/**
719-
* Answers whether a URL is for the public Playground repo on GitHub.
720-
*
721-
* @param {string} url The URL
722-
*
723-
* @return Whether or not the URL is for the public Playground repo on GitHub.
724-
*/
725-
function isUrlForPublicPlaygroundRepo(url: string) {
726-
return url.startsWith('https://github.com/WordPress/wordpress-playground/');
727-
}
728-
729714
/**
730715
* Returns a formatted changelog entry for a given issue object and matching feature name, or undefined
731716
* if entry should be omitted.
@@ -980,13 +965,11 @@ function getContributorPropsMarkdownList(
980965
return ftcPRs.reduce((markdownList, pr) => {
981966
let title = getNormalizedTitle(pr.title, pr) || '';
982967

983-
if (isUrlForPublicPlaygroundRepo(pr.pull_request.html_url)) {
984-
title = formatTitleWithLinkToPR(
985-
title,
986-
pr.number,
987-
pr.pull_request.html_url
988-
);
989-
}
968+
title = formatTitleWithLinkToPR(
969+
title,
970+
pr.number,
971+
pr.pull_request.html_url
972+
);
990973

991974
markdownList += '- ' + '@' + pr.user.login + ': ' + title + '\n';
992975
return markdownList;

0 commit comments

Comments
 (0)