Skip to content

[WIP] Release agent tooling#2176

Open
r0b1n wants to merge 2 commits intomainfrom
ai/release-info-script
Open

[WIP] Release agent tooling#2176
r0b1n wants to merge 2 commits intomainfrom
ai/release-info-script

Conversation

@r0b1n
Copy link
Copy Markdown
Collaborator

@r0b1n r0b1n commented Apr 16, 2026

No description provided.

@r0b1n r0b1n requested a review from a team as a code owner April 16, 2026 13:58
@r0b1n r0b1n force-pushed the ai/release-info-script branch from 07920ac to 7f00790 Compare April 17, 2026 10:45
Comment on lines +83 to +89
const unreleased = changelog.changelog.content[0];
return unreleased.sections.flatMap(section =>
section.logs.map(log => ({
type: section.type,
description: log
}))
);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a changelog has no entries at all, content[0] is undefined and this throws. Should guard: if (!unreleased) return []

}

interface ChangelogEntry {
type: "Fixed" | "Added" | "Changed" | "Removed" | "Breaking changes";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you mention the breaking changes type, but the release-candidates.ts file does not have it https://github.com/mendix/web-widgets/pull/2176/changes#diff-455469ccfc1eb8c253d3958fc6b9424447d549592886eb89d125c08ff6cf60e6R14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants