diff --git a/.github/scripts/generate-changelog-entry.js b/.github/scripts/generate-changelog-entry.js index cad3e9427..f7b71b3f9 100644 --- a/.github/scripts/generate-changelog-entry.js +++ b/.github/scripts/generate-changelog-entry.js @@ -21,29 +21,31 @@ Based on the following merged pull requests from the last 7 days, write a Mintli Merged PRs (${prCount} total): ${prSummary} -Output ONLY the raw MDX block — no explanation, no markdown fences. +Output ONLY the raw MDX block — no explanation. Use this exact format (matching the existing changelog style): ## New features -**Feature name** — User-facing description. +**Feature name** — User-facing description. ([#PR_NUMBER](https://github.com/geturbackend/urBackend/pull/PR_NUMBER) by [@username](https://github.com/username)) ## Improvements -**Improvement name** — Description. +**Improvement name** — Description. ([#PR_NUMBER](https://github.com/geturbackend/urBackend/pull/PR_NUMBER) by [@username](https://github.com/username)) ## Bug fixes -- Fix description (#PR_NUMBER) +- Fix description ([#PR_NUMBER](https://github.com/geturbackend/urBackend/pull/PR_NUMBER) by [@username](https://github.com/username)) Rules: -- Only include sections (## New features / ## Improvements / ## Bug fixes) that have actual content. -- Adjust the tags array to only include applicable tags from: "Feature", "Improvement", "Fix", "Security". -- Write for developers using the platform, not the internal team. -- Be concise and factual. Do not invent features not evidenced by the PRs. -- If no PRs were merged, output: No significant changes this week.`; +1. CRITICAL: Start your response EXACTLY with . Do NOT wrap your output in markdown code blocks (\`\`\`). Any extra text will break our pipeline. +2. Ignore internal chores, dependency bumps, CI/CD updates, and test-only PRs. Only include changes that directly impact end-users or developers. +3. For every item, include the PR number linked to its URL and the author linked to their GitHub profile. +4. Only include sections (## New features / ## Improvements / ## Bug fixes) that have actual content. +5. Adjust the tags array to only include applicable tags from: "Feature", "Improvement", "Fix", "Security". +6. Write for developers using the platform, not the internal team. Be concise and factual. Do not invent features not evidenced by the PRs. +7. If no PRs were merged (or if all were ignored), output: No significant changes this week.`; const payload = JSON.stringify({ model: "llama-3.3-70b-versatile", diff --git a/.github/workflows/weekly-changelog.yml b/.github/workflows/weekly-changelog.yml index 351263b6c..42388ef1f 100644 --- a/.github/workflows/weekly-changelog.yml +++ b/.github/workflows/weekly-changelog.yml @@ -67,13 +67,14 @@ jobs: - name: Prepend entry to current month's Mintlify changelog run: | MONTH=$(date --utc +%B | tr '[:upper:]' '[:lower:]') + TITLE_MONTH=$(date --utc +%B) YEAR=$(date --utc +%Y) FILE="mintlify/docs/changelog/${MONTH}-${YEAR}.mdx" # Create monthly file if it doesn't exist yet if [ ! -f "$FILE" ]; then echo "---" > "$FILE" - echo "title: Changelog" >> "$FILE" + echo "title: ${TITLE_MONTH} ${YEAR}" >> "$FILE" echo "description: What's new in urBackend — new features, improvements, and fixes." >> "$FILE" echo "---" >> "$FILE" echo "" >> "$FILE" diff --git a/mintlify/docs/changelog/april-2026.mdx b/mintlify/docs/changelog/april-2026.mdx index 05ce37bae..e9309e3f3 100644 --- a/mintlify/docs/changelog/april-2026.mdx +++ b/mintlify/docs/changelog/april-2026.mdx @@ -1,5 +1,5 @@ --- -title: Changelog +title: April 2026 description: What's new in urBackend — new features, improvements, and fixes. --- diff --git a/mintlify/docs/changelog/july-2026.mdx b/mintlify/docs/changelog/july-2026.mdx new file mode 100644 index 000000000..b5ac1e775 --- /dev/null +++ b/mintlify/docs/changelog/july-2026.mdx @@ -0,0 +1,16 @@ +--- +title: July 2026 +description: What's new in urBackend — new features, improvements, and fixes. +--- + + +## New features + +**CLI Commands** — Three new CLI commands have been added to enhance user experience. +**Rate Limiter** — A rate limiter has been added to the BullMQ worker to prevent abuse. + +## Improvements + +**Dashboard Redesign** — The dashboard has been redesigned with a persistent left sidebar and is now compatible with light mode. + + diff --git a/mintlify/docs/changelog/june-2026.mdx b/mintlify/docs/changelog/june-2026.mdx index 524d214ae..495ef0c4c 100644 --- a/mintlify/docs/changelog/june-2026.mdx +++ b/mintlify/docs/changelog/june-2026.mdx @@ -1,5 +1,5 @@ --- -title: Changelog +title: June 2026 description: What's new in urBackend — new features, improvements, and fixes. --- diff --git a/mintlify/docs/changelog/may-2026.mdx b/mintlify/docs/changelog/may-2026.mdx index bb9003833..47bc0e272 100644 --- a/mintlify/docs/changelog/may-2026.mdx +++ b/mintlify/docs/changelog/may-2026.mdx @@ -1,5 +1,5 @@ --- -title: Changelog (May 2026) +title: May 2026 description: What's new in urBackend — new features, improvements, and fixes for May. --- diff --git a/mintlify/docs/docs.json b/mintlify/docs/docs.json index b61ba490f..b6409e4bd 100644 --- a/mintlify/docs/docs.json +++ b/mintlify/docs/docs.json @@ -93,6 +93,7 @@ { "group": "Changelog", "pages": [ + "changelog/july-2026", "changelog/may-2026", "changelog/june-2026", "changelog/april-2026"