diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a1e7317..6f3381b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,15 @@ ## [Unreleased] - Integrated `.docx`, `.pdf` and various raw text parsers into `filecontent` filter. -- Removed `textract` and ~50 MB of dependencies as they are no longer needed. -- Python 3.12 support +- Removed `textract` and ~50 MB of dependencies as they are no longer required. +- Full Python 3.12 support - Add support for piping in a config file from STDIN (`organize run --stdin < file.yml`) +**Important:** + +You may have to adjust your `filecontent` regexes. The output should be a bit cleaner +now. + ## v3.1.2 (2024-02-16) - Fixes a validation error where correctly defined actions were not accepted in Python 3.12.2. diff --git a/manage.py b/manage.py index 126f80ef..bf1f4505 100644 --- a/manage.py +++ b/manage.py @@ -78,7 +78,11 @@ def set_version(args): # change WIP to version number and date changes = match.group(1) today = datetime.now().strftime("%Y-%m-%d") - changelog = wip_regex.sub(f"## v{version} ({today})\n{changes}", changelog, count=1) + changelog = wip_regex.sub( + f"## [Unreleased]\n\n## v{version} ({today})\n{changes}", + changelog, + count=1, + ) # write changelog with open(CURRENT_FOLDER / "CHANGELOG.md", "w") as f: