Repository navigation
Releases
v0.13.0
Changes since v0.12.0:
Behaviour changes
- the tool error for an upstream answer over 16 MiB has a new text, without the result cap's advice; the size-cap error names a list a tool keeps whole. (dfe80fa)
Fixes
- a tool can keep a list whole under the size cap, and an over-large source answer gets its own hint (dfe80fa)
Container images
Index digests (linux/amd64, linux/arm64); check one with gh attestation verify oci://<image>@<digest> --repo maschinenlesbar-org/tagesschau-cli.
ghcr.io/maschinenlesbar-org/tagesschau-cli:sha256:d67aa345f05999db79c69b460bf6291408c56fa9bc4ee08b286bd7b536aae1dfghcr.io/maschinenlesbar-org/tagesschau-mcp:sha256:a0c37b034376fcd123c7780ca62cddb98c05e7ebad0f965e4d1574cb669d1793
Full Changelog: v0.12.0...v0.13.0
v0.12.0
Changes since v0.11.0:
Behaviour changes
- the briefing's and the regional answer's notes are worded shorter, and two of them appear only where they apply. (643a8fc)
- the tool errors at the call deadline and over the size cap end in the new advice. (971105a)
- an answer another host gave after a redirect has a new unconfirmed field and a verdict starting "Unconfirmed". (03d273b)
- getArticle's texts are cut at 20,000 characters instead of 2000. (596c9e4)
- the briefing, regional, coverage and feed answers drop an item whose shareURL an earlier item had, counted as a repeat. (bc4c0da)
- getRegionalNews and getBriefing return a partial answer with "not read: …" in the verdict and a note instead of rejecting, when a request after the first fails. (12abd1a)
- a request aborted by a caller's signal fails with "Request aborted by its caller before it finished" instead of "Request timed out after ms". (4ffd293)
- getLiveStreams' streams and hls, and a video's stream, hold only http(s) URLs; others are counted in a note. (75b0267)
- getArticle's text has these entities decoded. (d0a82a6)
- plainText keeps a bare "<" and the text after it, and reads a quoted ">" as part of its tag. (8bc4187)
- a base URL whose path ends in /api2u is refused (MCP server exit 2, CLI usage error, TagesschauValidationError). (7cf2101)
- hourlyBudget's error message no longer starts with the method and URL; through the client it reads "GET failed: not sent: …". (4edb54f)
- getTopicCoverage's reason for an empty page within the count, and for a later page without a total, reads differently; an empty page has no nextPage; a missing total adds a note. (d3e7cdc)
- getBriefing, getRegionalNews, getNewsFeed, getTopicCoverage and getLiveStreams reject with TagesschauParseError when every item lacks a title; a note counts the items left out without one. (b1311bb)
- getArticle answers status empty with a reason for an offset at or past its block count. (95f2c11)
- getArticle answers status empty with a reason, title, type, shareURL (and media) for an item without text blocks. (28574f0)
- the client requests /api2u/homepage, /api2u/channels and /api2u/news (no query) without the trailing slash; error messages and the MCP results' source name these paths. (eb6d0fc)
- getLiveStreams' show "tagesschau24", "livestream" or "live" returns the livestream whatever its title, with a new note. (05533ad)
- show matches channels whose title has its words in another inflection. (ee7742f)
- getRegionalNews' topic filter matches fewer items: a topic inside another word or across two words no longer matches. (fa444ce)
- these names resolve to a state instead of being refused. (337511a)
- getArticle rejects with TagesschauParseError instead of a TypeError for an item with a blank title; the tool's error says so. (32fed65)
- the text of the error and the record for a request held by a 429's pause names the origin instead of "the API"; requests to other hosts are no longer paused. (b194555)
- a result whose page is whole no longer gets a nextOffset from the size cap, and a result whose other lists were cut carries a
reasonnaming them. (c470a79) - under --max-result-chars a result keeps its notes and its other lists whole as long as cutting the page and the texts is enough; it used to shorten the longest list, whichever that was. (6589429)
- a list over --max-result-chars keeps its first entry, with its texts cut, instead of coming back empty. (09eee72)
- a result over --max-result-chars that has no list to shorten now has its texts cut further, or is a tool error, instead of coming back whole. fitResult returns undefined for a result it can't cut under the cap. (f3caace)
- a tool error is up to 5000 characters instead of 2000; a longer one loses its middle, marked "…[cut, N characters in all]…", instead of its end. (3e4675b)
- a string cut to fit ends in "…[cut, N characters in all]" instead of "…" and is at most 2000 characters with the mark; a result with such a string says
truncated: true. (155383e) - tool results no longer carry tag characters, variation selectors (but U+FE0F after an emoji), soft hyphens or the other default-ignorable characters; zero-width joiners between emoji are now kept. (7c1a35d)
- a tool result can carry keys with a "~2", "~3" suffix where an upstream object had keys that differ only in invisible characters or beyond the length cut. (350bf44)
- a result whose answer came from another origin after a redirect carries that note in
source, and the server logs a WARN record for it. (cc233b2) - tool results keep words that merely contain a short credential; a short credential glued inside a longer word is no longer replaced. (b598168)
- a --user-agent outside Latin-1 now ends the server with an ERROR record of .mcp and exit 2 (it crashed with a stack and exit 1, or started and failed every call). (ce35d9b)
- a --base-url the client's constructor refuses now ends the server with an ERROR record of .mcp and exit 2 (it crashed with a stack and exit 1, or started and failed every call). (4557dba)
- on stdio, a line that isn't JSON-RPC now gets an error answer on stdout and a WARN record on stderr (was: nothing). (e041255)
- on stdio, stdin's end with requests still running is an INFO record and waits for their answers; when they don't come in time, an ERROR record and exit 1 (was exit 0, silently). (e5c9864)
- stderr gets a WARN record for every tool call that fails upstream or reaches its deadline. (b0635f1)
- a call can now end up to 1 s after --call-timeout, and at the deadline a tool that keeps partial results answers with them instead of the deadline error. (6e1da40)
- such a call now ends at once with "not sent: this server sends at most 120 requests a minute to the API …" (or the 429 pause) instead of "Request exceeded deadline" after the timeout; stderr gets a WARN record when requests start being held. The limiter's callSignal is now callScope, holding the call's signal and deadline. (8cb4963)
- the retry record on stderr names the limiter's pause after a 429 (for example "in 5000 ms") where it named the engine's backoff. (00b33b4)
Features
- a tool's source can cite the request it learned while running (7e9acdf)
Fixes
- one story fits a small size cap again: shorter notes, and only those that apply (643a8fc)
- the deadline's and the size cap's advice name each option with the tools that take it (971105a)
- links in an answer another host gave after a redirect are flagged as that host's (03d273b)
- getArticle passes an article's paragraph whole up to 20,000 characters (596c9e4)
- two copies of a story with one page are listed once, whatever their ids (bc4c0da)
- a briefing or regional call keeps the feeds it read when a later one fails (12abd1a)
- a request its caller aborts is no longer reported as a request timeout (4ffd293)
- a stream link that isn't http(s) is never handed out as playable (75b0267)
- an article's text decodes the named entities of German news text (d0a82a6)
- an article's HTML becomes text in linear time; a bare "<" stays text (8bc4187)
- a base URL ending in /api2u is refused instead of making every article "taken offline" (7cf2101)
- a request the hourly budget refuses names its URL once (4edb54f)
- a search page without hits inside the count no longer calls itself past the last page (d3e7cdc)
- a feed whose items all lack a title is an error, not "no news" (b1311bb)
- getArticle past its last block is empty with a reason, like getNewsFeed (95f2c11)
- an item without text is empty with a reason, not an ok article with no blocks (28574f0)
- the homepage, channels and unfiltered news feed are one request each again (eb6d0fc)
- tagesschau24 asked by name finds the livestream while it runs another show (05533ad)
- getLiveStreams' show "Einfache Sprache" finds "tagesschau in Einfacher Sprache" (ee7742f)
- a regional topic matches words, never letters inside other words (fa444ce)
- "Halle (Saale)" resolves to Sachsen-Anhalt, "Halle (Westf.)" to Nordrhein-Westfalen (337511a)
- an article with a blank title is a shape error, not an internal error (32fed65)
- a 429 pauses only the requests to the host that sent it (b194555)
- a complete page gets no nextOffset when the size cap cut another list (c470a79)
- the size cap takes from the page first and keeps the notes (6589429)
- a list is never emptied by the size cap (09eee72)
- a page whose next entry alone is over the size cap still moves on (b40d847)
- a result over --max-result-chars is cut to the cap, also without lists (f3caace)
- a result's source is no longer cut mid-URL like upstream text (a25dcd8)
- a long tool error keeps its end, where the reason is (3e4675b)
- a text cut to fit a result says so, in the text and in the result (155383e)
- tag characters, variation selectors and other invisible characters are cleaned out (7c1a35d)
- a key that cleaning makes equal to another no longer takes its value (350bf44)
- an answer a redirect fetched from another host is no longer cited as the API's (cc233b2)
- a credential echoed with an invisible character inside stays out of the result (b31600b)
- a username no longer blanks out words of the data that contain it (b598168)
- a --user-agent outside Latin-1 is a usage error at start, not a crash (ce35d9b)
- a --base-url the client refuses is a usage error at start, not a crash (4557dba)
- a FIFO as the bearer token file is refused at once instead of hanging the start (a27b8a5)
- a repeated --transport means the last one, for the bin too (535b002)
- on stdio, a line that isn't JSON-RPC is answered and logged (e041255)
- on stdio, the requests read before stdin ends are answered (e5c9864)
- a Host header with a user name is refused (403), not a 500 (dc63d2d)
- slow request bodies no longer hold every request slot (5520808)
- an HTTP client that goes away cancels its tool call (ffdbff6)
- a browser page on an allowed origin can call the HTTP server (30c4cce)
- a tool call t...
v0.11.0
Changes since v0.10.0:
Features
- article command, one item in full (307e820)
- keep the server to the API's 60 requests an hour (141c8cf)
Container images
Index digests (linux/amd64, linux/arm64); check one with gh attestation verify oci://<image>@<digest> --repo maschinenlesbar-org/tagesschau-cli.
ghcr.io/maschinenlesbar-org/tagesschau-cli:sha256:7f619bacd67244bd52f940e83a782d86f4e07bd13158b3996746f98464841059ghcr.io/maschinenlesbar-org/tagesschau-mcp:sha256:c37d9b4d46319fc6480a37d6331baecbb124712f98a5d34e9fa7831b3cf7c506
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Changes since v0.9.0:
Features
- an MCP server for the Tagesschau news (20aad47)
- run well as a container's main process (86334e7)
- the skills' news use cases as library functions (5523cb2)
- link previews, structured data, short descriptions and a 404 page (6f1208c)
Fixes
- a state's answer names its newest item's date, and an ambiguous state names no request (579a154)
Documentation
- the MCP server and the container images (6ab0b5d)
Build / CI
- container images of the CLI and the MCP server (8a64a7d)
- update commander, the SBOM tool, the site kit and the actions (0e62e35)
Container images
Index digests (linux/amd64, linux/arm64); check one with gh attestation verify oci://<image>@<digest> --repo maschinenlesbar-org/tagesschau-cli.
ghcr.io/maschinenlesbar-org/tagesschau-cli:sha256:0c2ca7872e2b4c24c80982a98c48561a9a187bec47b1707ea9187c33b83bff3fghcr.io/maschinenlesbar-org/tagesschau-mcp:sha256:8556a243177c104387047a1068e6f340c8005867cb4bf6023f20b61ea42b5d60
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Changes since v0.8.0:
Behaviour changes
- a --base-url or baseUrl typed without
scheme://is refused withExpected an absolute http(s) URL.instead ofUnsupported scheme "<user>:". Expected an http(s) URL.. (24f595a) - a base URL spelled
http:host,http:/host,http:///host(orHTTPS:host) was accepted and requested ashttp://host; it is now a usage error (exit 1, a tagesschau.cli record) for --base-url, and a TagesschauValidationError (Invalid baseUrl: Expected an absolute http(s) URL ("https://" and the host).) in the library. (7d4b475) - when the base URL has credentials and a server hides one behind a JSON escape, TagesschauApiError.body is the decoded JSON written again (other escapes, no insignificant whitespace), or "" for such a body nested too deeply to write again; .message and .detail show *** there. The percent-encoded password, pair or Basic value is now scrubbed as *** too. (0199aff)
- error messages and TagesschauApiError.detail drop a whole terminal escape sequence (
ESC [31mno longer leaves[31mbehind, an OSC title no longer leaves]0;title) and every Unicode format character (zero-width characters, the soft hyphen, BOM; bidi controls as before). sanitizeServerText (exported) reads at most the first 16 384 characters of its input; messages keep 500 as before. (7abadf9) - a base URL with a backslash is now a usage error (exit 1) in the CLI and a TagesschauValidationError in the library. Requests (and the URLs in error messages, TagesschauApiError.url, RequestEngine.buildUrl and the ones a custom transport receives) use the WHATWG-normalised base (70e1ca6)
Fixes
- a base URL with a mistyped scheme is never echoed with its password (F7) (226aab3)
- the base URL's credential is scrubbed from the header text a parse error quotes (fb27d9b)
- the default transport's memory follows the bytes of an answer, not its chunks (4dfba35)
- the default transport never quotes the userinfo of a URL typed without its scheme (a05da44)
- a base URL typed without its scheme never names its user name or token (24f595a)
- a base URL whose scheme is not followed by exactly // and the host is refused (7d4b475)
- a base-URL userinfo without a password is scrubbed as a token (6282d8f)
- a credential echoed in a redirect's Location never names the request in a message (22d8da0)
- scrub the base URL's credentials from error text after decoding it (0199aff)
- server text in a message is cleaned in bounded time and memory (7abadf9)
- stdout redaction also covers a URL glued onto the one before it (2a36051)
- requests go to the host the URL parser reads in the base URL; a backslash is refused (70e1ca6)
- the stdout redaction of a credentialed run is linear in the answer (92f4453)
- a number literal with a long run of zeros is checked in linear time (b05e15a)
Tests
- P27/P28 adapter switches METHOD, hostArgv and answerFor (template sync) (ce7d3eb)
- conformance P28–P31 (security-audit kit) (4e19945)
Build / CI
- the SBOM tool is lockfile-pinned and runs in a read-only job of its own (b4fb48e)
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Changes since v0.7.0:
Behaviour changes
- such a password now shows as *** on stderr, where it was printed. (91f4f50)
- the usage-error record for a repeated single-value option is now
<flag> may be given only once.without commander's "option '…' argument '…' is invalid." prefix. (ff506c8) - a search text with a control, format (but ZWNJ/ZWJ) or half character, or of nothing but invisible characters, is refused (exit 1, no request); a padded --region, --ressort or --date (" 9", " inland") is now sent trimmed instead of refused; a blank or invisible code is refused as "Invalid region: Expected a non-empty value." / "… contains an invisible or control character (U+200B).". (e25fd7f)
- commander's usage-error records show format characters of an echoed value as \uXXXX escapes instead of raw. (4e7bad4)
- refusal messages quote values with format characters escaped, and a cut value ends in
"…"…with the ellipsis outside the quotes ("KKKK"…, was"KKKK…"). (d3fe818) - a write to a redirected stdout file that is cut short (EFBIG, ENOSPC) now exits 1 with an ERROR record of tagesschau.output instead of exit 0. (d32f61f)
- such an answer is an ERROR record of tagesschau.api and a TagesschauParseError, instead of "Unexpected error" (tagesschau.cli) and a plain Error. (618e0ff)
- a lone surrogate in an answer is delivered (and printed) as U+FFFD, and every replacement is a WARN record of tagesschau.api on stderr; the engine takes the new option onWarning. (a0d5c30)
- an answer whose escaped text would pass V8's longest string is now an ERROR record of tagesschau.output with exit 1, where the process crashed with exit 134. (2fbb448)
- a response that can't be printed is logged as
ERROR [tagesschau.output] The answer is nested too deeply to pretty-print[; try --compact].or… is too large (more than N characters of JSON) to pretty-print[; try --compact]., where it wasERROR [tagesschau.cli] The response is nested too deeply …with the hint always. (2a04b39) - the messages of TagesschauParseError (and the ERROR records of tagesschau.api) start with
GET <url>:and use the new wording; RawResponse has a new field, contentEncoding. (da18835) - the engine (and the client's options) take a new key,
bigIntegerKeys; a value that is not a set or list of non-empty strings is a TagesschauValidationError. (3f66a95) - an answer with a subnormal number that would print changed (3e-324) is now a TagesschauParseError (exit 1, ERROR record of tagesschau.api) instead of the rounded value. (fa606fb)
- a response header named "proto" from a custom transport is now an ordinary header; its entries are no longer read as headers. (9a4fa48)
Features
- bigIntegerKeys delivers declared big integers as exact strings (3f66a95)
Fixes
- the briefing dedups within a feed; regional and the Ressort feeds as the API sends them (47fd751)
- a password in a URL anywhere in an argument is redacted on stderr (91f4f50)
- a repeated option's error no longer calls the valid value invalid (ff506c8)
- every input is canonicalised or refused: no invisible, control or half character goes out (e25fd7f)
- commander's echo of a rejected value shows invisible characters escaped (4e7bad4)
- a refused value shows its invisible characters escaped (d3fe818)
- stdout cut short in a redirected file is an error, never exit 0 (d32f61f)
- an answer too large to decode is a TagesschauParseError naming the request (618e0ff)
- invalid text in an answer is replaced with U+FFFD and reported, never silently (a0d5c30)
- escaping terminal controls is chunked and bounded, never a heap crash (2fbb448)
- an answer too large to print says so; --compact is suggested only where it prints (2a04b39)
- every error about an answer names the request, method and URL (da18835)
- a subnormal number that would print changed is refused (fa606fb)
- a header named proto is an ordinary header (9a4fa48)
Chores
- bump the plugin version to 0.6.0 for the changed skills (2271540)
Full Changelog: v0.7.0...v0.8.0
v0.7.0
Changes since v0.6.1:
Behaviour changes
- a network error (a timeout, the size cap, a refused connection, a DNS failure) names the request in the ERROR record of tagesschau.http:
<METHOD> <url> failed: <reason>(02cfdac). - a search text with surrounding whitespace is now sent trimmed (CLI and library); normalizeText is a new export. (c2754d1)
- giving --base-url, --timeout, --user-agent, --max-retries, --max-redirects, --max-response-bytes or --log-format twice now exits 1 instead of using the last value; a repeated --ressort, --date, --page-size or --result-page now says
--ressort may be given only once.instead ofGiven more than once; this option takes a single value.(9d72fac) - an answer with such a number now exits 1 with an ERROR record of tagesschau.api, and the library rejects with TagesschauParseError, instead of printing or returning a changed value. (3196206)
Fixes
- the search text goes out trimmed, through normalizeText (c2754d1)
- a single-value option given twice is a usage error (9d72fac)
- --compact takes the gap path for an answer with a huge string (33e21ad)
- a timeout, the size cap and a refused connection name the request (02cfdac)
- every optional option accepts undefined (2cafd65)
- a number the answer cannot carry exactly is a parse error (3196206)
Tests
- P24 input corpus and P25 response corpus (204b93c)
Build / CI
- test on Node 26 too (e3a0369)
Full Changelog: v0.6.1...v0.7.0
v0.6.1
Changes since v0.6.0:
Documentation
- add sitemap.xml, move the website to maschinenlesbar.org (4b38c47)
- describe the workspace layout (95bbdcc)
Refactoring
- split the repo into an npm workspace (apps/cli + packages/client) (f33a3e7)
Build / CI
- ship the workspace packages as files, not as npm dependencies (ef2c214)
- the lockfile names no root version (3d1ca07)
- read the manifest and the program path from _config.yml (68bb98d)
- release, publish and pack-test the apps/cli workspace (8f9ce5e)
- add the workspace tooling (pack scripts, bump) (27c465a)
Full Changelog: v0.6.0...v0.6.1
v0.6.0
Changes since v0.5.0:
Behaviour changes
news --region <bad> --helpexits 0 with the help on stdout (was: usage error, exit 1). (a3b6cfd)- a 429/503 with Retry-After above 30 s is retried with the normal backoff (was: not retried, error at once); TagesschauApiError.retryAfterMs is no longer set by the engine. (9bff3fd)
Features
- each retry is a WARN record of tagesschau.http (a70786f)
Fixes
- publish.yml publishes only a vX.Y.Z tag, never a prerelease (7c07d3a)
- news --region 17 --help prints the help and exits 0 (a3b6cfd)
- a Retry-After above the 30 s cap is invalid, so the normal backoff applies (9bff3fd)
Documentation
- tagesschau retries only 429/503, so RetryEvent.status is always set (66e325e)
Other
- Revert "fix(client)!: a Retry-After above the 30 s cap is invalid, so the normal backoff applies" (0e6d492)
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Changes since v0.4.0:
Behaviour changes
- credentialsIn() and redactUrl() (library exports) no longer find userinfo in a value without a scheme ("alice:pw@host" gives []); the CLI no longer rewrites a:b@c text on stdout or in the log unless it is part of a URL with a scheme, or the --base-url value. (e57c666)
- stderr lines are log records: "Error: …" is now " ERROR [tagesschau.] …", "warning: …" is " WARN [tagesschau.http] …", and notes ("Note: …") are INFO records. stdout is unchanged. (d23be74)
Features
- the stderr log — records with timestamp, level and topic; --log-format text|jsonl (d23be74)
Fixes
- a record waits for stdout, so 2>&1 never puts it inside the data (928becc)
- Node's process warnings are WARN records of tagesschau.cli (e9beab6)
- a malformed answer is an ERROR record of tagesschau.api (2fbd502)
- a stdout write error is an ERROR record of tagesschau.output (e38df64)
- the log format is the one commander parsed (5eed70d)
- commander's output is one record per line, and every failure has an ERROR (bc5d2fa)
- only a URL with a scheme carries credentials to redact (e57c666)
- credentials a server echoes back are replaced too (6914a87)
- redact the message, not the formatted record (9e9a1ee)
- a redirect target is quoted at most 500 characters long (140ce07)
- a record's message is bounded, and so is every quoted value (7367f84)
- records and cut server text are well-formed (35048a3)
- a record is always one line, with nothing raw for the terminal (8ad28e2)
Documentation
- the search note is an INFO record, not a Note: line (733a393)
Tests
- P23's header names the checks and switches of 2026-10-09 (51c1edf)
- every test gets 5 s; only tests that start a process get 30 s (3054506)
Build / CI
- run from the release tag and take the version from it (33fc914)
Chores
- bump the plugin version to 0.5.0 for the changed skills (25b1b5b)
Full Changelog: v0.4.0...v0.5.0