Changelog
2026-10-22 — Street labels
- Optional
streetPrefixonGET /street/{city}/{street}andPOST /street(dotorempty). suggestionsstays the stored street name. When the parameter is set,labelsis added (ul./al., or a droppedulicafeature).- Widget option
streetPrefix. The field shows the label; number and postal requests send the original fromsuggestions.
2026-09-21 — Public API host
- Production REST base is
https://api.tensoit.pl/v2. - Production widget API base is
https://api.tensoit.pl/widget/v2. - Widget JS/CSS stay on
https://tensoit.pl/js/v1/and/css/v1/.
2026-08-27 — Empty street lookups
- Number, postal, and check accept an empty street and match PRG rows where
ulicais NULL. - SDK no longer skips number/postal requests when the street field is empty (needed for localities without a street name).
2026-06-18 — Widget postal auto-fill
- SDK: added
autoFillPostalinit option (defaulttrue) — auto-fills postal code when city, street, and building number resolve to a single postal result. - Client panel embed snippet now includes
autoFillPostal: trueexplicitly.
2026-06-10 — Widget docs & SDK polish
- Documented default widget API base (
https://tensoit.pl/api/widget/v2) and local smoke-test steps. - Updated example snippet with optional
apiBaseoverride.
2026-06-09 — v2.1 Widget
- Added widget public keys (
pk_live_...) with domain allowlist for browser integrations. - Added ephemeral session exchange (
POST /api/widget/v2/session) and widget autocomplete routes. - Published JavaScript SDK v1 (
/js/v1/tensoit-autocomplete.js). - Client panel: unified API + Widget token table with embed snippet.
2026-05-15
- Initial docs portal scaffold on VitePress.
- Added sections for onboarding, authentication, error handling, and API reference.
- OpenAPI v2 contract published at
/openapi/v2.json.