Canner / WrenAI

🚀 An open-source SQL AI (Text-to-SQL) Agent that empowers data, product teams to chat with their data. 🤘
https://getwren.ai/oss
GNU Affero General Public License v3.0
2.04k stars 211 forks source link

chore(wren-ai-service): bump the all group in /wren-ai-service with 24 updates #659

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps the all group in /wren-ai-service with 24 updates:

Package From To
fastapi 0.109.2 0.114.0
uvicorn 0.30.1 0.30.6
haystack-ai 2.4.0 2.5.0
openai 1.30.1 1.44.0
qdrant-haystack 4.1.2 5.0.0
tqdm 4.66.4 4.66.5
sqlparse 0.5.0 0.5.1
orjson 3.10.3 3.10.7
sf-hamilton 1.69.0 1.75.1
aiohttp 3.10.2 3.10.5
ollama-haystack 0.0.6 1.0.0
langfuse 2.43.3 2.47.1
ollama 0.2.1 0.3.2
sqlglot 25.18.0 25.20.1
pre-commit 3.7.1 3.8.0
streamlit 1.37.0 1.38.0
watchdog 4.0.0 4.0.2
tomlkit 0.13.0 0.13.2
deepeval 1.0.6 1.1.6
requests 2.32.2 2.32.3
locust 2.28.0 2.31.5
pytest 8.2.0 8.3.2
pytest-cov 4.1.0 5.0.0
pytest-asyncio 0.23.8 0.24.0

Updates fastapi from 0.109.2 to 0.114.0

Release notes

Sourced from fastapi's releases.

0.114.0

You can restrict form fields to only include those declared in a Pydantic model and forbid any extra field sent in the request using Pydantic's model_config = {"extra": "forbid"}:

from typing import Annotated

from fastapi import FastAPI, Form from pydantic import BaseModel

app = FastAPI()

class FormData(BaseModel): username: str password: str model_config = {"extra": "forbid"}

@​app.post("/login/") async def login(data: Annotated[FormData, Form()]): return data

Read the new docs: Form Models - Forbid Extra Form Fields.

Features

  • ✨ Add support for forbidding extra form fields with Pydantic models. PR #12134 by @​tiangolo.

Docs

  • 📝 Update docs, Form Models section title, to match config name. PR #12152 by @​tiangolo.

Internal

  • ✅ Update internal tests for latest Pydantic, including CI tweaks to install the latest Pydantic. PR #12147 by @​tiangolo.

0.113.0

Now you can declare form fields with Pydantic models:

from typing import Annotated

from fastapi import FastAPI, Form from pydantic import BaseModel

app = FastAPI()

class FormData(BaseModel): </tr></table>

... (truncated)

