This changelog covers 8 releases (0.3.27–0.3.34). Most of the work went into targets, the databases CocoIndex writes to: five new target connectors (Apache Doris, ChromaDB, FalkorDB, Ladybug, and Pinecone) and new index options for LanceDB. The engine also cleans up after removed sources, validates names earlier, and runs on Python 3.14 in free-threaded mode.
CocoIndex incrementally updates derived data from sources such as PDFs, codebases, and meeting notes. This post describes the 0.3.x API. Headings name the release in which each change first shipped.
- You pick a database for retrieval: read targets and the SEC EDGAR example.
- You run pipelines in production: read stale source cleanup, custom schema for internal tables, and slow HTTP request warnings.
- You index local files: read local file change notifications.
- You use Kuzu: read Ladybug.
Where to find these features in v1
This post covers the v0 API. CocoIndex v1 replaces flows with apps and processing components, so each feature has a different shape there.
| v0 feature (0.3.x) | In CocoIndex v1 |
|---|---|
| Stale source cleanup | v1 does this by default: when a component is no longer mounted, CocoIndex deletes the target states it owned. See how target states sync. |
| Python 3.14 free-threaded | v1 publishes free-threaded cp314t wheels (PyPI files). |
update(print_stats=True) | app.update_blocking(report_to_stdout=True), or UpdateHandle.stats(). See progress monitoring. |
db_schema_name for internal tables | v1 has no internal tables in Postgres: it keeps its state in a local LMDB database (COCOINDEX_DB). See internal storage. |
LocalFile watch_changes | The localfs source with live=True, in live mode. See live file watching. |
| Apache Doris target | Doris connector. |
| FalkorDB target | FalkorDB connector, added in v1.0.1 to v1.0.7. |
| LanceDB index options | LanceDB connector, with vector and FTS indexes since v1.0.11. |
| ChromaDB, Pinecone and Ladybug targets | No v1 connector yet. Use them on 0.3.x, or write a custom target connector. |
| SEC EDGAR example | SEC EDGAR analytics. |
| Slides-to-speech example | Slides to speech. |
Core capability
The engine changes in this cycle are about state and visibility. CocoIndex now removes what a deleted source left behind, rejects bad table and column names before setup, and reports more about what a running pipeline is doing. It also runs on Python 3.14 in free-threaded mode.
Automatic stale source cleanup (v0.3.29)
When you renamed or removed a source in a flow, its rows used to stay in the target, along with CocoIndex’s tracking metadata for them (the records of which source rows produced which target rows). No step read or deleted them.
flow
target, before 0.3.29
target, from 0.3.29
Now flow setup detects the renamed or removed source, streams through its tracking metadata, deletes the matching target rows, and removes the stale state records. It runs with controlled parallelism, so it does not overload your database (#1468). You do not delete anything by hand.
Python 3.14 free-threaded support (v0.3.29 to v0.3.30)
Standard CPython has a global interpreter lock (GIL), which lets only one thread run Python code at a time. Python 3.14 has a free-threaded build without it, so threads that run Python code can use several cores at once.
Standard CPython, with the GIL
One thread runs Python code at a time. The others wait for the lock.
Python 3.14 free-threaded build
No GIL. Threads run Python code on several cores at once.
CocoIndex now runs natively in Python 3.14’s free-threaded mode. CI builds ship free-threaded wheels on manylinux. Install CocoIndex into a free-threaded Python 3.14 interpreter; CocoIndex itself needs no config change (#1357, #1609, #1638).
Tighter target validation (v0.3.34)
An invalid table or column name used to reach the database and fail there, with an error that did not point back to your flow. CocoIndex now validates table and column names before target setup (#1714).
Execution plan initialization fix (v0.3.34)
A race condition let the execution plan run before target setup completed. Target setup now completes first (#1715). The figure shows the order in 0.3.34.
Pipeline stats in update() API (v0.3.28)
The cocoindex update CLI printed statistics, but a call to update() from your own code did not. A new print_stats option on the update() API prints runtime statistics at the call site, which helps when you benchmark or debug a pipeline (#1525).
stats = my_flow.update(print_stats=True)
What you see. One line per source, with a progress bar and the number of source rows added, updated, reprocessed, deleted, unchanged, or in error.
Custom database schema for internal tables (v0.3.29)
CocoIndex keeps its internal metadata and tracking tables in Postgres. In a database that other applications share, those tables used to land in the connection’s default schema.
They can now live in a custom Postgres schema (a named namespace for tables inside one database). Set db_schema_name in cocoindex.Settings, or the COCOINDEX_DATABASE_SCHEMA_NAME environment variable. CocoIndex writes schema.table names instead of changing search_path, so other users of a shared database see no change (#1459).
export COCOINDEX_DATABASE_SCHEMA_NAME=cocoindex_internal
What you see. CocoIndex’s internal tables appear in the cocoindex_internal schema, which is created if it does not exist. Without the setting, they stay in the connection’s default schema, usually public.
default
COCOINDEX_DATABASE_SCHEMA_NAME=cocoindex_internal
CocoIndex writes schema.table names and leaves search_path unchanged, so other users of the database see no change.
Slow HTTP request warnings (v0.3.29)
A stalled update often waits on one slow call to an LLM provider or an external API. The runtime now logs a warning for slow HTTP requests, so you can find that call (#1617). The threshold is 30 seconds:
Taking longer than 30s: HTTP request to <url>Finished after <n>sThe warning only logs. The request keeps running until it completes.
Enhanced tracing (v0.3.29)
Tracing now covers more of the engine, which helps when you debug a pipeline (#1618).
ColPali/ColQwen organization prefix fix (v0.3.29)
Fixed a crash when using ColPali or ColQwen models with organization-prefixed model names (e.g., org/model-name) (#1624).
Quick check: you remove a source from a flow. What happens to the rows it wrote to the target?
From 0.3.29, CocoIndex deletes them during flow setup, together with the tracking metadata and state records for that source.
Integrations
This cycle adds five target connectors, local filesystem change notifications, and more LanceDB index options.
Sources
Local file change notifications (v0.3.32)
To see new or changed files, a source must either poll (list and compare the files on a schedule) or receive change events from the operating system. Polling costs CPU and adds delay.
The LocalFile source now supports native filesystem change notifications through the notify crate, a Rust library for OS file events. With the new watch_changes option, CocoIndex reacts to OS events instead of polling. Changes reach the update sooner, scans no longer cost CPU, and your include/exclude patterns still apply (#1669).
polling
watch_changes enabled
In 0.3.34, watch_changes exists in the engine’s LocalFile spec and in the LocalFile docs. The Python cocoindex.sources.LocalFile class has no watch_changes field, so LocalFile(path=..., watch_changes=True) raises TypeError. The field is still missing in 0.3.39, the last 0.3.x release.
Targets
Each new target fits a different kind of retrieval: vector search (Apache Doris, ChromaDB, Pinecone), graph queries (FalkorDB, Ladybug), or analytics with SQL (Apache Doris).
0.3.34 has 9 built-in targets: Postgres, Qdrant, Pinecone, LanceDB, ChromaDB, Apache Doris, Neo4j, FalkorDB, and Ladybug (with Kuzu aliases).
Vector stores
- ChromaDBnew · v0.3.29
- Pineconenew · v0.3.31
- LanceDBHNSW, IVF Flat · v0.3.29
- Qdrant
Graph databases
- FalkorDBnew · v0.3.29
- Ladybugnew · v0.3.33 · Kuzu aliases
- Neo4j
Relational
- Postgres
Analytics engines
- Apache Dorisnew · v0.3.28 · vector + full-text + SQL
In the notes below, HNSW and IVF are two families of approximate nearest-neighbor vector index: HNSW is a layered graph, and IVF groups vectors into clusters and searches only the clusters closest to the query.
HNSW and IVF are both approximate nearest-neighbor indexes. Apache Doris has both, ChromaDB has HNSW options, and LanceDB adds HNSW and IVF Flat.
Apache Doris (v0.3.28 to v0.3.30)
CocoIndex now writes to Apache Doris 4.0 (and VeloDB Cloud) as a vector database target. The target includes HNSW and IVF vector indexes, inverted full-text search indexes with Unicode/English/Chinese parsers, Stream Load ingestion (Doris’s HTTP bulk-load API) with batching and exponential backoff, and upsert/delete support. A text embedding example ships alongside (#1475, #1642).
ChromaDB (v0.3.29 to v0.3.31)
The new ChromaDB target supports PersistentClient, CloudClient (with SPANN+SPFresh, the vector indexes of Chroma Cloud), and HttpClient. It includes HNSW configuration options, explicit document_field specification, and early validation for vector fields (#1548, #1663).
FalkorDB (v0.3.29)
New property graph target powered by FalkorDB, a graph database built on Redis. A property graph stores nodes and relationships, each with a label and key-value properties. The target supports nodes, relationships, vector and FTS (full-text search) indexes, and batch operations. It ships with a docs-to-knowledge-graph example using LLM extraction (#1481).
Ladybug, successor to Kuzu (v0.3.33)
Kuzu was archived in October 2025. Ladybug is the maintained community fork of Kuzu. Like Kuzu, it is an embedded property graph database, and CocoIndex writes to it with Cypher, the graph query language both use. CocoIndex now targets Ladybug natively, with backward-compatible Kuzu* type aliases so existing pipelines can retain their Kuzu* type names (#1487).
LanceDB (v0.3.29)
LanceDB was already a target. It now supports VectorIndexMethod for HNSW and IVF Flat indexes in LanceDB, which gives you control over index configuration (#1409).
Pinecone (v0.3.31)
Pinecone is now a built-in target connector, so a CocoIndex pipeline can write to your managed Pinecone indexes. A text embedding example is included (#1556).
Quick check: a pipeline uses the Kuzu target type. Must you rename it to upgrade?
No. Kuzu, KuzuConnection, and KuzuDeclaration remain as aliases for the Ladybug types, so existing pipelines keep their names.
Quick check: which of the new targets is a property graph built on Redis?
FalkorDB. Ladybug is the other new graph target; it is the community fork of Kuzu.
Build with CocoIndex
SEC EDGAR financial analytics with CocoIndex + Apache Doris
- Financial reports
- TXT filings
- JSON facts
- PDF proxy statements
- CocoIndex
- Scrub PII
- Split sentences / chunks
- Extract topics
- Embed
- Apache Doris
- Vector + SQL store
- Hybrid search & analytics
- Find similar reports
- Financial analytics
SEC EDGAR Financial Analytics with CocoIndex + Apache Doris
A multi-source ETL pipeline that builds a financial analytics system from SEC EDGAR data with CocoIndex and Apache Doris.
The example ingests three data sources: TXT filings (10-K/10-Q risk factors), JSON company facts from the SEC XBRL API, and PDF proxy statements. It then indexes them into Apache Doris with hybrid search (vector + keyword via Reciprocal Rank Fusion, which merges the two ranked lists by rank position), topic filtering with JSON arrays, and portfolio-level search with per-company aggregation.
It also scrubs PII (personal data such as names and contact details) before indexing, and uses incremental updates with caching.
The tutorial has the full code.
Slides-to-Speech: Turn slide decks into searchable, narrated knowledge
- Slide decks
- PDF files
- CocoIndex + LLM/TTS
- Text ingestion
- Extraction
- Speech synthesis
- LanceDB
- Searchable narration
- Use the knowledge
- Semantic search
- Topic insights
- Voice search
Slides-to-Speech: Turn slide decks into searchable, narrated knowledge
Slide decks in Google Drive hold knowledge that is hard to search. The walkthrough builds a continuously updating slides-to-speech pipeline with CocoIndex and LanceDB.
The pipeline watches a Drive folder for new or modified PDF decks, converts each slide to an image with PyMuPDF, extracts structured speaker notes using BAML + Gemini Vision, synthesizes narration with Piper-TTS, generates embeddings, and indexes everything into LanceDB: images, transcripts, audio bytes, and metadata in one place.
What the example shows:
- Incremental processing: Only changed slides get reprocessed. If you update one slide in a 200-page deck, CocoIndex regenerates the audio, transcript, and embedding for that slide only.
- Multimodal search: Semantic queries return the top matching slides with their images, speaker notes, and synced audio.
- Local TTS: Neural text-to-speech runs locally via Piper, so there are no API costs for audio generation.
- A searchable dataset: The PDF becomes a searchable, listenable dataset that stays current, for agents, accessibility tools, or video generation.
The blog post walks through each step.
What to try next
- Pick a target for your retrieval pattern. Start from the Apache Doris or Pinecone text embedding example, or the FalkorDB docs-to-knowledge-graph example, all described above.
- Print stats from code. Call
update(print_stats=True)to see added, updated, and deleted rows per source, as in the stats example. - Move internal tables out of
public. SetCOCOINDEX_DATABASE_SCHEMA_NAMEin a shared Postgres database, as in the schema example. - Watch for slow calls. Look in your logs for
Taking longer than 30sto find the HTTP requests that hold up an update. - On Kuzu, move to Ladybug. Your
Kuzu*type names keep working; see Ladybug. - Move to CocoIndex v1. v1 has shipped and replaces the v0 API on this page. Its release notes start with CocoIndex 1.0.1 to 1.0.7, and the table above maps these features to v1.
The source is on GitHub.
Thanks to the community
Welcome to the new CocoIndex contributors.
@tomz-alt
Thanks @tomz-alt for adding the Apache Doris 4.0 vector database connector (a target with vector indexes, full-text search, and Stream Load ingestion) and for building the SEC EDGAR financial analytics example which shows multi-source ETL with hybrid search, plus improving the Doris text embedding example and cleaning up the SEC EDGAR tutorial.
@prrao87
@galshubeli
Thanks @galshubeli for adding the FalkorDB target, a property graph integration with nodes, relationships, vector/FTS indexes, and a docs-to-knowledge-graph example.
@Geoff-Robin
Thanks @Geoff-Robin for adding custom database schema support for CocoIndex’s internal tables, so they stay apart from other tables in a shared Postgres database, with explicit schema.table qualification.
@wuxiaobai24
Thanks @wuxiaobai24 for adding Python 3.14 free-threaded support, configuring PyO3 so CocoIndex runs without the GIL.
@ceshine
Thanks @ceshine for fixing the ColPali/ColQwen crash when using models with organization prefixes.
@LED-0102
Thanks @LED-0102 for adding filesystem change notifications to the LocalFile source using the notify crate, so live updates react to OS file events.
@prithvi-moonshot
Thanks @prithvi-moonshot for adding Pinecone as a target connector with a text embedding example.
@Haleshot
Thanks @Haleshot for building the initial ChromaDB target integration with support for PersistentClient, CloudClient, and HttpClient, fixing ChromaDB collection creation on first run, adding ChromaDB documentation, adding llms.txt to docs, adding short flag aliases for common CLI options, clarifying .env usage across examples, and migrating CI from pre-commit to prek.
@thisisharsh7
Thanks @thisisharsh7 for adding automatic cleanup of stale source data, ensuring renamed or removed sources don’t leave orphaned tracking metadata or target rows.
@majiayu000
Thanks @majiayu000 for adding VectorIndexMethod support for HNSW and IVF Flat indexes in LanceDB.
Build fresh context for your agents.
CocoIndex keeps derived data in sync with its sources. Only what changed re-runs.


