From 058a4ddcfd13ddb591c3d31f9917ce189f665612 Mon Sep 17 00:00:00 2001 From: Pouyanpi Date: Fri, 28 Nov 2025 07:42:08 +0000 Subject: [PATCH 1/5] chore(release): prepare for v0.19.0 --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ README.md | 2 +- pyproject.toml | 2 +- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f27f623cc..9144adba7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,38 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm > > The changes related to the Colang language and runtime have moved to [CHANGELOG-Colang](./CHANGELOG-Colang.md) file. +## [0.19.0] - 2025-11-28 + +### πŸš€ Features + +- *(benchmark)* Add Procfile to run Guardrails and mock LLMs ([#1490](https://github.com/NVIDIA/NeMo-Guardrails/issues/1490)) +- Support langchain v1 ([#1472](https://github.com/NVIDIA/NeMo-Guardrails/issues/1472)) +- *(llm)* Add LangChain 1.x content blocks support for reasoning and tool calls ([#1496](https://github.com/NVIDIA/NeMo-Guardrails/issues/1496)) + +### πŸ› Bug Fixes + +- *(llm)* Add async streaming support to ChatNVIDIA provider patch ([#1504](https://github.com/NVIDIA/NeMo-Guardrails/issues/1504)) +- *(cli)* Fix TypeError in v2.x chat due to incorrect State/dict conv… ([#1509](https://github.com/NVIDIA/NeMo-Guardrails/issues/1509)) +- *(ci)* Run latest-deps tests on all OS with all Python versions ([#1510](https://github.com/NVIDIA/NeMo-Guardrails/issues/1510)) + +### πŸ“š Documentation + +- Clean up documentation language and references ([#1514](https://github.com/NVIDIA/NeMo-Guardrails/issues/1514)) + +### βš™οΈ Miscellaneous Tasks + +- *(llm)* Remove deprecated llm_params module ([#1475](https://github.com/NVIDIA/NeMo-Guardrails/issues/1475)) +- Use ruff linter and formatter ([#1351](https://github.com/NVIDIA/NeMo-Guardrails/issues/1351)) +- Remove duplicate coverage runs on push events ([#1515](https://github.com/NVIDIA/NeMo-Guardrails/issues/1515)) +- *(ci)* Add Greptile configuration for PR code review bot ([#1513](https://github.com/NVIDIA/NeMo-Guardrails/issues/1513)) +- Improve version tag detection in publish workflow ([#1511](https://github.com/NVIDIA/NeMo-Guardrails/issues/1511)) +- Add lint workflow and unify coverage reporting ([#1517](https://github.com/NVIDIA/NeMo-Guardrails/issues/1517)) + +### ◀️ Revert + +- *(llm)* Remove custom HTTP headers patch now in langchain-nvidia-ai-endpoints v0.3.19 ([#1503](https://github.com/NVIDIA/NeMo-Guardrails/issues/1503)) + + ## [0.18.0] - 2025-11-06 ### πŸš€ Features diff --git a/README.md b/README.md index e3d985dfb..b20522bf8 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![arXiv](https://img.shields.io/badge/arXiv-2310.10501-b31b1b.svg)](https://arxiv.org/abs/2310.10501) -> **LATEST RELEASE / DEVELOPMENT VERSION**: The [main](https://github.com/NVIDIA/NeMo-Guardrails/tree/main) branch tracks the latest released beta version: [0.18.0](https://github.com/NVIDIA/NeMo-Guardrails/tree/v0.18.0). For the latest development version, checkout the [develop](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop) branch. +> **LATEST RELEASE / DEVELOPMENT VERSION**: The [main](https://github.com/NVIDIA/NeMo-Guardrails/tree/main) branch tracks the latest released beta version: [0.19.0](https://github.com/NVIDIA/NeMo-Guardrails/tree/v0.19.0). For the latest development version, checkout the [develop](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop) branch. ✨✨✨ diff --git a/pyproject.toml b/pyproject.toml index 03ebc905a..02127860c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ description = "NeMo Guardrails is an open-source toolkit for easily adding progr authors = ["NVIDIA "] license = "LICENSE.md" readme = "README.md" -version = "0.18.0" +version = "0.19.0" packages = [{ include = "nemoguardrails" }] From ebec7bad289084ab5d10ae42f6caca6ce31d18d7 Mon Sep 17 00:00:00 2001 From: Pouyanpi <13303554+Pouyanpi@users.noreply.github.com> Date: Fri, 28 Nov 2025 09:31:57 +0100 Subject: [PATCH 2/5] update --- CHANGELOG.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9144adba7..3f75b084d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,33 +13,24 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### πŸš€ Features -- *(benchmark)* Add Procfile to run Guardrails and mock LLMs ([#1490](https://github.com/NVIDIA/NeMo-Guardrails/issues/1490)) -- Support langchain v1 ([#1472](https://github.com/NVIDIA/NeMo-Guardrails/issues/1472)) -- *(llm)* Add LangChain 1.x content blocks support for reasoning and tool calls ([#1496](https://github.com/NVIDIA/NeMo-Guardrails/issues/1496)) +- Support langchain v1 ([#1472](https://github.com/NVIDIA/NeMo-Guardrails/issues/1472)) +- *(llm)* Add LangChain 1.x content blocks support for reasoning and tool calls ([#1496](https://github.com/NVIDIA/NeMo-Guardrails/issues/1496)) -### πŸ› Bug Fixes - -- *(llm)* Add async streaming support to ChatNVIDIA provider patch ([#1504](https://github.com/NVIDIA/NeMo-Guardrails/issues/1504)) -- *(cli)* Fix TypeError in v2.x chat due to incorrect State/dict conv… ([#1509](https://github.com/NVIDIA/NeMo-Guardrails/issues/1509)) -- *(ci)* Run latest-deps tests on all OS with all Python versions ([#1510](https://github.com/NVIDIA/NeMo-Guardrails/issues/1510)) +- *(benchmark)* Add Procfile to run Guardrails and mock LLMs ([#1490](https://github.com/NVIDIA/NeMo-Guardrails/issues/1490)) -### πŸ“š Documentation +### πŸ› Bug Fixes -- Clean up documentation language and references ([#1514](https://github.com/NVIDIA/NeMo-Guardrails/issues/1514)) +- *(llm)* Add async streaming support to ChatNVIDIA provider patch ([#1504](https://github.com/NVIDIA/NeMo-Guardrails/issues/1504)) +- *(cli)* Fix TypeError in v2.x chat due to incorrect State/dict conversion ([#1509](https://github.com/NVIDIA/NeMo-Guardrails/issues/1509)) ### βš™οΈ Miscellaneous Tasks -- *(llm)* Remove deprecated llm_params module ([#1475](https://github.com/NVIDIA/NeMo-Guardrails/issues/1475)) -- Use ruff linter and formatter ([#1351](https://github.com/NVIDIA/NeMo-Guardrails/issues/1351)) -- Remove duplicate coverage runs on push events ([#1515](https://github.com/NVIDIA/NeMo-Guardrails/issues/1515)) -- *(ci)* Add Greptile configuration for PR code review bot ([#1513](https://github.com/NVIDIA/NeMo-Guardrails/issues/1513)) -- Improve version tag detection in publish workflow ([#1511](https://github.com/NVIDIA/NeMo-Guardrails/issues/1511)) -- Add lint workflow and unify coverage reporting ([#1517](https://github.com/NVIDIA/NeMo-Guardrails/issues/1517)) +- *(llm)* Remove deprecated llm_params module ([#1475](https://github.com/NVIDIA/NeMo-Guardrails/issues/1475)) +- Use ruff linter and formatter ([#1351](https://github.com/NVIDIA/NeMo-Guardrails/issues/1351)) ### ◀️ Revert -- *(llm)* Remove custom HTTP headers patch now in langchain-nvidia-ai-endpoints v0.3.19 ([#1503](https://github.com/NVIDIA/NeMo-Guardrails/issues/1503)) - +- *(llm)* Remove custom HTTP headers patch now in langchain-nvidia-ai-endpoints v0.3.19 ([#1503](https://github.com/NVIDIA/NeMo-Guardrails/issues/1503)) ## [0.18.0] - 2025-11-06 From 1858334265a31ef098c7c42963770bd5e2a52a03 Mon Sep 17 00:00:00 2001 From: Pouyanpi <13303554+Pouyanpi@users.noreply.github.com> Date: Fri, 28 Nov 2025 09:33:32 +0100 Subject: [PATCH 3/5] remove ruff line --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f75b084d..647e5dcff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### βš™οΈ Miscellaneous Tasks - *(llm)* Remove deprecated llm_params module ([#1475](https://github.com/NVIDIA/NeMo-Guardrails/issues/1475)) -- Use ruff linter and formatter ([#1351](https://github.com/NVIDIA/NeMo-Guardrails/issues/1351)) ### ◀️ Revert From 007b242f19cb4df3cd48ffafa5e035a59556cc7c Mon Sep 17 00:00:00 2001 From: Pouyan <13303554+Pouyanpi@users.noreply.github.com> Date: Fri, 28 Nov 2025 10:22:45 +0100 Subject: [PATCH 4/5] Apply suggestion from @Pouyanpi Signed-off-by: Pouyan <13303554+Pouyanpi@users.noreply.github.com> --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 647e5dcff..8ec49e1a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Support langchain v1 ([#1472](https://github.com/NVIDIA/NeMo-Guardrails/issues/1472)) - *(llm)* Add LangChain 1.x content blocks support for reasoning and tool calls ([#1496](https://github.com/NVIDIA/NeMo-Guardrails/issues/1496)) - - *(benchmark)* Add Procfile to run Guardrails and mock LLMs ([#1490](https://github.com/NVIDIA/NeMo-Guardrails/issues/1490)) ### πŸ› Bug Fixes From 9342a6d6cfb986a1e27eff332ca3cd142e6c6880 Mon Sep 17 00:00:00 2001 From: Pouyanpi <13303554+Pouyanpi@users.noreply.github.com> Date: Wed, 3 Dec 2025 09:35:39 +0100 Subject: [PATCH 5/5] update changelog --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ec49e1a9..565a43613 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,18 +9,22 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm > > The changes related to the Colang language and runtime have moved to [CHANGELOG-Colang](./CHANGELOG-Colang.md) file. -## [0.19.0] - 2025-11-28 +## [0.19.0] - 2025-12-03 ### πŸš€ Features - Support langchain v1 ([#1472](https://github.com/NVIDIA/NeMo-Guardrails/issues/1472)) - *(llm)* Add LangChain 1.x content blocks support for reasoning and tool calls ([#1496](https://github.com/NVIDIA/NeMo-Guardrails/issues/1496)) - *(benchmark)* Add Procfile to run Guardrails and mock LLMs ([#1490](https://github.com/NVIDIA/NeMo-Guardrails/issues/1490)) +- *(benchmark)*: Add AIPerf run script (([#1501](https://github.com/NVIDIA/NeMo-Guardrails/issues/1501))) ### πŸ› Bug Fixes - *(llm)* Add async streaming support to ChatNVIDIA provider patch ([#1504](https://github.com/NVIDIA/NeMo-Guardrails/issues/1504)) +- ensure stream_async background task completes before exit ([#1508](https://github.com/NVIDIA/NeMo-Guardrails/issues/1508)) - *(cli)* Fix TypeError in v2.x chat due to incorrect State/dict conversion ([#1509](https://github.com/NVIDIA/NeMo-Guardrails/issues/1509)) +- *(llmrails)*: skip output rails when dialog disabled and no bot_message provided ([#1518](https://github.com/NVIDIA/NeMo-Guardrails/issues/1518)) +- *(llm)*: ensure that stop token is not ignored if llm_params is None ([#1529](https://github.com/NVIDIA/NeMo-Guardrails/issues/1529)) ### βš™οΈ Miscellaneous Tasks