Commits
  • bde12fa 🔖 Release version 0.114.0
  • 74842f0 📝 Update release notes
  • e68d8c6 📝 Update release notes
  • 4ff22a0 📝 Update docs, Form Models section title, to match config name (#12152)
  • a11e392 📝 Update release notes
  • 4633b1b ✨ Add support for forbidding extra form fields with Pydantic models (#12134)
  • 1b06b53 📝 Update release notes
  • c411b81 ✅ Update internal tests for latest Pydantic, including CI tweaks to install t...
  • d86f660 🔖 Release version 0.113.0
  • 179f838 📝 Update release notes
  • Additional commits viewable in compare view


Updates uvicorn from 0.30.1 to 0.30.6

Release notes

Sourced from uvicorn's releases.

Version 0.30.6

Fixed

  • Don't warn when upgrade is not WebSocket and depedencies are installed (#2360)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.5...0.30.6

Version 0.30.5

Fixed

  • Don't close connection before receiving body on H11 (#2408)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.4...0.30.5

Version 0.30.4

Fixed

  • Close connection when h11 sets client state to MUST_CLOSE #2375

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.3...0.30.4

Version 0.30.3

Fixed

  • Suppress KeyboardInterrupt from CLI and programmatic usage (#2384)
  • ClientDisconnect inherits from OSError instead of IOError (#2393)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.2...0.30.3

Version 0.30.2

Added

Fixed

  • Iterate subprocesses in-place on the process manager (#2373)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.1...0.30.2

Changelog

Sourced from uvicorn's changelog.

0.30.6 (2024-08-13)

Fixed

  • Don't warn when upgrade is not WebSocket and depedencies are installed (#2360)

0.30.5 (2024-08-02)

Fixed

  • Don't close connection before receiving body on H11 (#2408)

0.30.4 (2024-07-31)

Fixed

  • Close connection when h11 sets client state to MUST_CLOSE (#2375)

0.30.3 (2024-07-20)

Fixed

  • Suppress KeyboardInterrupt from CLI and programmatic usage (#2384)
  • ClientDisconnect inherits from OSError instead of IOError (#2393)

0.30.2 (2024-07-20)

Added

Fixed

  • Iterate subprocesses in-place on the process manager (#2373)
Commits


Updates haystack-ai from 2.4.0 to 2.5.0

Release notes

Sourced from haystack-ai's releases.

v2.5.0

Release Notes

⬆️ Upgrade Notes

  • Removed ChatMessage.to_openai_format method. Use haystack.components.generators.openai_utils._convert_message_to_openai_format instead.
  • Removed unused debug parameter from Pipeline.run method.
  • Removed deprecated SentenceWindowRetrieval. Use SentenceWindowRetriever instead.

🚀 New Features

  • Added the unsafe argument to enable behavior that could lead to remote code execution in ConditionalRouter and OutputAdapter. By default, unsafe behavior is disabled, and users must explicitly set unsafe=True to enable it. When unsafe is enabled, types such as ChatMessage, Document, and Answer can be used as output types. We recommend enabling unsafe behavior only when the Jinja template source is trusted. For more information, see the documentation for ConditionalRouter and OutputAdapter.

⚡️ Enhancement Notes

  • Adapts how ChatPromptBuilder creates ChatMessages. Messages are deep copied to ensure all meta fields are copied correctly.
  • The parameter, min_top_k, has been added to the TopPSampler. This parameter sets the minimum number of documents to be returned when the top-p sampling algorithm selects fewer documents than desired. Documents with the next highest scores are added to meet the minimum. This is useful when guaranteeing a set number of documents to pass through while still allowing the Top-P algorithm to determine if more documents should be sent based on scores.
  • Introduced a utility function to deserialize a generic Document Store from the init_parameters of a serialized component.
  • Refactor deserialize_document_store_in_init_parameters to clarify that the function operates in place and does not return a value.
  • The SentenceWindowRetriever now returns context_documents as well as the context_windows for each Document in retrieved_documents . This allows you to get a list of Documents from within the context window for each retrieved document.

⚠️ Deprecation Notes

  • The default model for OpenAIGenerator and OpenAIChatGenerator, previously 'gpt-3.5-turbo', will be replaced by 'gpt-4o-mini'.

🐛 Bug Fixes

  • Fixed an issue where page breaks were not being extracted from DOCX files.
  • Used a forward reference for the Paragraph class in the DOCXToDocument converter to prevent import errors.
  • The metadata produced by DOCXToDocument component is now JSON serializable. Previously, it contained datetime objects automatically extracted from DOCX files, which are not JSON serializable. These datetime objects are now converted to strings.
  • Starting from haystack-ai==2.4.0, Haystack is compatible with sentence-transformers>=3.0.0; earlier versions of sentence-transformers are not supported. We have updated the test dependencies and LazyImport messages to reflect this change.
  • For components that support multiple Document Stores, prioritize using the specific from_dict class method for deserialization when available. Otherwise, fall back to the generic default_from_dict method. This impacts the following generic components: CacheChecker, DocumentWriter, FilterRetriever, and SentenceWindowRetriever.

v2.5.0-rc3

Release Notes

Enhancement Notes

  • Adapts how ChatPromptBuilder creates ChatMessages. Messages are deep copied to ensure all meta fields are copied correctly.

v2.5.0-rc2

Release Notes

Upgrade Notes

  • Remove ChatMessage.to_openai_format method. Use haystack.components.generators.openai_utils._convert_message_to_openai_format instead.
  • Remove unused debug parameter from Pipeline.run method.
  • Removing deprecated SentenceWindowRetrieval, replaced by SentenceWindowRetriever

... (truncated)

Commits
  • e6e588c bump version to v2.5.0
  • 8b5ad39 bump version to v2.5.0-rc3
  • 93afb22 feat: ChatPromptBuilder copies entire ChatMessage rather than copying con...
  • a9cd91b bump version to 2.5.0-rc2
  • 11b3d69 Fix error in release notes
  • 84f6e48 bump version to 2.5.0-rc1
  • 3e3f79b feat: Add unsafe init arg in ConditionalRouter and OutputAdapter to ena...
  • e614fa0 refactor: Rename deserialize_document_store_in_init_parameters (#8302)
  • 7dbc51a doc: warning added for deprectaion of gpt-3.5 as default model for OpenAI g...
  • 51180e0 chore: Remove emojis from release notes config (#8305)
  • Additional commits viewable in compare view


Updates openai from 1.30.1 to 1.44.0

Release notes

Sourced from openai's releases.

v1.44.0

1.44.0 (2024-09-06)

Full Changelog: v1.43.1...v1.44.0

Features

  • vector store: improve chunking strategy type names (#1690) (e82cd85)

v1.43.1

1.43.1 (2024-09-05)

Full Changelog: v1.43.0...v1.43.1

Chores

v1.43.0

1.43.0 (2024-08-29)

Full Changelog: v1.42.0...v1.43.0

Features

  • api: add file search result details to run steps (#1681) (f5449c0)

v1.42.0

1.42.0 (2024-08-20)

Full Changelog: v1.41.1...v1.42.0

Features

  • parsing: add support for pydantic dataclasses (#1655) (101bee9)

Chores

v1.41.1

1.41.1 (2024-08-19)

Full Changelog: v1.41.0...v1.41.1

Bug Fixes

... (truncated)

Changelog

Sourced from openai's changelog.

1.44.0 (2024-09-06)

Full Changelog: v1.43.1...v1.44.0

Features

  • vector store: improve chunking strategy type names (#1690) (e82cd85)

1.43.1 (2024-09-05)

Full Changelog: v1.43.0...v1.43.1

Chores

1.43.0 (2024-08-29)

Full Changelog: v1.42.0...v1.43.0

Features

  • api: add file search result details to run steps (#1681) (f5449c0)

1.42.0 (2024-08-20)

Full Changelog: v1.41.1...v1.42.0

Features

  • parsing: add support for pydantic dataclasses (#1655) (101bee9)

Chores

1.41.1 (2024-08-19)

Full Changelog: v1.41.0...v1.41.1

Bug Fixes

Chores

  • client: fix parsing union responses when non-json is returned (#1665) (822c37d)

... (truncated)

Commits


Updates qdrant-haystack from 4.1.2 to 5.0.0

Commits


Updates tqdm from 4.66.4 to 4.66.5

Release notes

Sourced from tqdm's releases.

tqdm v4.66.5 stable

Commits
  • 951a2ba Merge pull request #1595 from hroncok/py3.13-await-aclose
  • 2fbad6a Avoid Python 3.13+ RuntimeWarning: coroutine method 'aclose' of 'acount' was ...
  • 0254345 Merge pull request #1594 from mgorny/py313-docstring
  • 43230f6 slight lint
  • 5ba6595 cli: Fix docstring processing with Python 3.13+
  • 448946a Merge pull request #1602 from tqdm/devel
  • 46cd395 add py3.12 support
  • d8ac656 ncols: support FreeBSD
  • 4f66276 bump deps & linters
  • 54796cc docs: bump versions
  • See full diff in compare view


Updates sqlparse from 0.5.0 to 0.5.1

Changelog

Sourced from sqlparse's changelog.

Release 0.5.1 (Jul 15, 2024)

Enhancements

  • New "compact" option for formatter. If set, the formatter tries to produce a more compact output by avoiding some line breaks (issue783).

Bug Fixes

  • The strip comments filter was a bit greedy and removed too much whitespace (issue772). Note: In some cases you might want to add strip_whitespace=True where you previously used just strip_comments=True. strip_comments did some of the work that strip_whitespace should do.
  • Fix error when splitting statements that contain multiple CASE clauses within a BEGIN block (issue784).
  • Fix whitespace removal with nested expressions (issue782).
  • Fix parsing and formatting of ORDER clauses containing NULLS FIRST or NULLS LAST (issue532).
Commits
  • 2664c9e Bump version.
  • b126ba5 Fix tokenization of order keywords (fixes #532).
  • 0c4902f Descend into subgroups when removing whitespace (fixes #782).
  • a8de06e Revert "Add regression test (#780)."
  • b253bb1 Add regression test (#780).
  • 791e25d Fix error when splitting statements that contain multiple CASE clauses within...
  • 073099d Update compact option to improve formatting
  • 3ea660e Code cleanup.
  • 974617d Add shortcut for running flake8 and pytest.
  • bf74d8b Add compact option to force a more compact formatting (fixes #783).
  • Additional commits viewable in compare view


Updates orjson from 3.10.3 to 3.10.7

Release notes

Sourced from orjson's releases.

3.10.7

Changed

  • Improve performance of stable Rust amd64 builds.

3.10.6

Changed

  • Improve performance.

3.10.5

Changed

  • Improve performance.

3.10.4

Changed

  • Improve performance.
Changelog

Sourced from orjson's changelog.

3.10.7 - 2024-08-08

Changed

  • Improve performance of stable Rust amd64 builds.

3.10.6 - 2024-07-02

Changed

  • Improve performance.

3.10.5 - 2024-06-13

Changed

  • Improve performance.

3.10.4 - 2024-06-10

Changed

  • Improve performance.
Commits


Updates sf-hamilton from 1.69.0 to 1.75.1

Release notes

Sourced from sf-hamilton's releases.

sf-hamilton-1.75.1

What's Changed

New Contributors

Full Changelog: https://github.com/DAGWorks-Inc/hamilton/compare/sf-hamilton-1.75.0...sf-hamilton-1.75.1

sf-hamilton-1.75.0

What's Changed

Full Changelog: https://github.com/DAGWorks-Inc/hamilton/compare/sf-hamilton-1.74.0...sf-hamilton-1.75.0

sf-hamilton-1.74.0

What's Changed

Full Changelog: https://github.com/DAGWorks-Inc/hamilton/compare/sf-hamilton-1.73.2...sf-hamilton-1.74.0

sf-hamilton-1.73.2

What's Changed

New Contributors

Full Changelog: https://github.com/DAGWorks-Inc/hamilton/compare/sf-hamilton-1.73.1...sf-hamilton-1.73.2

sf-hamilton-1.73.1

... (truncated)

Commits
  • 004ac5e Bumps version to push out 1.75.1
  • 6f2376d Handles partials in source code hash (#1116)
  • d90212f Update type parameter names and protocol comments
  • 9716e95 Fix formatting errors
  • 70585a0 Change Parallelizable and Collect to structural subtypes
  • 01233d9 Gets rid of ruff type-checking block hint for first-class imports
  • 2726190 Fixes issue in future annotations
  • b686179 Update README.md (#1112)
  • 8fbc1f8 Fixes polars hist test
  • 599bc0c Bumps SDK version to 0.7.0
  • Additional commits viewable in compare view


Updates aiohttp from 3.10.2 to 3.10.5

Release notes

Sourced from aiohttp's releases.

3.10.5

Bug fixes

  • Fixed :meth:aiohttp.ClientResponse.json() not setting status when :exc:aiohttp.ContentTypeError is raised -- by :user:bdraco.

    Related issues and pull requests on GitHub: #8742.

Miscellaneous internal changes

  • Improved performance of the WebSocket reader -- by :user:bdraco.

    Related issues and pull requests on GitHub: #8736, #8747.


3.10.4

Bug fixes

  • Fixed decoding base64 chunk in BodyPartReader -- by :user:hyzyla.

    Related issues and pull requests on GitHub: #3867.

  • Fixed a race closing the server-side WebSocket where the close code would not reach the client -- by :user:bdraco.

    Related issues and pull requests on GitHub: #8680.

  • Fixed unconsumed exceptions raised by the WebSocket heartbeat -- by :user:bdraco.

    If the heartbeat ping raised an exception, it would not be consumed and would be logged as an warning.

... (truncated)

Changelog

Sourced from aiohttp's changelog.

3.10.5 (2024-08-19)

Bug fixes

  • Fixed :meth:aiohttp.ClientResponse.json() not setting status when :exc:aiohttp.ContentTypeError is raised -- by :user:bdraco.

    Related issues and pull requests on GitHub: :issue:8742.

Miscellaneous internal changes

  • Improved performance of the WebSocket reader -- by :user:bdraco.

    Related issues and pull requests on GitHub: :issue:8736, :issue:8747.


3.10.4 (2024-08-17)

Bug fixes

  • Fixed decoding base64 chunk in BodyPartReader -- by :user:hyzyla.

    Related issues and pull requests on GitHub: :issue:3867.

  • Fixed a race closing the server-side WebSocket where the close code would not reach the client -- by :user:bdraco.

    Related issues and pull requests on GitHub: :issue:8680.

... (truncated)

Commits


Updates ollama-haystack from 0.0.6 to 1.0.0

Commits


Updates langfuse from 2.43.3 to 2.47.1

Release notes

Sourced from langfuse's releases.

v2.47.1

What's Changed

Full Changelog: https://github.com/langfuse/langfuse/compare/v2.47.0...v2.47.1

v2.47.0

What's Changed

Full Changelog: https://github.com/langfuse/langfuse/compare/v2.46.0...v2.47.0

v2.46.0

Full Changelog: https://github.com/langfuse/langfuse/compare/v2.46.0...v2.46.0

What's Changed

Full Changelog: https://github.com/langfuse/langfuse/compare/v2.45.1...v2.46.0

v2.45.1

What's Changed

Full Changelog: https://github.com/langfuse/langfuse/compare/v2.45.0...v2.45.1

v2.45.0

... (truncated)

Commits


Updates ollama from 0.2.1 to 0.3.2

Release notes

Sourced from ollama's releases.

v0.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/ollama/ollama-python/compare/v0.3.1...v0.3.2

v0.3.1

What's Changed

dependabot[bot] commented 2 months ago

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml