Skip to content

Changelog ​

2026-10-22 — Street labels ​

  • Optional streetPrefix on GET /street/{city}/{street} and POST /street (dot or empty).
  • suggestions stays the stored street name. When the parameter is set, labels is added (ul. / al., or a dropped ulica feature).
  • Widget option streetPrefix. The field shows the label; number and postal requests send the original from suggestions.

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 ulica is 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 autoFillPostal init option (default true) — auto-fills postal code when city, street, and building number resolve to a single postal result.
  • Client panel embed snippet now includes autoFillPostal: true explicitly.

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 apiBase override.

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.