5.8.0
API
API v5.8.0 — Base, UUID, Semver, Read & Diff.
- Added endpoint GET /base: converts a number between two numeric bases from
2to36—?value=255&from=10&to=16returnsff— with10and16as defaults. Very large numbers keep their exact precision, far beyond what a JavaScript integer can represent. - Added endpoint GET /uuid: generates RFC 4122 UUID v4 values, up to
50at once withcount, or parses an existing identifier (?uuid={uuid}) to extract its version and variant. A malformed UUID answersvalid: falseinstead of an error, which makes the endpoint usable as a validator. - Added endpoint GET /semver: parses a semantic version —
1.2.3-beta.1+build.42yields itsmajor,minor,patch,prereleaseandbuild— bumps it (action=bump&part=minorgives1.3.0) or compares two versions (action=compare&other=1.3.0). Comparison follows the specification down to prerelease identifiers:1.0.0-alphaprecedes1.0.0-beta, which precedes1.0.0. - Added endpoint POST /read: computes Flesch readability scores for a text, with word, sentence and syllable counts plus an estimated reading time. French is supported through
lang=fr, which applies the Kandel & Moles adaptation; English remains the default. - Added endpoint POST /diff: compares two texts and returns the sequence of equal, added and removed segments, line by line or word by word (
mode=word), along with the count of additions and deletions. /logsis now closed by default: withoutLOGS_TOKENit answers like an unknown path instead of leaving the instance traffic readable by anyone who guesses the URL. It only opens once the token is configured, still through theX-Logs-Tokenheader.- Limits protect the new endpoints:
100characters for a value to convert,256for a version,10,000characters and2000segments for a diff,50,000characters for an analyzed text.