API Versioning And Changelog
Compatibility policy for LedgerLine developer infrastructure.
LedgerLine uses the current public /api/v1 surface, a manual OpenAPI source, local SDK helpers, and a public event schema registry. This page explains how API changes, webhook schema updates, SDK changes, deprecations, and breaking changes should be communicated before external developers rely on them.
Backward-Compatible
Changes clients should tolerate.
- Adding optional response fields.
- Adding new endpoints or route examples.
- Adding new event types while receivers tolerate unknown types.
- Adding new enum values where clients are expected to ignore unknown values.
- Adding optional request fields.
- Adding SDK helpers or OpenAPI examples.
Breaking
Changes that need explicit notice.
- Removing or renaming fields.
- Changing required request fields.
- Changing auth, scoping, idempotency, or error-code semantics.
- Changing accounting side effects, posting, reversal, or report calculations.
- Removing endpoints or changing webhook payloads incompatibly.
- Turning on broad enforcement behavior that blocks existing integrations.
Changelog Entry Shape
Every meaningful developer-surface change should be classifiable.
Categories
Recent Milestones
High-level changelog for the current foundation.
v1.0-ledgerline-production-readiness-foundation
Production readiness foundation
Runtime, health, security docs, beta setup
Captured code-side readiness gates and operator setup boundaries without production approval.
v1.1-ledgerline-platform-admin-foundation
Platform admin foundation
Platform Admin, audit, support visibility
Added allowlisted aggregate platform visibility while keeping tenant mutation and impersonation deferred.
v1.2-ledgerline-public-launch-surface
Public launch surface
Marketing, developer docs, OpenAPI, API Reference
Locked the public launch surface for setup/testing, including docs, product pages, security, and recipes.
May 2026 productization lane
Public marketing and developer docs
Public pages, feature pages, pricing strategy
Added product, use case, accounting API, feature, and early-access pricing pages with clear deferred-provider boundaries.
Default-off module guard lane
Module enforcement foundation
Module warnings, guard, error contract, route wiring, QA
Added soft warnings and default-off route guard wiring. Normal/default API behavior remains non-breaking.
376c092
Webhook event schema registry
Events, webhooks, SDK docs, developer docs
Added active/accepted/planned/deferred event registry and public /developers/webhooks page without changing webhook runtime behavior.
Deprecation Policy
Deprecate before removing.
Deprecated behavior should be marked in docs first, include a replacement path, be reflected in OpenAPI and SDK docs, and keep behavior stable during a notice window where feasible. While LedgerLine is pre-production, these windows are guidance rather than a contractual SLA.
OpenAPI, SDK, Webhooks
Compatibility spans more than HTTP routes.
OpenAPI changes should pass npm run validate:openapiand be recorded in the changelog. Future published SDK packages should use semantic versioning. Webhook receivers should be idempotent and tolerate new event types or optional fields.
Product Truth
Versioning does not change runtime behavior.
- This page is static documentation only.
- No /api/v2 exists today.
- OpenAPI remains manual; the JSON route and generated OpenAPI remain future work.
- The published npm SDK remains future work.
- Module enforcement is default-off and broad rollout would need changelog notice.
- Production approval still requires operator setup, migrations, buckets, RLS/Storage dry-run, smoke/security QA, and rollout planning.
Related Docs
Developer Docs
Keep the developer surface consistent
Use the changelog policy alongside the integration guide, webhook registry, OpenAPI YAML, SDK notes, and security boundaries.
Overview
Browse the technical LedgerLine developer documentation hub.
Open docs homeQuickstart
Follow the first-run setup/testing path for connected apps.
Start setup pathAuthentication
Review server-side API keys, first calls, webhooks, errors, and boundaries.
Read guideAPI Reference
Browse read-only route groups, fake examples, SDK snippets, and response shapes.
Open referenceOpenAPI YAML
Download the manual OpenAPI 3.1 source for the public API.
View specAI Prompt Bridge
Preserved bridge to the Build with AI prompt library.
Open bridgeAPI Recipes
Use workflow examples for money-in, money-out, documents, and reports.
Browse recipesWebhooks
Review event schemas, idempotency, webhook signatures, and active/planned events.
Review eventsAccounting Model
Understand posting, reversals, A/R, A/P, reports, and documents.
Read modelSecurity
Review API-key safety, scope isolation, storage, rate limits, and gates.
Read securityBuild with AI
Use the guided setup planner when you are not sure which endpoints you need.
Open planner