From 3f36043f2ba30b9bcad0f32c074eea34f31d1956 Mon Sep 17 00:00:00 2001 From: Gaudy Blanco Date: Tue, 24 Feb 2026 16:16:13 -0600 Subject: [PATCH 1/2] Release v3.0.4 --- .semversioner/3.0.4.json | 10 ++++++++ CHANGELOG.md | 4 ++++ RELEASE.md | 29 +++++++---------------- packages/graphrag-cache/pyproject.toml | 6 ++--- packages/graphrag-chunking/pyproject.toml | 4 ++-- packages/graphrag-common/pyproject.toml | 2 +- packages/graphrag-input/pyproject.toml | 6 ++--- packages/graphrag-llm/pyproject.toml | 6 ++--- packages/graphrag-storage/pyproject.toml | 4 ++-- packages/graphrag-vectors/pyproject.toml | 4 ++-- packages/graphrag/pyproject.toml | 16 ++++++------- uv.lock | 16 ++++++------- 12 files changed, 54 insertions(+), 53 deletions(-) create mode 100644 .semversioner/3.0.4.json diff --git a/.semversioner/3.0.4.json b/.semversioner/3.0.4.json new file mode 100644 index 0000000000..8eb1062827 --- /dev/null +++ b/.semversioner/3.0.4.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "description": "fix versions release", + "type": "patch" + } + ], + "created_at": "2026-02-24T22:08:37+00:00", + "version": "3.0.4" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3aa48adbf9..bf070922cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog Note: version releases in the 0.x.y range may introduce breaking changes. +## 3.0.4 + +- patch: fix versions release + ## 3.0.3 - patch: Add filtering, timestamp explosion, insert/count/remove/update operations to vector store API. Add top-level vector_size config to VectorStoreConfig. diff --git a/RELEASE.md b/RELEASE.md index b078ca3f16..251aa7befd 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -20,30 +20,17 @@ Pull the latest changes on `main` and run the release task: ```sh git checkout main git pull -uv run poe release ``` -This runs the following steps automatically: +You need to run the following commands: -1. `semversioner release` -- consumes all pending change files and bumps the - version. -2. Regenerates `CHANGELOG.md`. -3. Updates `project.version` in every package's `pyproject.toml`. -4. Updates cross-package dependency version pins (e.g. `graphrag-common==X.Y.Z` - in all packages that depend on it). -5. Runs `uv sync --all-packages` to update the lockfile. - -### Cutting a release on Windows - -`uv run poe release` does not work on Windows unless you are using WSL. Poe -defaults to `cmd.exe` and there is no straightforward way to force it to use -PowerShell. Run each step manually in PowerShell instead: - -```powershell +```zsh uv run semversioner release uv run semversioner changelog > CHANGELOG.md +# verify if the version is correct $version = uv run semversioner current-version +# check this only on Windows: if (-not $version) { Write-Error "Failed to get version"; exit 1 } uv run update-toml update --file packages/graphrag/pyproject.toml --path project.version --value $version @@ -65,11 +52,11 @@ Check `CHANGELOG.md` or any package's `pyproject.toml` to find the new version, then move the changes to a release branch: ```sh -git switch -c release/vVERSION +git switch -c release/v git add . -git commit -m "Release vVERSION" -git tag -a vVERSION -m "Release vVERSION" -git push origin release/vVERSION -u +git commit -m "Release v" +git tag -a v -m "Release v" +git push origin release/v -u ``` Open a PR targeting `main`. CI checks (semver, linting, tests) will run diff --git a/packages/graphrag-cache/pyproject.toml b/packages/graphrag-cache/pyproject.toml index 56962a0a14..dbc074e470 100644 --- a/packages/graphrag-cache/pyproject.toml +++ b/packages/graphrag-cache/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphrag-cache" -version = "3.0.3" +version = "3.0.4" description = "GraphRAG cache package." authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, @@ -31,8 +31,8 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "graphrag-common==3.0.2", - "graphrag-storage==3.0.2", + "graphrag-common==3.0.4", + "graphrag-storage==3.0.4", ] [project.urls] diff --git a/packages/graphrag-chunking/pyproject.toml b/packages/graphrag-chunking/pyproject.toml index 6d09bb8c7b..cc81f26c82 100644 --- a/packages/graphrag-chunking/pyproject.toml +++ b/packages/graphrag-chunking/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphrag-chunking" -version = "3.0.3" +version = "3.0.4" description = "Chunking utilities for GraphRAG" authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, @@ -30,7 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "graphrag-common==3.0.2", + "graphrag-common==3.0.4", "pydantic~=2.10", ] diff --git a/packages/graphrag-common/pyproject.toml b/packages/graphrag-common/pyproject.toml index 64e0aa6104..df3537e4c1 100644 --- a/packages/graphrag-common/pyproject.toml +++ b/packages/graphrag-common/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphrag-common" -version = "3.0.3" +version = "3.0.4" description = "Common utilities and types for GraphRAG" authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, diff --git a/packages/graphrag-input/pyproject.toml b/packages/graphrag-input/pyproject.toml index f48bd94cd3..a0d4d5f918 100644 --- a/packages/graphrag-input/pyproject.toml +++ b/packages/graphrag-input/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphrag-input" -version = "3.0.3" +version = "3.0.4" description = "Input document loading utilities for GraphRAG" authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, @@ -30,8 +30,8 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "graphrag-common==3.0.2", - "graphrag-storage==3.0.2 ", + "graphrag-common==3.0.4", + "graphrag-storage==3.0.4 ", "pydantic~=2.10", "markitdown~=0.1.0", "markitdown[pdf]" diff --git a/packages/graphrag-llm/pyproject.toml b/packages/graphrag-llm/pyproject.toml index 3d6b19af21..9a5ed1ff3d 100644 --- a/packages/graphrag-llm/pyproject.toml +++ b/packages/graphrag-llm/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphrag-llm" -version = "3.0.3" +version = "3.0.4" description = "GraphRAG LLM package." authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, @@ -33,8 +33,8 @@ classifiers = [ ] dependencies = [ "azure-identity~=1.25", - "graphrag-cache==3.0.2", - "graphrag-common==3.0.2", + "graphrag-cache==3.0.4", + "graphrag-common==3.0.4", "jinja2~=3.1", "litellm~=1.80", "nest-asyncio2~=1.7", diff --git a/packages/graphrag-storage/pyproject.toml b/packages/graphrag-storage/pyproject.toml index 81d53298f8..b54460f76c 100644 --- a/packages/graphrag-storage/pyproject.toml +++ b/packages/graphrag-storage/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphrag-storage" -version = "3.0.3" +version = "3.0.4" description = "GraphRAG storage package." authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, @@ -34,7 +34,7 @@ dependencies = [ "azure-cosmos~=4.9", "azure-identity~=1.25", "azure-storage-blob~=12.24", - "graphrag-common==3.0.2", + "graphrag-common==3.0.4", "pandas~=2.3", "pydantic~=2.10", ] diff --git a/packages/graphrag-vectors/pyproject.toml b/packages/graphrag-vectors/pyproject.toml index b35a82b511..cd57e66631 100644 --- a/packages/graphrag-vectors/pyproject.toml +++ b/packages/graphrag-vectors/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphrag-vectors" -version = "3.0.3" +version = "3.0.4" description = "GraphRAG vector store package." authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, @@ -34,7 +34,7 @@ dependencies = [ "azure-cosmos~=4.9", "azure-identity~=1.25", "azure-search-documents~=11.6", - "graphrag-common==3.0.2", + "graphrag-common==3.0.4", "lancedb~=0.24.1", "numpy~=2.1", "pyarrow~=22.0", diff --git a/packages/graphrag/pyproject.toml b/packages/graphrag/pyproject.toml index b7cd058bf1..401e017ffa 100644 --- a/packages/graphrag/pyproject.toml +++ b/packages/graphrag/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "graphrag" # Maintainers: do not change the version here manually -version = "3.0.3" +version = "3.0.4" description = "GraphRAG: A graph-based retrieval-augmented generation (RAG) system." authors = [ {name = "Alonso Guevara Fernández", email = "alonsog@microsoft.com"}, @@ -36,13 +36,13 @@ dependencies = [ "azure-search-documents~=11.5", "azure-storage-blob~=12.24", "devtools~=0.12", - "graphrag-cache==3.0.2", - "graphrag-chunking==3.0.2", - "graphrag-common==3.0.2", - "graphrag-input==3.0.2", - "graphrag-llm==3.0.2", - "graphrag-storage==3.0.2", - "graphrag-vectors==3.0.2", + "graphrag-cache==3.0.4", + "graphrag-chunking==3.0.4", + "graphrag-common==3.0.4", + "graphrag-input==3.0.4", + "graphrag-llm==3.0.4", + "graphrag-storage==3.0.4", + "graphrag-vectors==3.0.4", "graspologic-native~=1.2", "json-repair~=0.30", "networkx~=3.4", diff --git a/uv.lock b/uv.lock index a53c992f44..bf0678b026 100644 --- a/uv.lock +++ b/uv.lock @@ -1028,7 +1028,7 @@ wheels = [ [[package]] name = "graphrag" -version = "3.0.3" +version = "3.0.4" source = { editable = "packages/graphrag" } dependencies = [ { name = "azure-identity" }, @@ -1089,7 +1089,7 @@ requires-dist = [ [[package]] name = "graphrag-cache" -version = "3.0.3" +version = "3.0.4" source = { editable = "packages/graphrag-cache" } dependencies = [ { name = "graphrag-common" }, @@ -1104,7 +1104,7 @@ requires-dist = [ [[package]] name = "graphrag-chunking" -version = "3.0.3" +version = "3.0.4" source = { editable = "packages/graphrag-chunking" } dependencies = [ { name = "graphrag-common" }, @@ -1119,7 +1119,7 @@ requires-dist = [ [[package]] name = "graphrag-common" -version = "3.0.3" +version = "3.0.4" source = { editable = "packages/graphrag-common" } dependencies = [ { name = "python-dotenv" }, @@ -1136,7 +1136,7 @@ requires-dist = [ [[package]] name = "graphrag-input" -version = "3.0.3" +version = "3.0.4" source = { editable = "packages/graphrag-input" } dependencies = [ { name = "graphrag-common" }, @@ -1156,7 +1156,7 @@ requires-dist = [ [[package]] name = "graphrag-llm" -version = "3.0.2" +version = "3.0.4" source = { editable = "packages/graphrag-llm" } dependencies = [ { name = "azure-identity" }, @@ -1238,7 +1238,7 @@ dev = [ [[package]] name = "graphrag-storage" -version = "3.0.3" +version = "3.0.4" source = { editable = "packages/graphrag-storage" } dependencies = [ { name = "aiofiles" }, @@ -1263,7 +1263,7 @@ requires-dist = [ [[package]] name = "graphrag-vectors" -version = "3.0.3" +version = "3.0.4" source = { editable = "packages/graphrag-vectors" } dependencies = [ { name = "azure-core" }, From b3fda1397400b464f75981d288b2a7c3ed24594e Mon Sep 17 00:00:00 2001 From: Gaudy Blanco Date: Tue, 24 Feb 2026 16:24:10 -0600 Subject: [PATCH 2/2] release v3.0.4 --- .semversioner/next-release/patch-20260224222358053700.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .semversioner/next-release/patch-20260224222358053700.json diff --git a/.semversioner/next-release/patch-20260224222358053700.json b/.semversioner/next-release/patch-20260224222358053700.json new file mode 100644 index 0000000000..a7339f204e --- /dev/null +++ b/.semversioner/next-release/patch-20260224222358053700.json @@ -0,0 +1,4 @@ +{ + "type": "patch", + "description": "update version" +}