From 00726f5fdc293788f75170f3aaded90495f7f368 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Tue, 14 Apr 2026 14:43:17 +0200 Subject: [PATCH] Add date to changelog headings, add 'v' prefix Fixes #1337 --- CHANGELOG.md | 10 +++++----- scripts/bump_version.py | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4542aa56..92a95e73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ JetBrains: - Add mSL (mIRC Scripting Language) support (custom pygls-based language server; symbols, references, definitions) - Fix initialisation issues in Vue language server #1333 -# 1.1.1 +# v1.1.1 (2026-04-12) * General: - Enable cert verification for HTTPS request to oraios-software.de #1320 @@ -30,7 +30,7 @@ JetBrains: - Fix Dart LSP returning only symbol name as body instead of full method body. -# 1.1.0 +# v1.1.0 (2026-04-11) * General: - **Major**: Add commands for hooks and documentation of recommended setup. Consider setting up the [recommended hooks](https://oraios.github.io/serena/02-usage/030_clients.html) ! @@ -53,7 +53,7 @@ JetBrains: Some clients would terminate the MCP server in a way that did not ensure proper termination. - Fix: Manual server shutdown triggered by GUI tool/dashboard not cleaning everything up. -# 1.0.0 +# v1.0.0 (2026-04-03) * General: * Add monorepo/multi-language support @@ -134,7 +134,7 @@ JetBrains: * **C/C++ alternate LS (ccls)**: Add experimental, opt-in support for ccls as an alternative backend to clangd. Enable via `cpp_ccls` in project configuration. Requires `ccls` installed and ideally a `compile_commands.json` at repo root. * **Add support for Solidity** via the Nomic Foundation `@nomicfoundation/solidity-language-server` (automatically installed via npm) -# 0.1.4 +# v0.1.4 (2025-08-15) ## Summary @@ -178,7 +178,7 @@ Fixes: default shell reconfiguration imposed by Claude Code) * Additional wait for initialization in C# language server before requesting references, allowing cross-file references to be found. -# 0.1.3 +# v0.1.3 (2025-07-22) ## Summary diff --git a/scripts/bump_version.py b/scripts/bump_version.py index e3426baa..7647da78 100644 --- a/scripts/bump_version.py +++ b/scripts/bump_version.py @@ -3,6 +3,7 @@ from __future__ import annotations import logging import os import re +from datetime import datetime from pathlib import Path from typing import Literal @@ -185,7 +186,9 @@ def update_changelog(changelog_text: str, new_version: str) -> str: unreleased_body = unreleased_section[len(_UNRELEASED_HEADER) :] intro, unreleased_entries = split_unreleased_body(unreleased_body) - updated_section = _UNRELEASED_HEADER + intro + f"# {new_version}\n" + date_str = datetime.now().strftime("%Y-%m-%d") + updated_section = _UNRELEASED_HEADER + intro + f"# v{new_version} ({date_str})\n" + if unreleased_entries.strip(): updated_section += "\n" + unreleased_entries.lstrip("\n") else: