Repository navigation
Breaking changes
-
ragnar_read(),ragnar_chunk(),ragnar_segment(), and
ragnar_chunk_segments()now emit deprecation warnings. They have been
documented as deprecated since ragnar 0.2.0. Useread_as_markdown()and
markdown_chunk()instead. -
embed_ollama()now defaults to
model = "embeddinggemma-2:270m-q8_0-text". Existing stores keep the
embedding model they were created with. Run
ollama pull embeddinggemma-2:270m-q8_0-textbefore creating new stores
with the default. -
Retrieval now rejects metadata columns named
metric_nameormetric_value
(ignoring case) and asks for different column names. -
ragnar now requires DuckDB >= 1.5.0, whose row-ID fetching keeps indexed
VSS retrieval bounded to the selected matches.
New features
-
ragnar_store_ingest()now uses modification times or a hash of the
prepared Markdown to skip unchanged sources (#200). Older v2 stores open
unchanged in read-only mode (the default) and their schema is upgraded on
disk when connected withread_only = FALSE. Existing documents have
unknown freshness and are reprocessed when their sources are next ingested;
later runs can skip unchanged sources (#218). -
ragnar_store_sync()removes documents outside a supplied set of origins
(#201). -
ragnar_store_audit()reports expected, ingested, and missing origins,
stored chunk counts, and missing URLs, optionally grouped by a column in
the expected data frame (@andrie, #203, #210). -
ragnar_store_ingest()now returns aningest_summaryattribute reporting
the status, stored chunk count, and worker error message for each input path.
It honors index requests when all paths already exist (#202, #208). -
ragnar_find_links(metadata = TRUE)returns a tibble withsourceand
last_modifiedcolumns, so timestamps stay with their links when joining or
binding rows. The default remains a character vector (#212). -
ragnar_find_links()reads modification dates and datetimes from sitemaps,
avoiding extra timestamp requests for URLs with a known date. Invalid sitemap
locations are reported in theproblemsattribute. Crawl and validation
problems have the documentedlinkandproblemcolumns (@andrie, #212). -
ragnar_find_links()can now include the starting page with
include_root = TRUE(#199). -
ragnar_retrieve_vss()filters can now referencemetric_value,
metric_name, and, for version 2 stores,originandtext. Filtered
searches spanning the initial 5,000 candidates now respecttop_k.
Minor improvements and fixes
-
ragnar_retrieve_vss()now fetches embeddings and document text for output
after ranking and filtering candidates, reducing intermediate memory use.
Store connections disable insertion-order preservation, and the store
documentation explains how to set a deployment-specific DuckDB memory limit
(#188). -
ragnar_store_ingest()now reports worker failures as
ragnar_ingest_worker_errorwarnings with apathfield identifying the
failed input, including whenprepare()returns an invalid result or a
worker exits (#205). -
ragnar_store_ingest()now limits its default worker count based on the
detected core count, with a minimum of two workers. If core detection is
unavailable, four cores are assumed (#206). -
ragnar_store_ingest()skips unchanged files with subsecond modification
times consistently with DuckDB 2.0. -
ragnar_store_ingest()now prints document origins literally in progress
messages. -
ragnar_find_links()now returns an empty character vector by default when
no links are found or all links are filtered out, instead of erroring. -
markdown_chunk()no longer misplaces heading boundaries when the input
contains combining characters (NFD-normalized text) (@taekop, #158). -
Embedding helpers such as
embed_bedrock(),embed_azure_openai(), and
embed_google_vertex()now return a function that preserves the supplied
configuration arguments whenxis omitted orNULL, instead of erroring
(#187). -
Windows Python environments now require ONNX Runtime 1.20.1 or earlier,
avoiding native import failures on CRAN's Windows builders. -
Installation attempts to warm the Python dependency cache in a separate
process, except on native Windows ARM64. Native import failures during
warm-up remain visible in the installation log but no longer abort package
installation. -
On native Windows ARM64, MarkItDown conversion and DuckDB stores now
report that they are unsupported before initializing them.
Other features remain enabled.