Releases
Version 0.57.0
As it stood at this release: the repository · the docs · the knowledge bundle · the release
Added
- A ktl-website home page offers a Schema button when the site shows a LinkML schema’s pages.
Fixed
- A
!after the type releases a major version..releaserc.jsonnames the Conventional Commits preset, so afeat!:commit no longer releases nothing, asdocs/releasing.mdalready said. - The preflight warns when git is too old for an ingest
gitentry, and names each entry a run would refuse. - Behind a proxy with no outside DNS, the ingest fetches a source whose name resolves only at the proxy, as the federation build does. A name that resolves locally is still checked, and without a proxy a name that does not resolve still fails.
- A
gitentry fetched through a proxy that resolves names needs no git 2.37, since curl sends the name to such a proxy and a pin to the checked address would change nothing. Git uses the proxy the ingest chose, or none, whatever its own configuration orno_proxysays. - The ingest passes
all_proxyto git and to acommandentry, as it passeshttps_proxy. - The ingest converts a page that leaves out
</head>, as HTML allows, where it mirrored an empty file. A line break in a page’s text is a space, so it starts no heading or code block. - The ingest refuses a manifest value of the wrong type, by name. A quoted
"false"counted as true, a string where a list belongs as a list of its characters, and a stringselectstopped the run with a traceback. - One page or file fails only itself. A page the converter cannot read is refused alone, and a charset that decodes to a lone surrogate no longer stops the run before the lock is written.
- A
gitfile whose mirror name is taken is skipped, and one whose name the workflow does not publish is spelled with plain characters and a digest of the name.notesbesidenotes.mdtook turns in one file,databeside a folderdata.mdstopped the run, and a space in a name blocked the whole pull request. - A file restored with unchanged bytes keeps its record and changes no line of the lock, so a checkout without the confidential cache opens no pull request. An entry that leaves the manifest frees its bytes on the run that removes it.
- A
gitentry’s relative local path is read against the repository root, and acommandwith changes not yet committed is refused, as the docs say. - The ingest starts no work after 25 minutes, inside the workflow job’s 30, and writes what it fetched. What it did not reach keeps its record for the next run, and
--time-limitsets the minutes. - A
gitentry downloads only the files that changed, where it downloaded every file at the commit. A binary file, or one refused for its size, keeps a record and is not downloaded again while it stays the same. - A new ETag for unchanged bytes is recorded by the next run that changes the lock, so later runs get 304 where they fetched the body each time. A server that gives a new one on every answer changes no line of the lock.
- A
commandentry’s timeout stops every process the command started, where one it left in the background kept running. A lock edited into another shape stops the run by name, not with a traceback. - The ingest and the pen run on Python 3.9, as their shell halves say, where both wrote files with an argument Python takes only from 3.10. Before 3.11 the ingest also kept a time with a fraction of a second in its own offset, not UTC.
Security
- The ingest holds a
gitentry that names a host to the addresses its check found, and follows no redirect for it, so DNS rebinding cannot reach a private address through git unless a proxy resolves the name. Withoutallow_private_addressessuch an entry needs git 2.37 or later, and a host name outside ASCII is refused: write itsxn--form. - The ingest and the federation build count every address that is not global as private. Python’s
is_privateleaves out the shared address space, 100.64.0.0/10, which holds Alibaba Cloud’s metadata service and Tailscale’s networks. - The ingest refuses a
gitentry whose address git’s own configuration rewrites withurl.<base>.insteadOf, since the address check and the credential cover only the address the manifest names. - The ingest refuses a
gitentry when git is older than 2.31. An older git ignores the protocol limits and the credential that the script sets in git’s environment. The preflight warns before a run. - The ingest’s git reads no
~/.netrc,~/.gitconfigor/etc/gitconfig. Through curl, git sent the credential of a.netrcdefault entry to any host that asked, and a git older than 2.32 read both configuration files. A file thatGIT_CONFIG_GLOBALnames is still read. - The ingest keeps a credential to its own origin, and git follows no redirect with one. A redirect to another port or scheme kept
Authorization, and one to another host kept aheadercredential, which curl keeps too. - No credential reaches the lock or the summary. A secret ending in a line break failed its request with an error that quoted the header, so the script trims that line break and refuses one inside a secret, by name.
- The ingest removes and writes files only inside the mirror, whatever path the lock names or symbolic link the repository holds. It deleted any file a lock named, inside the repository or outside it.
- An entry made
confidentialleaves the committed mirror on its next run, where its copies stayed under.lokf/mirror/. - The committed lock records no title, address or author of a confidential page. A confidential entry’s records move to the ignored
.lokf/.cache/ingest.lock.yamlon its next run, and the summary counts its items, names none, and cuts each address to its site.lock_details: trueon the entry keeps them in the committed lock. - The ingest pins pypdf 6.21.2. Version 6.1.1 has about 60 published advisories, almost all infinite loops or memory exhaustion on a crafted PDF, and a test now holds the pin to the version the tests install.
- One source can no longer hold the run or fill the disk. A body has a deadline of ten timeouts, a Confluence listing ends after a page for each result
max_itemsallows, lists and quotes nest at most eight deep, and the caps count the Markdown written. - The mirror keeps no
javascript:ordata:link, whatever the scheme’s letter case, and no character Unicode marks as invisible, variation selectors among them. Each title and each line of the summary is one line. - An
httpentry needsallow_private_addresses: truefor a plainhttp://address, as the manifest’s comment says. - The pen and the librarian’s pull request take out the characters the mirror takes out, variation selectors among them, and the ingest refuses a file name that holds one. They went by Unicode’s control and format categories alone.