@meterapp/vehicle-db 2.39.0 → 2.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  An offline, international vehicle make/model catalog for Node.js and TypeScript. The package combines U.S. model-year data, the UK registered fleet, the European Union's new car and van registration register, the daily-updated Dutch vehicle register, Asian-origin vehicles registered in New Zealand, Malaysian registration transactions, Brazil's national vehicle register, an Indian manufacturer catalog, the Brazil-exclusive Hyundai HB20 family, recent U.S. model configurations from FuelEconomy.gov, and reviewed manufacturer body derivatives and Saudi model-year evidence into one small, zero-dependency API. It never makes runtime network requests.
8
8
 
9
- The current snapshot spans **1990–2027** and includes **1,608 makes** and **42,335 models** in **197,104 model years**, from **23 data sources**. Those are distinct vehicles by name, with case, accents and punctuation normalized while preserving the distinct 03+ badge, which is how the [Car Image API](https://carimage.dev/cars?ref=catalog) counts and lists them. The package's own records number more (1,620 makes from `getMakes()`), because sources spell some makes and models more than one way (`MOTO GUZZI` and `MOTO-GUZZI`) and a few makes have no model in these years; see [Snapshot stats](#snapshot-stats).
9
+ The current snapshot spans **1990–2027** and includes **1,608 makes** and **42,336 models** in **197,105 model years**, from **23 data sources**. Those are distinct vehicles by name, with case, accents and punctuation normalized while preserving the distinct 03+ badge, which is how the [Car Image API](https://carimage.dev/cars?ref=catalog) counts and lists them. The package's own records number more (1,620 makes from `getMakes()`), because sources spell some makes and models more than one way (`MOTO GUZZI` and `MOTO-GUZZI`) and a few makes have no model in these years; see [Snapshot stats](#snapshot-stats).
10
10
 
11
11
  The catalog covers seven vehicle types: **Motorcycle**, **Passenger Car**, **Truck**, **Bus**, **Multipurpose Passenger Vehicle (MPV)**, **Auto Rickshaw**, and **Other Vehicle**. The European source adds continental models from Dacia, Cupra, DS, Lynk & Co, Alpine, and the Chinese brands entering Europe such as BYD, MG, Omoda, Xpeng, and Nio, as sold in the EU rather than the UK or U.S. The Dutch register keeps that coverage current: vehicles first registered this year appear within days, so 2026 models such as the BYD Atto 2 and Renault 5 E-Tech are already listed. The Asia-Pacific sources add Japanese domestic and kei models, Chinese EVs, Indian and Korean vehicles, Southeast Asian makes such as Perodua and Proton, and additional motorcycles and commercial vehicles. The Brazilian register adds the cars and motorcycles that fill Brazil's roads but are rarely sold elsewhere, such as the Fiat Argo, Mobi and Toro, the Volkswagen Gol and Saveiro, the Renault Kwid, and the Honda Biz and Pop.
12
12
 
@@ -185,7 +185,7 @@ Queries use an optional leading year, followed by make and full model phrase. Re
185
185
 
186
186
  `depth` defaults to `catalog`: a match at this depth establishes catalog presence only, with the source's documented year semantics. Request `generation`, `derivative`, or `visual` for stricter evidence. The curated identity graph is intentionally sparse: most catalog rows return `GENERATION_UNRESOLVED` at visual depth. `MATCHED` includes a `selection`; all results include `candidates`, `unresolvedTokens`, and the identity revision. Missing market/year context cannot satisfy restricted evidence, and overlapping generations remain ambiguous. No nearby year is substituted.
187
187
 
188
- The graph uses **make → line → generation → derivative → specification**, with visual identities for bodies and appearance revisions. BMW Coupe, Convertible and Gran Coupe remain distinct; the 2014 generation and 2024/2025 appearance revisions do not share images implicitly. Aliases such as Prado and the reviewed Macan misspelling resolve only the line, not a generation or render. A facelift that changes every body of a generation is a visual identity directly under that generation: the Audi A4, A4 Avant, A5 (with its Avant, Sportback, Coupe and Cabriolet), Q3, Q3 Sportback, Q5 and Q5 Sportback, the Skoda Kodiaq, the Renault Clio and the Peugeot 208, 2008, 308, 3008 and 5008 carry manufacturer-dated generations and facelifts scoped as `catalog-year` in the markets of the linked registers, so `2026 Audi Q3` resolves to the third generation at generation depth, a changeover year that sold two generations stays `AMBIGUOUS`, and a year before the dated generations stays `GENERATION_UNRESOLVED`. The same layer dates the electric models of a Car Image API customer list (Tesla, Hyundai, Kia, Genesis, BMW, Mercedes-Benz, Porsche, Polestar, Volvo, Rivian, Lucid and others), with facelifts such as the 2016 and 2021 Model S fronts, Model Y Juniper and the 2025 IONIQ 5; each line links the rows of its most common vehicle type.
188
+ The graph uses **make → line → generation → derivative → specification**, with visual identities for bodies and appearance revisions. BMW Coupe, Convertible and Gran Coupe remain distinct; the 2014 generation and 2024/2025 appearance revisions do not share images implicitly. Aliases such as Prado and the reviewed Macan misspelling resolve only the line, not a generation or render. The maker's name `GLC with EQ Technology` resolves the electric X540 line for model year 2026 (European register row) or 2027 (US), never the combustion X254 GLC. A facelift that changes every body of a generation is a visual identity directly under that generation: the Audi A4, A4 Avant, A5 (with its Avant, Sportback, Coupe and Cabriolet), Q3, Q3 Sportback, Q5 and Q5 Sportback, the Skoda Kodiaq, the Renault Clio and the Peugeot 208, 2008, 308, 3008 and 5008 carry manufacturer-dated generations and facelifts scoped as `catalog-year` in the markets of the linked registers, so `2026 Audi Q3` resolves to the third generation at generation depth, a changeover year that sold two generations stays `AMBIGUOUS`, and a year before the dated generations stays `GENERATION_UNRESOLVED`. The same layer dates the electric models of a Car Image API customer list (Tesla, Hyundai, Kia, Genesis, BMW, Mercedes-Benz, Porsche, Polestar, Volvo, Rivian, Lucid and others), with facelifts such as the 2016 and 2021 Model S fronts, Model Y Juniper and the 2025 IONIQ 5; each line links the rows of its most common vehicle type.
189
189
 
190
190
  `@meterapp/vehicle-db/identity` exports the graph types and `evaluateVisualCompatibility`. The latter evaluates direct, directional, scoped allow/deny rules: missing rules return `unknown`, an applicable deny wins, and approvals are never reversed or chained. It is a portable fact evaluator, not an asset database. Applications own reviewed asset bindings and final sharing policy. No asset-sharing approvals are bundled in this release.
191
191
 
@@ -356,11 +356,11 @@ New coverage in 2.18.0 adds 112 sourced year/model/type records and four makes (
356
356
  | Sources | 23 |
357
357
  | Vehicle types | 7 |
358
358
  | Makes | 1,608 |
359
- | Models | 42,335 |
360
- | Model years | 197,104 |
359
+ | Models | 42,336 |
360
+ | Model years | 197,105 |
361
361
  | Make records (`getMakes()`) | 1,620 |
362
- | Model records (distinct `modelId`) | 46,844 |
363
- | Model-year records (`getModels()`) | 218,601 |
362
+ | Model records (distinct `modelId`) | 46,845 |
363
+ | Model-year records (`getModels()`) | 218,602 |
364
364
  | Bundled TypeScript data | 7.59 MB |
365
365
 
366
366
  ## Refreshing and rebuilding