Releases: vehiclesdb/vehicles
Releases · vehiclesdb/vehicles
Release list
v0.4.0 — Other / not in the list escape hatch
A first-class "Other / not in the list" escape hatch for make/model pickers, so a vehicle the dataset does not cover is never a dead end:
include_other:onmakes,models,make_options, andmodel_optionsappends the option (name lists get the label; option pairs get the stable"other"slug). Idempotent.allow_other: trueon thevehicle_make/vehicle_modelvalidators accepts it, so the dropdown and the validation agree by construction.config.other_label(default"Other") localizes the label;Vehicles.other?recognizes the label or the canonical"other"slug (case/diacritics-forgiving), andVehicles.other_labelreads it back.
Opt-in and backwards compatible — existing callers are untouched.
Full Changelog: v0.3.0...v0.4.0