faker 2.2.0
faker: ^2.2.0 copied to clipboard
A library for generating fake data. faker is heavily inspired by the Python package faker and, the Ruby package ffaker.
Changelog #
2.2.0 #
Features #
- Add
rgbColor
method to colors faker. PR #72
faker.colors.rgbColor();
faker.colors.rgbColor(prefix: '0x');
faker.colors.rgbColor(casing: Casing.upper);
faker.colors.rgbColor(format: Format.css);
faker.colors.rgbColor(includeAlpha: true);
Fixes #
- Fix safe email method by removing apostrophe. PR #70
Maintenance #
- Update lints package. PR #71
2.1.0 #
Features #
faker.date.justTime();
faker.geo.latitude();
faker.geo.longitude();
- Add animals faker. PR #62
faker.animal.name();
- Add german phone numbers. PR #60
faker.phoneNumber.de();
faker.date.dateTimeBetween(DateTime(2017, 9, 7), DateTime(2020, 9, 7));
- Add colors faker. As well as
vehicle.colorYearMakeModel
. PR #50
// Generates a color name.
faker.colors.color();
// Generates a color name from a smaller list of colors.
faker.colors.commonColor();
/// Generates a random vehicle's year, make, and model with a prefixed color.
faker.vehicle.colorYearMakeModel();
Fixes #
Maintenance #
- Add lints & Upgrade min dart sdk and dependencies. PR #64
2.0.0 #
2.0.0-rc.1 #
1.3.0 #
1.2.0 #
1.1.0 #
- Added lorem sentences and words
- Added continents
- Added generics to
randomGenerator.element()
1.0.0 #
- Make faker compatible with Dart 2.0.
0.0.5 #
- fix: Remove illegal chars from generated domain words
0.0.4 #
- Added food generator, includes restaurants, dishes and cuisines
0.0.3 #
- fix: Type faker constant to Faker
0.0.2 #
- Added support for guids
- Added fromPatternToHex method that generates a random set of numbers from a given pattern and return it as hex
0.0.1 #
- Initial release