-
tklips v0.4.1 Stable
released this
2026-10-27 20:16:36 +00:00 | 14 commits to master since this releasetklips v0.4.1: fixes to the codes and display of errors raised by JavaScript and Python functions. The language is unchanged otherwise, and the reference PDF is v0.4.0's, which documents it, except for the display described below.
Breaking changes
- An error with a code of its own from a JavaScript or Python function displays its code. An error that
tklipsFail("not-found", "no user")orfail("not-found", "no user")raises in a functionlookupnow displays asnot-found: lookup: no user, in the shell's error line and in theTklipsError's message, as every error with a code that is not built-in does; it displayed aslookup: no userbefore, and asnot-found: lookup: no useronly once a program raised it again with(fail &e). The error object's.messageis stilllookup: no user. Code that compares the message of such aTklipsErrorshould expect the code first, or compare itscodeand.messageinstead.
Language
js/errorandpy/errorare built-in error codes, the codes of errors in JavaScript and Python functions that give none of their own: an error with either displays its message alone, also raised again with(fail &e). A Python function's error raised again displayed aspy/error: <name>: <message>before.
Python module
- A Python function whose result has no tklips form, or that returns an awaitable in a synchronous
Runtime, fails with the codepy/error; it wasjs/error.
SHA-256
b19d321b364178612e71618daf5fa3bc7f002b5f9985b4258efa0add4a70e137 tklips-v0.4.1-linux-x86_64 d20ec86769ab8ef1b97e5a84057116cd9659624ffd66dc2983958c4692ad7618 tklips-v0.4.1.mjs 8e8b4b39802041770ca0c08f4d44a76fe9298f091431da45abc732514de5c6bf tklips-v0.4.1.py 8e1ce33859fee37252c55a4d075b31f17e27112a55a16be34b9be5b72e6ec95b tklips-v0.4.1-reference.pdfDownloads
- An error with a code of its own from a JavaScript or Python function displays its code. An error that