diff --git a/.github/actions/init-bare-environment/action.yml b/.github/actions/init-bare-environment/action.yml index 01c4f2eae..00a588497 100644 --- a/.github/actions/init-bare-environment/action.yml +++ b/.github/actions/init-bare-environment/action.yml @@ -6,7 +6,8 @@ runs: - name: Checkout actions uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - id: setup-python + name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/.github/actions/init-environment/action.yml b/.github/actions/init-environment/action.yml index 4b849dfe6..34a1fc926 100644 --- a/.github/actions/init-environment/action.yml +++ b/.github/actions/init-environment/action.yml @@ -6,7 +6,8 @@ runs: - name: Checkout actions uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - id: setup-python + name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4516c59b6..d3d8ddcf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [0.32.0] - 2024-09-17 + ### Added - `BaseArtifact.to_bytes()` method to convert an Artifact's value to bytes. - `BlobArtifact.base64` property for converting a `BlobArtifact`'s value to a base64 string. - `CsvLoader`/`SqlLoader`/`DataframeLoader` `formatter_fn` field for customizing how SQL results are formatted into `TextArtifact`s. +- `AzureOpenAiTextToSpeechDriver`. +- `JsonSchemaRule` for instructing the LLM to output a JSON object that conforms to a schema. +- Ability to use Event Listeners as Context Managers for temporarily setting the Event Bus listeners. +- Ability to use Drivers Configs as Context Managers for temporarily setting the default Drivers. +- Generic type support to `ListArtifact`. +- Iteration support to `ListArtifact`. + ### Changed - **BREAKING**: Removed `CsvRowArtifact`. Use `TextArtifact` instead. @@ -20,12 +29,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING**: Removed `BlobArtifact.dir_name`. - **BREAKING**: Moved `ImageArtifact.prompt` and `ImageArtifact.model` into `ImageArtifact.meta`. - **BREAKING**: `ImageArtifact.format` is now required. +- **BREAKING**: Removed the `__all__` declaration from the `griptape.mixins` module. - Updated `JsonArtifact` value converter to properly handle more types. - `AudioArtifact` now subclasses `BlobArtifact` instead of `MediaArtifact`. - `ImageArtifact` now subclasses `BlobArtifact` instead of `MediaArtifact`. - Removed `__add__` method from `BaseArtifact`, implemented it where necessary. -- Generic type support to `ListArtifact`. -- Iteration support to `ListArtifact`. + +### Fixed +- Crash when passing "empty" Artifacts or no Artifacts to `CohereRerankDriver`. ## [0.31.0] - 2024-09-03 diff --git a/pyproject.toml b/pyproject.toml index e2d9f1449..9c84d3f84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "griptape" -version = "0.31.0" +version = "0.32.0" description = "Modular Python framework for LLM workflows, tools, memory, and data." authors = ["Griptape "] license = "Apache 2.0"