Repository navigation
Releases: dasmig/device-generator
Release list
v1.0.4
v1.0.3
device-generator 1.0.2
device::to_string() no longer repeats the maker when the model is named after it: (OnePlus 12), not (OnePlus OnePlus 12). Ten models are affected (OnePlus 8, 9, 11 and 12, the Xiaomi Pad 5, Honor 50, X8, X6, X7a and 90 Lite). The fields, the JSON, the known answers and the data hash are unchanged.
device-generator 1.0.1
Accept-Language: a locale must be shaped like a BCP 47 tag (a language of 2 to 8 letters, then subtags of 1 to 8 letters or digits); pt-, pt--BR and 123 were accepted and went into the header as written. The language is compared case-insensitively, so EN-us gives EN-us,en;q=0.9 instead of listing English twice. The usage guide's JSON example matches the known answer again. Default output, the known answers and the data hash are unchanged.
device-generator 1.0.0
First release. Devices whose parts fit together: a phone, tablet or computer model on sale at the reference date, an OS version it runs, a browser that runs on that OS at a version released by then, the user agent and (for Chrome and Edge 96+) the low-entropy client hints that combination sends, its screen, an Accept-Language header, and an IPv4 or IPv6 address from the registry blocks of the person's country (safe gives documentation addresses only). Platform keys and shares match user-generator's, so a user's platform can be passed in. Any reference date from 2021, deterministic seeding, batches, JSON and CSV, layers, lite and full tiers, compiled-in data.