This commit is contained in:
Yiorgis Gozadinos 2026-04-22 16:18:44 +03:00
parent 48affd3ce8
commit bb9e7b28ca
No known key found for this signature in database
6 changed files with 12 additions and 9 deletions

View file

@ -1,6 +1,8 @@
# Changelog
## [Unreleased]
## [0.42.0] - 2026-04-22
### Fixed
- **`create_document`, `update_document`, and rebuild (`RECHUNK` / full fallback) no longer misread URL-prefixed text as a URL to fetch.** These paths passed known-text content through `HaikuRAG.convert()`, which dispatches on `urlparse(source).scheme`; text whose first line was `https://...` (common for clipped web pages and notes) got handed to `httpx.get` and crashed with `httpx.InvalidURL` on embedded whitespace. Fixed by calling `converter.convert_text(...)` directly at those sites; `convert()` itself is unchanged for `create_document_from_source`.
@ -1413,7 +1415,8 @@ Existing documents without DoclingDocument data will work but won't have provena
- Initial version tracking
[Unreleased]: https://github.com/ggozad/haiku.rag/compare/0.41.0...HEAD
[Unreleased]: https://github.com/ggozad/haiku.rag/compare/0.42.0...HEAD
[0.42.0]: https://github.com/ggozad/haiku.rag/compare/0.41.0...0.42.0
[0.41.0]: https://github.com/ggozad/haiku.rag/compare/0.40.1...0.41.0
[0.40.1]: https://github.com/ggozad/haiku.rag/compare/0.39.0...0.40.1
[0.39.0]: https://github.com/ggozad/haiku.rag/compare/0.38.0...0.39.0

View file

@ -8,7 +8,7 @@ dependencies = [
"uvicorn[standard]>=0.40.0",
"pydantic-ai-slim[ag-ui,anthropic,openai]>=1.81.0",
"python-dotenv>=1.2.1",
"haiku.rag-slim>=0.41.0",
"haiku.rag-slim>=0.42.0",
"logfire[pydantic-ai]>=3.17.0",
]

View file

@ -2,7 +2,7 @@
name = "haiku.rag-evals"
description = "Benchmarking and evaluation scripts for haiku.rag"
version = "0.41.0"
version = "0.42.0"
authors = [{ name = "Yiorgis Gozadinos", email = "ggozadinos@gmail.com" }]
license = { text = "MIT" }
requires-python = ">=3.12"

View file

@ -2,7 +2,7 @@
name = "haiku.rag-slim"
description = "Opinionated agentic RAG powered by LanceDB, Pydantic AI, and Docling - Minimal dependencies"
version = "0.41.0"
version = "0.42.0"
authors = [{ name = "Yiorgis Gozadinos", email = "ggozadinos@gmail.com" }]
license = { text = "MIT" }
readme = { file = "README.md", content-type = "text/markdown" }

View file

@ -2,7 +2,7 @@
name = "haiku.rag"
description = "Opinionated agentic RAG powered by LanceDB, Pydantic AI, and Docling"
version = "0.41.0"
version = "0.42.0"
authors = [{ name = "Yiorgis Gozadinos", email = "ggozadinos@gmail.com" }]
license = { text = "MIT" }
readme = { file = "README.md", content-type = "text/markdown" }
@ -30,7 +30,7 @@ classifiers = [
]
dependencies = [
"haiku.rag-slim[docling,voyageai,mxbai,cohere,zeroentropy,tui]==0.41.0",
"haiku.rag-slim[docling,voyageai,mxbai,cohere,zeroentropy,tui]==0.42.0",
]
[project.scripts]

View file

@ -1418,7 +1418,7 @@ wheels = [
[[package]]
name = "haiku-rag"
version = "0.41.0"
version = "0.42.0"
source = { editable = "." }
dependencies = [
{ name = "haiku-rag-slim", extra = ["cohere", "docling", "mxbai", "tui", "voyageai", "zeroentropy"] },
@ -1475,7 +1475,7 @@ dev = [
[[package]]
name = "haiku-rag-evals"
version = "0.41.0"
version = "0.42.0"
source = { editable = "evaluations" }
dependencies = [
{ name = "datasets" },
@ -1500,7 +1500,7 @@ requires-dist = [
[[package]]
name = "haiku-rag-slim"
version = "0.41.0"
version = "0.42.0"
source = { editable = "haiku_rag_slim" }
dependencies = [
{ name = "docling-core" },