Skip to content

Commit 6ff7d5a

Browse files
committed
fix: release script when body is null
1 parent b7114ef commit 6ff7d5a

2 files changed

Lines changed: 33 additions & 41 deletions

File tree

scripts/releases.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function fetchReleases(repo) {
4040
}
4141

4242
function extractReleaseThumbnail(body) {
43-
if (!body.includes(`<div id="release-thumbnail">`)) {
43+
if (!body?.includes(`<div id="release-thumbnail">`)) {
4444
return undefined;
4545
}
4646
const goodPart = body

social-data/releases.json

Lines changed: 32 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[
2+
{
3+
"highlights": "<p>✨ Make V2 import atomic for all cases (only for \"fail on conflict\" previously)\n🔎 Allow fine grained conflict strategy for feature fields</p>",
4+
"project": "izanami",
5+
"date": "2026-05-11T13:19:45Z",
6+
"name": "v2.24.0",
7+
"zip": "https://api.github.com/repos/MAIF/izanami/zipball/v2.24.0",
8+
"url": "https://github.com/MAIF/izanami/releases/tag/v2.24.0"
9+
},
210
{
311
"highlights": "<p>🔐 Allow to define max rights for external roles</p>",
412
"project": "izanami",
@@ -8,36 +16,12 @@
816
"url": "https://github.com/MAIF/izanami/releases/tag/v2.19.0"
917
},
1018
{
11-
"highlights": "<p>📋 buttons to ease copy of api key clientid &amp; secrets</p>",
12-
"project": "izanami",
13-
"date": "2025-12-17T01:42:15Z",
14-
"name": "v2.16.0",
15-
"zip": "https://api.github.com/repos/MAIF/izanami/zipball/v2.16.0",
16-
"url": "https://github.com/MAIF/izanami/releases/tag/v2.16.0"
17-
},
18-
{
19-
"highlights": "<p>👷 Leader / worker mode</p>\n<p>🌉 Open tenant and project read to personnal access token</p>",
20-
"project": "izanami",
21-
"date": "2025-12-09T01:46:14Z",
22-
"name": "v2.15.0",
23-
"zip": "https://api.github.com/repos/MAIF/izanami/zipball/v2.15.0",
24-
"url": "https://github.com/MAIF/izanami/releases/tag/v2.15.0"
25-
},
26-
{
27-
"highlights": "<p>🛡Allow duplicating old strategy while impacting indirectly protected contexts</p>\n<p>🌉 Open feature delete, project delete, key delete and tenant creation to personnal access token</p>",
28-
"project": "izanami",
29-
"date": "2025-12-06T00:01:32Z",
30-
"name": "v2.14.0",
31-
"zip": "https://api.github.com/repos/MAIF/izanami/zipball/v2.14.0",
32-
"url": "https://github.com/MAIF/izanami/releases/tag/v2.14.0"
33-
},
34-
{
35-
"highlights": "<p>🫣 Hide mailer &amp; oidc secrets in UI</p>\n<p>⬆ Scala3 &amp; play3 migration</p>",
36-
"project": "izanami",
37-
"date": "2025-10-02T10:05:46Z",
38-
"name": "v2.13.0",
39-
"zip": "https://api.github.com/repos/MAIF/izanami/zipball/v2.13.0",
40-
"url": "https://github.com/MAIF/izanami/releases/tag/v2.13.0"
19+
"highlights": "<blockquote>\n <h2 id=\"warningwarning\">:warning: Warning</h2>\n <p>Starting from this version, the minimum required Java version is <strong>17</strong>. Please update your runtime before </p>\n</blockquote>\n<h2 id=\"starnewfeatures\">:star: New Features</h2>\n<ul>\n<li>Improve \"Team\" and \"Tags\" filters in the API list section <a href=\"https://github.com/MAIF/daikoku/issues/1025\">#1025</a></li>\n<li>Better graphql performance <a href=\"https://github.com/MAIF/daikoku/issues/998\">#998</a></li>\n<li>make Daikoku/Otoroshi sync resumable after interruption <a href=\"https://github.com/MAIF/daikoku/issues/975\">#975</a></li>\n<li>choose some claims provided by oidc server to set user metadata <a href=\"https://github.com/MAIF/daikoku/issues/969\">#969</a></li>\n</ul>\n<h2 id=\"beetlebugfixes\">:beetle: Bug Fixes</h2>\n<ul>\n<li>Admin Api with authentication mode set to Otoroshi <a href=\"https://github.com/MAIF/daikoku/issues/1013\">#1013</a></li>\n<li>LDAP user lookup fails due to email case mismatch <a href=\"https://github.com/MAIF/daikoku/issues/1008\">#1008</a></li>\n<li>Deleted APIs still cause name/slug conflicts on creation <a href=\"https://github.com/MAIF/daikoku/issues/1007\">#1007</a></li>\n<li>Deleting a child API in an aggregagtion does not update the subscription in Daikoku <a href=\"https://github.com/MAIF/daikoku/issues/992\">#992</a></li>\n<li>Subscription view: delete button unresponsive and disable toggle slow to resolve <a href=\"https://github.com/MAIF/daikoku/issues/991\">#991</a></li>\n<li>Subscription view: table filters return empty rows but pagination unchanged <a href=\"https://github.com/MAIF/daikoku/issues/990\">#990</a></li>\n<li>typing \"( \" in the search field of the top bar causes Daikoku to crash with a 500 error. <a href=\"https://github.com/MAIF/daikoku/issues/983\">#983</a></li>\n<li>decouple sync endpoint from sync job env variable <a href=\"https://github.com/MAIF/daikoku/issues/972\">#972</a></li>\n<li>Improve Maintenance Mode Behavior <a href=\"https://github.com/MAIF/daikoku/issues/971\">#971</a></li>\n</ul>",
20+
"project": "daikoku",
21+
"date": "2026-04-21T12:29:01Z",
22+
"name": "v18.8.0",
23+
"zip": "https://api.github.com/repos/MAIF/daikoku/zipball/v18.8.0",
24+
"url": "https://github.com/MAIF/daikoku/releases/tag/v18.8.0"
4125
},
4226
{
4327
"highlights": "<p><strong>Added Features</strong></p>\n<ul>\n<li>Support for Wss Protocol: with the added support for the Wss protocol, the user interface now has the capability to communicate seamlessly with a Wasmo instance deployed using HTTPS</li>\n<li>Exposing Wasmo Behind Proxy: Specify baseURL to expose Wasmo behind a proxy effortlessly.</li>\n<li>New Plugin Creation via CLI: Start a new plugin directly using the CLI, with Izanami and Otoroshi templates available for quick setup.</li>\n<li>Upgrade all Extism PDK Versions: Stay up-to-date with upgraded Extism PDK versions for improved performance and compatibility.</li>\n</ul>",
@@ -47,6 +31,22 @@
4731
"zip": "https://api.github.com/repos/MAIF/wasmo/zipball/1.0.15",
4832
"url": "https://github.com/MAIF/wasmo/releases/tag/1.0.15"
4933
},
34+
{
35+
"highlights": "<ul>\n<li>fix: clipboard content lost on Linux after copy</li>\n<li>build: update dependencies</li>\n</ul>",
36+
"project": "yozefu",
37+
"date": "2026-06-16T15:04:33Z",
38+
"name": "v0.0.30",
39+
"zip": "https://api.github.com/repos/MAIF/yozefu/zipball/v0.0.30",
40+
"url": "https://github.com/MAIF/yozefu/releases/tag/v0.0.30"
41+
},
42+
{
43+
"highlights": "<ul>\n<li>refactoring: New methods to parse a kafka record</li>\n<li>ci: trying to secure the CI pipeline</li>\n<li>build: update dependencies</li>\n</ul>",
44+
"project": "yozefu",
45+
"date": "2026-04-10T10:31:12Z",
46+
"name": "v0.0.29",
47+
"zip": "https://api.github.com/repos/MAIF/yozefu/zipball/v0.0.29",
48+
"url": "https://github.com/MAIF/yozefu/releases/tag/v0.0.29"
49+
},
5050
{
5151
"highlights": "<ul>\n<li>perf: Removed a useless <code>clone()</code> of the records buffer</li>\n<li>perf: Do not highlight the kafka record when it's too big</li>\n<li>build: update dependencies by @Mcdostone</li>\n</ul>",
5252
"project": "yozefu",
@@ -188,8 +188,8 @@
188188
"project": "shapash",
189189
"date": "2026-01-20T14:00:54Z",
190190
"name": "v2.8.0",
191-
"zip": "https://api.github.com/repos/MAIF/shapash/zipball/2.8.0",
192-
"url": "https://github.com/MAIF/shapash/releases/tag/2.8.0"
191+
"zip": "https://api.github.com/repos/MAIF/shapash/zipball/v2.8.0",
192+
"url": "https://github.com/MAIF/shapash/releases/tag/v2.8.0"
193193
},
194194
{
195195
"highlights": "<p>This release brings important fixes to enhance both the visualization capabilities and the stability of the Shapash package.</p>\n<ul>\n<li><p><strong>Plot Title Overlap Fix</strong>: We have resolved an issue where the plot titles were incorrectly positioned, leading to overlaps with the graph when users specified different figure heights.</p></li>\n<li><p><strong>Fix for Shortened Label Duplication</strong>: In cases where long feature names were programmatically shortened for better visualization, duplicate labels could lead to missing lines in the correlation matrix.</p></li>\n<li><p><strong>Restoration of Missing Files in Shapash Package</strong>: Several important files such as <code>*.ipynb</code>, <code>*.html</code>, and <code>*.j2</code> were missing in previous package versions, causing issues and preventing the generation of reports. These files are now properly included, restoring full functionality to the package.</p></li>\n</ul>",
@@ -239,14 +239,6 @@
239239
"zip": "https://api.github.com/repos/MAIF/shapash/zipball/v2.5.0",
240240
"url": "https://github.com/MAIF/shapash/releases/tag/v2.5.0"
241241
},
242-
{
243-
"highlights": "<p>Major announcements in this release are :<br /></p>\n<ul>\n<li>Shapash support Python 3.11 <br /></li>\n<li>Shapash can compute Shapeley values through Shap for any model supported by Shap</li>\n</ul>",
244-
"project": "shapash",
245-
"date": "2023-12-01T08:36:46Z",
246-
"name": "v2.4.0: ⬆️ Support for Python 3.11",
247-
"zip": "https://api.github.com/repos/MAIF/shapash/zipball/v2.4.0",
248-
"url": "https://github.com/MAIF/shapash/releases/tag/v2.4.0"
249-
},
250242
{
251243
"highlights": "<p>Fixes:</p>\n<ul>\n<li>Remove some false positive error logs by @develop-cs in https://github.com/MAIF/arta/pull/57</li>\n</ul>\n<p>Maintenance:</p>\n<ul>\n<li>Python 3.14 support.</li>\n</ul>",
252244
"project": "arta",

0 commit comments

Comments
 (0)