Skip to content

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 2 to 36?value=255&from=10&to=16 returns ff — with 10 and 16 as 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 50 at once with count, or parses an existing identifier (?uuid={uuid}) to extract its version and variant. A malformed UUID answers valid: false instead 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.42 yields its major, minor, patch, prerelease and build — bumps it (action=bump&part=minor gives 1.3.0) or compares two versions (action=compare&other=1.3.0). Comparison follows the specification down to prerelease identifiers: 1.0.0-alpha precedes 1.0.0-beta, which precedes 1.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.
  • /logs is now closed by default: without LOGS_TOKEN it 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 the X-Logs-Token header.
  • Limits protect the new endpoints: 100 characters for a value to convert, 256 for a version, 10,000 characters and 2000 segments for a diff, 50,000 characters for an analyzed text.

Documentation

  • Added documentation pages for Base, UUID, Semver, Read and Diff.
  • Added the five endpoints to the sidebar, the Playground registry and the homepage feature cards.