feat(aidocs_classes): Enhance changelog generation by supporting complete generation in the absence of previous changelog files

This commit is contained in:
Philipp Kunz 2024-06-23 16:45:20 +02:00
parent 11bde9d756
commit a949039192
3 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Changelog
## 1.1.41
- fix(aidoc_classes): Improve commit message generation by handling empty diffs and updating changelog instructions
## 1.2.0
feat(aidocs_classes): Enhance changelog generation by supporting complete generation in the absence of previous changelog files

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tsdoc',
version: '1.1.42',
version: '1.2.0',
description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.'
}

View File

@ -90,6 +90,7 @@ Only return the changelog file, so it can be written directly to changelog.md
For the latest version, that is not yet part of the commit messages, add a placeholder entry that uses {{nextVersion}} and {{nextVersionMessage}} as variables to filled later.
Only output newer versions and their changes compared to ones already mentioned. We take of appending your output later.
If there is no previous changelog file, generate a complete changelog from commit messages with heading and everything + the placeholder section mentioned above.
`,
userMessage: `
The previous changelog file is: