diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json new file mode 100644 index 000000000..dd8fde779 --- /dev/null +++ b/.github/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.5.0" +} diff --git a/.github/release-please-config.hotfix.json b/.github/release-please-config.hotfix.json new file mode 100644 index 000000000..3368a6d98 --- /dev/null +++ b/.github/release-please-config.hotfix.json @@ -0,0 +1,7 @@ +{ + "versioning": "always-bump-patch", + "release-type": "python", + "packages": { + ".": {} + } +} diff --git a/.github/release-please-config.main.json b/.github/release-please-config.main.json new file mode 100644 index 000000000..57d11d3a9 --- /dev/null +++ b/.github/release-please-config.main.json @@ -0,0 +1,74 @@ +{ + "versioning": "always-bump-minor", + "release-type": "python", + "changelog-sections": [ + { + "type": "feat", + "section": "โœจ Features", + "hidden": false + }, + { + "type": "fix", + "section": "๐Ÿ› Bug Fixes", + "hidden": false + }, + { + "type": "perf", + "section": "๐Ÿš€ Performance Improvements", + "hidden": false + }, + { + "type": "deps", + "section": "๐Ÿ“ฆ Dependencies", + "hidden": false + }, + { + "type": "revert", + "section": "๐Ÿ—‘ Reverts", + "hidden": false + }, + { + "type": "docs", + "section": "๐Ÿ“š Documentation", + "hidden": false + }, + { + "type": "hidden", + "section": "๐Ÿคซ Hidden Changes", + "hidden": true + }, + { + "type": "style", + "section": "๐Ÿ’Ž Styles", + "hidden": true + }, + { + "type": "chore", + "section": "โ™ป๏ธ Miscellaneous Chores", + "hidden": true + }, + { + "type": "refactor", + "section": "๐Ÿงน Code Refactoring", + "hidden": true + }, + { + "type": "test", + "section": "๐Ÿšจ Tests", + "hidden": true + }, + { + "type": "build", + "section": "๐Ÿ›  Build System", + "hidden": true + }, + { + "type": "ci", + "section": "โš™๏ธ Continuous Integration", + "hidden": true + } + ], + "packages": { + ".": {} + } +} diff --git a/.github/workflows/release.backport.yml b/.github/workflows/release.hotfix.yml similarity index 52% rename from .github/workflows/release.backport.yml rename to .github/workflows/release.hotfix.yml index 1780e9fa4..673db01e0 100644 --- a/.github/workflows/release.backport.yml +++ b/.github/workflows/release.hotfix.yml @@ -1,4 +1,4 @@ -name: Release Backport +name: Release Hotfix on: push: branches: @@ -11,9 +11,10 @@ jobs: pull-requests: write steps: - name: Release - uses: googleapis/release-please-action@v3 + uses: googleapis/release-please-action@v4 with: release-type: python - versioning-strategy: always-bump-patch - default-branch: ${{ github.ref_name }} + target-branch: ${{ github.ref_name }} token: ${{ secrets.GH_RELEASE_PAT }} + config-file: .github/release-please-config.hotfix.json + manifest-file: .github/.release-please-manifest.json diff --git a/.github/workflows/release.main.yml b/.github/workflows/release.main.yml index 101c6c7f7..59ca34e04 100644 --- a/.github/workflows/release.main.yml +++ b/.github/workflows/release.main.yml @@ -1,5 +1,7 @@ name: Release Main on: + pull_request: + branches: [ "main" ] push: branches: - main @@ -11,9 +13,10 @@ jobs: pull-requests: write steps: - name: Release - uses: googleapis/release-please-action@v3 + uses: googleapis/release-please-action@v4 with: - release-type: python - versioning-strategy: always-bump-minor - default-branch: ${{ github.ref_name }} + # target-branch: ${{ github.ref_name }} + target-branch: fix/release-please-sections token: ${{ secrets.GH_RELEASE_PAT }} + config-file: .github/release-please-config.main.json + manifest-file: .github/.release-please-manifest.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e7551786..09be39081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,39 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.0](https://github.com/griptape-ai/griptape/compare/v1.4.0...v1.5.0) (2025-03-07) + + +### โœจ Features + +* **configs-drivers-gemini:** update default embedding driver model to ([9ba2496](https://github.com/griptape-ai/griptape/commit/9ba249658f1f087739ff1d8b37852f790f676d3e)) +* **configs-drivers-gemini:** update default prompt driver model to `gemini-2.0-flash` ([9ba2496](https://github.com/griptape-ai/griptape/commit/9ba249658f1f087739ff1d8b37852f790f676d3e)) +* **drivers:** add support for image embeddings ([1841f0f](https://github.com/griptape-ai/griptape/commit/1841f0f8e36dc3500400a69e8e1dff8bc63e0345)) +* **drivers:** update default models to latest for Anthropic/Bedrock Driver Configs ([b3e4b68](https://github.com/griptape-ai/griptape/commit/b3e4b6817528536dd81b0a847f45c7296212d1b1)) + + +### ๐Ÿ› Bug Fixes + +* **chunker:** correctly determine chunk midpoint when empty chunks are present ([#1800](https://github.com/griptape-ai/griptape/issues/1800)) ([8ec2a8a](https://github.com/griptape-ai/griptape/commit/8ec2a8a38b2bfb03a6e75c0396a7cd40b278e1c4)) +* **decorators:** preserve type hints on `[@observable](https://github.com/observable)` decorator ([#1767](https://github.com/griptape-ai/griptape/issues/1767)) ([0e5a15c](https://github.com/griptape-ai/griptape/commit/0e5a15c7645db65a928aa5fb25d8be35bd8c9fba)) +* **drivers-prompt-openai:** remove modalities default ([#1774](https://github.com/griptape-ai/griptape/issues/1774)) ([7e061b5](https://github.com/griptape-ai/griptape/commit/7e061b56963a9fe31a06c1eae4e62fe0094dc3a1)) +* **drivers-vector-marqo:** fix upsert failing due to inability to upsert_vectors ([#1803](https://github.com/griptape-ai/griptape/issues/1803)) ([9b6bfff](https://github.com/griptape-ai/griptape/commit/9b6bfffaa8640ba7277c287be4fa0a125b94d772)) +* **drivers-vector:** don't mutate same instance of meta ([#1782](https://github.com/griptape-ai/griptape/issues/1782)) ([dd138ca](https://github.com/griptape-ai/griptape/commit/dd138caea9dabd74c515592c697415d645fdca4d)) + + +### ๐Ÿ“ฆ Dependencies + +* relax dependencies by removing upper bound constraint ([5171332](https://github.com/griptape-ai/griptape/commit/5171332bf7217841eea44d84133fb00ecee6322a)) + + +### ๐Ÿ“š Documentation + +* add back missing docs ([#1797](https://github.com/griptape-ai/griptape/issues/1797)) ([41ad7f5](https://github.com/griptape-ai/griptape/commit/41ad7f513dc56a0ec80e16235fa2592bbf3762fa)) +* add log output to every example that produces it ([0407fc7](https://github.com/griptape-ai/griptape/commit/0407fc747c177ce6e31c58058d590e23f02c81ac)) +* **custom-tools:** improve docs for creating custom tools ([#1791](https://github.com/griptape-ai/griptape/issues/1791)) ([25b1276](https://github.com/griptape-ai/griptape/commit/25b12769ba75f5e806b834e25570e3c698d53389)) +* improve rag engine example ([#1795](https://github.com/griptape-ai/griptape/issues/1795)) ([bdc1921](https://github.com/griptape-ai/griptape/commit/bdc19214501a80006d5ff44ff4c90707c04086b1)) +* **recipes:** add example of talking to audio file ([#1794](https://github.com/griptape-ai/griptape/issues/1794)) ([fe27585](https://github.com/griptape-ai/griptape/commit/fe27585cf81dea16127f43840a76b7b5b74af3c9)) + ## [1.4.0](https://github.com/griptape-ai/griptape/compare/v1.3.0...v1.4.0) (2025-02-24) diff --git a/pyproject.toml b/pyproject.toml index 045a095a5..053dae90e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "griptape" -version = "1.4.0" +version = "1.5.0" description = "Modular Python framework for LLM workflows, tools, memory, and data." authors = [{ name = "Griptape", email = "hello@griptape.ai" }] requires-python = "~=3.9"