Skip to content

Releases: amattu2/NHTSA-wrapper

v1.0.1 General Cleanup & Recall Endpoint Update

19 Mar 15:17
6bf35c0
Compare
Choose a tag to compare
  • Generalized code cleanup
  • Updated the broken Recall Lookup API endpoint

Full Changelog: v1.0.0...v1.0.1

v1.0.0 Composer Support

09 Mar 22:36
9ce5594
Compare
Choose a tag to compare

What's Changed

  • Redesign of decoding return result by @amattu2 in #1
  • PSR-4 redesign and composer support

New Contributors

Full Changelog: v0.0.2...v1.0.0

v0.0.4b

11 Sep 19:59
Compare
Choose a tag to compare

New Engine String Format:

{Displacement as Liters/CC} {Cylinders} {Model} {Valve Design} {Fuel Type} {Fuel Injection Type} {Turbo}

Important changes were made to the way the engine description is produced. See below:

  • If a primary fuel type is already specified in the engine description, don't add it again (i.e. with most GM products)
  • Add fuel injection type if it is known (i.e. SGFI, MPFI, SFI, CRDI)
  • Reordered engine attributes to make more sense

Additionally,

  • Fixed inconsistent spacing between string concats
  • Removed unneeded parenthesis around attributes (Turbo, Valve design, CC, Engine Model, etc)

v0.0.4

11 Sep 14:36
Compare
Choose a tag to compare

parseDecode VIN decoder improvements:

  • Handle Turbo in Engine descriptions
  • Handle BHP (Braking horse power rating) in Engine description
  • Ignore Engine cubic-centimeters (CC) in Engine description if the Liters is already included
  • Handle Body Class in vehicle Trim description

v0.0.3a (Breaking)

22 Jul 18:11
ad3011d
Compare
Choose a tag to compare

This is a major (breaking) change to the way NHTSA::decodeVIN returns the result. Instead of using the NHTSA "Variable Name", the "Variable ID" is used, which makes decoding and finding certain variables easier. Additionally, the Value ID is preserved for later use.

Old Design:

[] => Array
(
   ["Make"] => "DODGE"

  ...

)

New Design:

[] => Array

   ... 

   [26] => Array
   (
      [Variable] => Make
      [Value] => DODGE
      [ValueId] => 476
   )
 
   ...
)

Additionally, this includes a substantial improvement for decoding Engine and Trim values, with additional features such a Fuel Type. Two new functions were introduced, both for parsing the aforementioned attributes (Engine/Trim).

v0.0.2a

18 Jul 14:29
Compare
Choose a tag to compare

Bug fixes:

  • Trim excess spaces from parsed vehicle Trim

v0.0.2

15 Jul 16:09
Compare
Choose a tag to compare

Updates:

  • Trim now includes vehicle Drive Train (FWD/RWD/AWD/4WD)
  • Pretty Print Engine no longer includes Engine Model if it's longer than 31 characters (I.E. Cadillac/GM engines)
  • Pretty Print Engine now includes DOHC/SOHC descriptors if available

v0.0.1

04 Apr 23:28
Compare
Choose a tag to compare

Initial release