Skip to content

Releases: dasmig/user-generator

v2.1.2

Choose a tag to compare

@dasmig dasmig released this 30 Oct 22:55
929384d

Syncs dasmig-core 1.4.0 (check digits, identifier patterns, money and time-zone rules added to core) and builds against the libraries released on it. Output and known answers are unchanged.

v2.1.1

Choose a tag to compare

@dasmig dasmig released this 28 Oct 11:17
55b9d19

Syncs dasmig-core 1.3.0 and builds against the library releases on it. Output and known answers are unchanged.

v2.1.0

Choose a tag to compare

@dasmig dasmig released this 28 Oct 02:58
3f94247

Opt-in device section: user_request::device adds user::client (JSON key device), the device of the user's last sign-in from device-generator 1.0.2, drawn with the account's country, platform and locale at the day of the last login, with a documentation-range IP address when safe. Off by default: users without a device, their JSON, signatures and known answers are unchanged. usergen.hpp now includes devicegen.hpp, so device-generator must be on the include path (its data loads only on the first user with a device). Tested against address 2.1.0, birth 3.2.0, country 3.2.0, device 1.0.2, email 2.1.1, name 4.5.0, nickname 5.2.0 and phone 2.1.1. @dasmig/user 1.3.0 ships this combination.

user-generator 2.0.1

Choose a tag to compare

@dasmig dasmig released this 27 Oct 23:31
4e65f35

Repins: tested against address-generator 2.1.0, birth 3.2.0, country 3.2.0, email 2.1.1, name 4.5.0, nickname 5.2.0 and phone 2.1.1, with the known answers re-recorded for them. The header is unchanged since 2.0.0. @dasmig/user 1.2.0 ships this combination.

v2.0.0

Choose a tag to compare

@dasmig dasmig released this 19 Oct 21:31
92dbc7b

Names are now composed with name-generator's get_full_name (requires name-generator v4.3.0), so culture naming conventions apply. This changes generated names for a given seed.

v1.0.0

Choose a tag to compare

@dasmig dasmig released this 19 Oct 02:41
958c429

First release. Synthetic user records for apps and test data, composed from the other dasmig generators.

  • get_user draws a person whose username, email, phone number and postal address agree on the country, plus an account: a password to a policy, sign-up and last-login times that follow the account status, a platform, a locale, a time zone and a currency.
  • Seeded, batch and streaming forms; the same seed gives the same user on every compiler tested, and forcing one choice (the status, the password policy) does not shift the others.
  • safe uses reserved example email domains and, where a country has one, a phone number from the range set aside for fiction.
  • 100 countries have data in every part. The account tables (platforms, statuses, locales, time zones) are authored estimates and can be extended with layers.
  • Also published to npm as @dasmig/user (package releases are tagged package-v...). A live demo is in generator-tech-demo.

Built on address-generator 2.0.1, birth 3.1.2, country 3.1.2, email 2.1.1, name 4.2.2, nickname 5.2.0 and phone 2.1.1.