Releases
34 versions from Oct 13 to Nov 27, 2026. 6 MINOR releases and 27 PATCH releases came after the first release.
Each mark is one version, on a time axis in UTC. Select a mark to show its changes.
- MINOR: new features (before 1.0.0, also a change of the API)
- PATCH: fixes and small additions
- The first release
1 change in 1 package. The changes with the most packages come first.
New versions of the dependencies (the release train).
1 change in 1 package. The changes with the most packages come first.
Kept replies of a poll.
keptRepliesofpolite-crawler/apikeeps the last full reply of each URL of a poll, with its body as compressed bytes.
1 change in 1 package. The changes with the most packages come first.
The body of a capture, and an unchanged page.
body(capture)ofopenCrawlergives the bytes of the body of a capture, with no request.
1 change in 1 package. The changes with the most packages come first.
Seal a store of kept answers.
sealKeptofpolite-crawler/apiencrypts the entries of a store with AES-256-GCM.
2 changes in 1 package. The changes with the most packages come first.
Kept answers for the API clients.
keptFetchofpolite-crawler/apiputs a store of kept answers on afetch.Only a full answer in UTF-8 is kept. The store keeps an answer 200, 203 or 204 with an
ETagor aLast-Modifieddate.
2 changes in 1 package. The changes with the most packages come first.
**A new entry point
polite-crawler/pinned: the download of a pinned file.** A client names a file by the SHA-256 of its bytes, and gives its URL and its mirrors.No read, and a folder that is a cache. When no source gives the bytes, it throws a
NoReadwith each try, so a test gate can show no read and not a pass.
3 changes in 1 package. The changes with the most packages come first.
**
fetchTransportandpollread bytes.**fetchTransportreads such a body witharrayBuffer.A body in bytes for the API clients. An
Exchangeofpolite-crawler/apiwithread: "bytes"gets the body of the answer inbytesof theReply, as aUint8Array, and an emptybody.A refusal of the client is no failure of the host.
sendgives anApiErrorof its transport as it is.
1 change in 1 package. The changes with the most packages come first.
**The new function
chooseVenueReadings.** It orders the readings of a venue, asreadVenuedoes.
2 changes in 1 package. The changes with the most packages come first.
**The quotas count their windows with the limiter of
@mark1russell7/service.**quotaGatemaps a quota to a quota spec of@mark1russell7/service/limiterand gives yourQuotaStoreto it through an adapter.The size of the quotas in a browser. A browser bundle of all of
polite-crawler/apigoes from 7.9 KB to 13.4 KB (gzip), for the limiter and its exact time units.
2 changes in 1 package. The changes with the most packages come first.
**The new function
freshUntilinpolite-crawler/api.** It gives the end of the freshness of an answer, as RFC 9111 §4.2 calculates it, in milliseconds since the epoch.The watch list makes its table and its index at each open again, as before 0.7.1.
3 changes in 1 package. The changes with the most packages come first.
**A test of the entry point
polite-crawler/text**, as the test ofpolite-crawler/urls.The error of two gates of one name and key tells you to give each quota a different name.
The smaller points of the review of the quotas. A take after a reading in the same millisecond keeps its units, so the count can be too high, but not too low.
1 change in 1 package. The changes with the most packages come first.
One daemon on a store, also for two starts at the same moment. Before, the state file of a start came after the browser check and the MCP start, so two starts at one moment both started.
4 changes in 1 package. The changes with the most packages come first.
**An option
busyTimeoutMsofDocIndex,VectorStoreorWatchStorethat is not a finite number is an error** (RangeError), from@mark1russell7/sqlite.**The search index, the vectors and the watch list open their files through
@mark1russell7/sqlite**, as the host state store does since 0.6.3.**The vector store reads its vectors with
readTransactionof@mark1russell7/sqlite0.3.2**, in place of a hand-madeBEGIN.The venue recipe reads the hours of a bar as a different schedule. Two regexes of the labels of a schedule had a backspace character where the word boundary
\bwas meant.
11 changes in 1 package. The changes with the most packages come first.
**
giveBackof a quota gate.** It removes units from the bucket of their time.**An error of
onErroris lost.** Before, anonErrorthat threw in a give-back of a list stopped the other give-backs, and the caller got that error, not theQuotaError.The API report names only entry points. Before, it named a chunk of the bundler (
build/html.chunk.d.mts) for the declarations of/html.**The guards
isApiErrorandisQuotaError** inpolite-crawler/api.The longest block of the provider. A block of the provider ends at the latest one window after the reading.
**The new entry point
polite-crawler/text.** It gives the body decoder (decodeBody,bodyEncoding) and imports no module, so a browser gets it without linkedom.The three forms of a reset header.
readQuotaHeadersread eachresetAtvalue as seconds since the epoch.**This version breaks the API of
polite-crawler/api, so it is a minor version (0.7.0).**readof the options ofwithQuotagets the gate as its second argument:(result, gate) => QuotaReading | undefined.Two quotas on one call: a list of gates.
withQuota([perMinute, perDay], call)counts a call in each gate or in none.The counts in
docs/API-REVIEW.mdare correct again (they were out of date since 0.6.2), and a test compares them with the reports.The docs of the quotas tell two more rules.
2 changes in 1 package. The changes with the most packages come first.
**
SqliteHostStateStoreopens, migrates and locks its file through@mark1russell7/sqlite.** Its behavior does not change: a file of each earlier version opens, and a file of a later version keeps its number.**Quotas of API keys in
polite-crawler/api.** Each new export is beta.
1 change in 1 package. The changes with the most packages come first.
**Polls of an API in
polite-crawler/api.** Each new export is beta.
2 changes in 1 package. The changes with the most packages come first.
**
polite-crawler/apialso gives the reaction of the crawler to an answer.**outcomeResultgives the result that the host state counts, andreactToOutcomegives the rest and the stop of the host.**The new entry point
polite-crawler/api.** It sends the requests of an API client with the politeness of the crawler, and it stores no page.
1 change in 1 package. The changes with the most packages come first.
New versions of the dependencies (the release train).
1 change in 1 package. The changes with the most packages come first.
A render reads a page that navigates again and again. The render stops each new navigation of the page while it reads the page, and the browser keeps the document.
1 change in 1 package. The changes with the most packages come first.
**The new entry point
polite-crawler/urls.** It givescanonicalUrl,cacheKeyOf,siteOfandscopeTest: the rules of the crawler for the form of a URL.
1 change in 1 package. The changes with the most packages come first.
New versions of the dependencies (the release train).
1 change in 1 package. The changes with the most packages come first.
New versions of the dependencies (the release train).
1 change in 1 package. The changes with the most packages come first.
A page with a long run of spaces in its head no longer takes polynomial time. The regular expression of the meta charset took time as the square of the length of that run.
1 change in 1 package. The changes with the most packages come first.
New versions of the dependencies (the release train).
3 changes in 1 package. The changes with the most packages come first.
A robots.txt from a site can no longer stop the crawler for seconds or minutes. Two regular expressions of the robots.txt parser took polynomial time.
**A search query with many
*characters no longer takes polynomial time.** A word of 100,000*characters took 6 seconds inparseQuery, thus in each search with that query.A server can no longer stop the process through undici. polite-crawler needs undici 8.12.3 or later.
2 changes in 1 package. The changes with the most packages come first.
polite-crawler-mcp 0.2.3 comes with this version.
The watch list keeps a schedule of the application. Each change adds an option or a method, so no program changes.
2 changes in 1 package. The changes with the most packages come first.
An error of the embedder no longer stops the process. Two hybrid searches (or a search and
embed) can share a text that one of them embeds.polite-crawler-mcp 0.2.2 comes with this version.
3 changes in 1 package. The changes with the most packages come first.
CI compares the API of polite-crawler-mcp too, with its report in
packages/polite-crawler-mcp/api/.polite-crawler-mcp 0.2.1 comes with this version.
The types of the signatures have exports. Before, some signatures used a type that no entry point exported, so a program could not name it.
4 changes in 1 package. The changes with the most packages come first.
**CI compares the public API with the reports in
packages/polite-crawler/api/.** API Extractor makes one report for each entry point from the build.The declarations mark beta and deprecated exports. The review of the API before 1.0 is in
docs/API-REVIEW.md.**The MCP server is the package
polite-crawler-mcp.** This version breaks the API, so it is a minor version (0.2.0).Two new exports.
formatDiffgives the text of a diff, as the toolcrawl_diffshows it.
2 changes in 1 package. The changes with the most packages come first.
**The declaration files type-check with
@types/node26.** The declaration files of 0.1.3 importJsonWebKeyfromnode:crypto.The recipes on the command line.
polite-crawler venue <url>andpolite-crawler product <url>read a venue or a product page withreadVenueandreadProduct.
12 changes in 1 package. The changes with the most packages come first.
A failed question keeps the text held back. When the MCP client can ask the user about
user_provided, but the question fails (a timeout, a lost connection or a cancel), the text stays held back.Hybrid search, opt-in.
find(q, { rank: "hybrid" })fuses the BM25 ranking with the ranking of the vectors of a local embedding model.MCP over local HTTP, with MCP tasks.
daemon --mcp-httpserves the nine tools over the Streamable HTTP transport, athttp://127.0.0.1:9307/mcp.The benchmark.
bench/find.mts --hybridand the inputhybridofbench.ymltime hybrid search with a fake embedder.The daemon only adds to the API. Code that compiled against 0.1.2 compiles against this version, and
compat.test.tsstays green.The daemon.
polite-crawler daemonandstartDaemon(options)check the watch list on a schedule.The library only. The command line and the MCP server do not change: the MCP server keeps its nine tools.
The product recipe.
readProduct(crawler, url)reads the schema.org Product data of a product page.The recipe SDK.
defineRecipe({ name, fetch, extract })declares what a recipe fetches and how it reads a body into documents.The recipes only add to the API. Code that compiled against 0.1.1 or 0.1.2 compiles against this version, and
compat.test.tsandcompat-012.test.tsstay green.The venue recipe.
readVenue(crawler, url)reads the opening hours of a venue from its own site.This version only adds to the API. Code that compiled against 0.1.1 or 0.1.2 compiles against this version.
17 changes in 1 package. The changes with the most packages come first.
A small crawl with a budget.
crawler.crawl(seeds, options)fetches the seeds and follows the links of each page on the same site.An archived copy after a refusal (opt-in).
fetch(url, { fallback: "archive" })gives a copy from the Wayback Machine, then Common Crawl, when the site refuses the page or is down.Compare two versions.
crawler.diff(doc, { from, to })compares two versions of a stored document, by capture id or by{ at }.Discovery: the pages of a site from its sitemaps and feeds.
crawler.discover(site, options)reads theSitemap:lines of robots.txt, or/sitemap.xmlwhen robots.txt names none.Export to WARC and WACZ.
exportWarcandexportWaczwrite the stored captures as a web archive, forwarcio, pywb and ReplayWeb.page.Read a page as it was at a time.
readandverifytakeat, an ISO 8601 time or aDate.Signed requests (Web Bot Auth). The option
signersigns each request with HTTP Message Signatures (RFC 9421).The API. These additions do not break the API.
The command line.
polite-crawler diff <doc> [--from <version>] [--to <version>],watch add <url...>,watch remove <url...>,watch listandwatch run.The command line.
polite-crawler discover <site>andpolite-crawler crawl <url...> --max-pages N --max-depth N --budget 2m.The engine of the fallback and of the signatures. These additions do not change the existing API.
The engine. These additions do not change the existing API.
The MCP server.
crawl_readandcrawl_verifytakeat, and their results giveatandbefore_first.This version only adds to the API. Code that compiled against 0.1.1 compiles against this version, and
packages/polite-crawler/src/compat.test.tsis the proof.Two MCP tools.
crawl_discovergives 1,000 URLs at most.Verified structured extraction.
crawler.extract(doc, fields, options)checks the values that a caller proposes for the fields of a stored page, and it locates each value.Watch pages.
crawler.watchkeeps a list of pages to check again, in the new filewatch.sqliteof the store.
3 changes in 1 package. The changes with the most packages come first.
A benchmark of the search.
bench/find.mtsand the workflowbench.ymlmeasurefindandrankWithinin each ranking mode on a synthetic index.An optional fast ranking for long questions. The default ranking does not change.
Conditional requests learn the validator that works for each host. A server examines
If-None-Matchfirst, and it ignoresIf-Modified-Sincewith it (RFC 9110, section 13.1.3).
9 changes in 1 package. The changes with the most packages come first.
Egress. By default, the crawler fetches only
http:andhttps:URLs on public addresses, and it checks the address after DNS.Politeness. The crawler obeys robots.txt (RFC 9309), and the rules for
Claude-Userwhen an assistant asks.Reading. The crawler reads JSON-LD, the visible text, the links and PDF files with no browser.
The command line.
polite-crawler fetch,find,read,verify,reindexandmcp.The library.
openCrawler({ dir })givesfetch,find,read,verify,versionsandreindexover one folder.The MCP server.
polite-crawler mcpgives four tools over standard input and output:crawl_fetch,crawl_find,crawl_readandcrawl_verify.The parts. The entry points
polite-crawler/robots,/hours,/html,/classify,/politenessand/signalshave no Node.js dependency, so a browser can import them.The store. Each fetch decision goes into a capture log, and each body goes into a store by SHA-256 hash.
Usage signals. When a page asks not to be AI input (
ai-input=no), the crawler keeps the page but holds back its text from the AI reader.
Source: the CHANGELOG.md files, the git tags, the GitHub releases and npm, read when the site was built.