4.0.0
API
API v4.0.0 — Full TypeScript rewrite.
- Full migration to TypeScript with strict typing.
- Project restructured into separate modules (
middleware/,routes/,config/,storage/,types/,utils/). - Added /health endpoint with technical stats (uptime, memory, Node.js version).
- Standardized all error responses with a unified helper.
- Added
documentationfield in all error responses. - Node.js >= 22.0.0 required.
Enriched Responses
- Username now returns
number,adjective,animal, andjobfields alongsideusername. - Personal response restructured with
vehicle(array),social_profiles(object),emergency_contacts(array of objects),subscriptionsandpets(arrays). - Domain now returns
ip_addressanddns_serversas arrays (multiple values).
Endpoint Updates
- Convert — Temperature conversion only: Celsius, Fahrenheit, and Kelvin.
- Time — 17 format options,
live/randomtype, 5 timezone presets. - Token — Default type is now
alphanum, length range 12–4096.
Documentation
- Full documentation site built with VitePress.
- Added components Playground, Panel and Try for testing endpoints directly from the documentation.
- Added Examples component with multi-language code snippets via useCodeSnippets composable.
- Added Banner component and migration banners on legacy version index pages.
- Added useVersion composable for version-aware path management.
- Added endpoint metadata registry.
- Reorganized CSS styles into base, components and layout structure.
- Reorganized i18n, icons and redirect utilities into subdirectories.
- Dynamic version regex generated from KNOWN_VERSIONS.
- Updated Version switcher and Layout with v4 i18n improvements.
- Updated homepage to promote v4 as current version.
- Removed version prefix from endpoint paths in v1, v2 and v3.
- Fixed memory leak in Terminal component via alive flag.
- Restored missing French accents on homepage and legacy index pages.
- Added VERSIONING.md guide for future API versions.
- Added Prettier and ESLint v9 (flat config) with Vue and TypeScript support.