4.3.0
API
API v4.3.0 — Geo, Palette, Placeholder, REST.
- Added endpoint GET /geo to calculate distance and bearing between two GPS coordinates (Haversine).
- Added endpoint GET /palette to generate harmonious color palettes from a HEX color.
- Added endpoint GET /placeholder to generate SVG placeholders (image or animated skeleton).
- Added REST methods: PATCH and DELETE on Tic-Tac-Toe, DELETE on Chat.
- Added
forfeitaction to Tic-Tac-Toe andclearaction to Chat. - CORS: added
PATCH,DELETE,OPTIONSto allowed methods. - Added
supportsRest()helper and new route files for PATCH/DELETE. - Added unit tests for geo and palette + integration tests for the 3 new endpoints.
Documentation
- Added documentation pages for Geo, Palette and Placeholder.
- Split Chat and Tic-Tac-Toe into dedicated sub-pages per HTTP method.
- Added new endpoints to Playground registry and Features cards.
- Restructured i18n system: flat keys replaced with typed nested keys (
nav.home,features.geo, etc.). - Added
auto-sendandno-versionprops to the Try component. - Added PATCH and DELETE method support to Try, Examples and Panel components.
- Added
smvariant to Method badge for inline use in links. - Replaced hardcoded API examples with interactive Try component on homepage and Getting Started.
- Added return descriptions to parameterless endpoints.
- Improved Tic-Tac-Toe List page with info callout.
- Fixed Endpoint link CSS specificity over VitePress defaults.
- Added ESLint
simple-import-sortplugin and auto-fixed all imports.