All notable changes to vehiclesdb are documented here. The format follows
Keep a Changelog, and the package uses
Semantic Versioning. While the version is 0.x, a minor
release may change the API.
Dogfooding fixes (VehiclesDB inside CarHey, 2026-11-10). The API changed, hence the minor bump.
images()now callsGET /api/v1/vehicles/{kind}/{make}/{model}/images. 0.1.0 called/v1/..., which the API does not serve, so every image call failed.
- Kind collisions follow RESOLUTION.md §3a, the rule every VehiclesDB
surface now shares: lowest
mass_decile, then van, car, bus, truck, moped, motorcycle, then id. Unhinted "Iveco Daily" is nowvan/iveco/daily. - Non-2xx API responses raise typed subclasses of
VehiclesDBApiError:VehiclesDBAuthError(401/403),VehiclesDBPaymentRequiredError(402),VehiclesDBNotFoundError(404),VehiclesDBRateLimitError(429, withretry_after). Every API error carriescode. Timeouts raiseVehiclesDBTimeoutError(aTransportError). - List fields (
aliases,forms,former_ids) are[]when absent, notNone, matching the JS SDK and the gem.
by_id(id, follow=True, kinds=None)andsuccessor(id)for stored ids.Resolution.confident: not ambiguous and not a typo guess.kinds=onresolve()/model_match()/by_id()/catalog(): a hard kind filter on every rung, ids included.catalog(kind=, country=, kinds=): picker data for one market.colors(),color_options(),color(),kind_label(),body_type_label()with English and Spanish labels.Model.mass_decile,Model.registration_years(a hint;Noneuntil the release publishes it),Make.former_slugs; make resolution follows former slugs (former_make_slug:invia).KIND_PRECEDENCE,pick_collision.
0.1.0 - 2026-11-09
First public release.
VehiclesDBclient, with zero required dependencies, Python >= 3.9 support and inline type annotations (py.typed).- Dataset mode (default, no key):
makes(),models(),model(),resolve(),model_match(),search()anddataset_version, answered from the published CC-BY dataset on jsDelivr. Releases can be pinned withversion=. The dataset is fetched lazily and memoized. - API mode:
images()(0.1.0 called the wrong path; fixed in 0.2.0), authenticated withapi_key=. - Resolution implements the dataset's
RESOLUTION.md(exact, former_id, fold, alias, form, cleaned and fuzzy rungs, with ambiguity, alternates and an audit trail), and passesconformance/resolve.jsonfrom release 2026.11.1. attribution/attribution_html: the CC-BY 4.0 notice.- Pluggable transport, with
urllibas the default and an optionalhttpxadapter (pip install "vehiclesdb[httpx]"). - Frozen dataclass models (
Make,Model,Resolution) withto_dict(). CONTRACT.md: the cross-language SDK contract shared with the JS SDK and the Ruby gemvehicles.