From 1ef3210a49c63ea837f641689e4afe2df48be6d5 Mon Sep 17 00:00:00 2001 From: prezakhani <13303554+Pouyanpi@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:53:04 +0100 Subject: [PATCH] chore: bump version to v0.11.1 fix(docs): update github tag url for v0.11.1 feat(pyproject.toml): add URLs and update dependencies chore: update changelog Update colang changelog --- CHANGELOG-Colang.md | 7 +++++++ CHANGELOG.md | 22 ++++++++++++++++++++++ README.md | 2 +- nemoguardrails/__init__.py | 2 +- poetry.lock | 4 ++-- pyproject.toml | 14 ++++++++++++-- 6 files changed, 45 insertions(+), 6 deletions(-) diff --git a/CHANGELOG-Colang.md b/CHANGELOG-Colang.md index 6011b8ef6..5ff1ff619 100644 --- a/CHANGELOG-Colang.md +++ b/CHANGELOG-Colang.md @@ -4,6 +4,13 @@ All notable changes to the Colang language and runtime will be documented in thi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0-beta.6] - 2025-01-16 + +### Added + +* Add support for llama-3.2 models ([#877](https://github.com/NVIDIA/NeMo-Guardrails/pull/877)) by @schuellc-nvidia +* Add `it finished` utility flow in core.co library ([#913]) by @schuellc-nvidia + ## [2.0-beta.5] - 2024-11-19 ### Added diff --git a/CHANGELOG.md b/CHANGELOG.md index a252c213b..f9517ee0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), NOTE: The changes related to the Colang language and runtime have moved to [CHANGELOG-Colang](./CHANGELOG-Colang.md) file. +## [0.11.1] - 2025-01-16 + +### Added + +- **ContentSafety**: Add ContentSafety NIM connector ([#930](https://github.com/NVIDIA/NeMo-Guardrails/pull/930)) by @prasoonvarshney +- **TopicControl**: Add TopicControl NIM connector ([#930](https://github.com/NVIDIA/NeMo-Guardrails/pull/930)) by @makeshn +- **JailbreakDetect**: Add jailbreak detection NIM connector ([#930](https://github.com/NVIDIA/NeMo-Guardrails/pull/930)) by @erickgalinkin + +## Changed + +- **AutoAlign Integration**: Add further enhancements and refactoring to AutoAlign integration ([#867](https://github.com/NVIDIA/NeMo-Guardrails/pull/867)) by @KimiJL + +## Fixed + +- **PrivateAI Integration**: Fix Incomplete URL substring sanitization Error ([#883](https://github.com/NVIDIA/NeMo-Guardrails/pull/883)) by @NJ-186 + +## Documentation + +- **NVIDIA Blueprint**: Add Safeguarding AI Virtual Assistant NIM Blueprint NemoGuard NIMs ([#932](https://github.com/NVIDIA/NeMo-Guardrails/pull/932)) by @abodhankar + +- **ActiveFence Integration**: Fix flow definition in community docs ([#890](https://github.com/NVIDIA/NeMo-Guardrails/pull/890)) by @noamlevy81 + ## [0.11.0] - 2024-11-19 ### Added diff --git a/README.md b/README.md index 77704265e..d866a1c1b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,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.11.0](https://github.com/NVIDIA/NeMo-Guardrails/tree/v0.11.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.11.1](https://github.com/NVIDIA/NeMo-Guardrails/tree/v0.11.1). For the latest development version, checkout the [develop](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop) branch. > **DISCLAIMER**: The beta release is undergoing active development and may be subject to changes and improvements, which could cause instability and unexpected behavior. We currently do not recommend deploying this beta version in a production setting. We appreciate your understanding and contribution during this stage. Your support and feedback are invaluable as we advance toward creating a robust, ready-for-production LLM guardrails toolkit. The examples provided within the documentation are for educational purposes to get started with NeMo Guardrails, and are not meant for use in production applications. diff --git a/nemoguardrails/__init__.py b/nemoguardrails/__init__.py index 79848a234..14afcde66 100644 --- a/nemoguardrails/__init__.py +++ b/nemoguardrails/__init__.py @@ -35,4 +35,4 @@ "ignore", category=UserWarning, message="TypedStorage is deprecated" ) -__version__ = "0.11.0" +__version__ = "0.11.1" diff --git a/poetry.lock b/poetry.lock index 9bd42fa54..0e53ab0cc 100644 --- a/poetry.lock +++ b/poetry.lock @@ -5405,9 +5405,9 @@ eval = ["numpy", "streamlit", "tqdm"] gcp = ["google-cloud-language"] openai = ["langchain-openai"] sdd = ["presidio-analyzer", "presidio-anonymizer", "spacy"] -trace = ["aiofiles", "opentelemetry-api", "opentelemetry-sdk"] +tracing = ["aiofiles", "opentelemetry-api", "opentelemetry-sdk"] [metadata] lock-version = "2.0" python-versions = ">=3.9,!=3.9.7,<3.12" -content-hash = "cbd1dd6d690c9fe1c9d0df32f3b6bbdee822517ab49506a7036f0221ba528967" +content-hash = "59e37d251a174c60945cb0af41b52a18f31fb9cff27ccbc0df0ebdad87d6f080" diff --git a/pyproject.toml b/pyproject.toml index 064af8b8a..526a8502a 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.11.0" +version = "0.11.1" packages = [{ include = "nemoguardrails" }] @@ -34,6 +34,8 @@ classifiers = [ [tool.poetry.urls] homepage = "https://github.com/NVIDIA/nemo-guardrails" +issues = "https://github.com/NVIDIA/nemo-guardrails/issues" +changelog = "https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/CHANGELOG.md" documentation = "https://docs.nvidia.com/nemo/guardrails/" repository = "https://github.com/NVIDIA/NeMo-Guardrails" @@ -46,6 +48,14 @@ aiohttp = ">=3.10.11" annoy = ">=1.17.3" fastapi = ">=0.103.0," fastembed = ">=0.2.2, <0.4.1" +# onnxruntime in 1.20 has dropped python 3.9 support +# fastembed has also dropped python 3.9 support entirely as of 0.5.0 +# fastembed depends on onnxruntime we pindown the working version for 3.9 here +# as it is a transient dependency we must remove it later +onnxruntime = [ + { version = ">=1.17.0,<=1.19.2", python = "^3.9" }, + { version = ">=1.17.0,<2.0.0", python = ">=3.10" }, +] httpx = "^0.24.1" jinja2 = ">=3.1.5" langchain = ">=0.2.14,<0.4.0" @@ -90,7 +100,7 @@ sdd = ["presidio-analyzer", "presidio-anonymizer", "spacy"] eval = ["tqdm", "numpy", "streamlit"] openai = ["langchain-openai"] gcp = ["google-cloud-language"] -trace = ["opentelemetry-api", "opentelemetry-sdk", "aiofiles"] +tracing = ["opentelemetry-api", "opentelemetry-sdk", "aiofiles"] # Poetry does not support recursive dependencies, so we need to add all the dependencies here. # I also support their decision. There is no PEP for recursive dependencies, but it has been supported in pip since version 21.2. # It is here for backward compatibility.