Skip to content

Releases: jaswdr/faker

v1.5.0

10 Oct 10:05
1b9b1d4
Compare
Choose a tag to compare

What's Changed

  • Fix of #69, fix color RGB test, create .gitignore and RandomStringMapKey and RandomStringMapValue by @jaswdr in #71

Full Changelog: v1.4.4...v1.5.0

Fix whitespaces in company e-mail

09 Oct 12:40
0fb26ae
Compare
Choose a tag to compare
  • Release #68 to remove whitespace character in company e-mail

Fix to builds in 32 bits machines

06 Oct 16:02
1880cd5
Compare
Choose a tag to compare
  • Fix to #65 where builds in 32bits machines were failing due to usage of big int numbers

Fix E164Number generating invalid E164 phone number

06 May 18:17
c4a83c4
Compare
Choose a tag to compare

Bug's fixed

  1. #59 E164Number generates invalid E164 phone number

Fix StatusCodeWithMessage using index out of range

03 May 12:58
de8064a
Compare
Choose a tag to compare

Bug's fixed

  1. #57 Fix StatusCodeWithMessage to not use index out of range

Adding LoremFlickr and ProfileImage

03 May 12:34
f2768c9
Compare
Choose a tag to compare

New features

  1. Added LoremFlickr generator to create random images using the https://loremflickr.com/ remote service
  2. Added ProfileIMage generator to generator random profile pictures with faces using the https://thispersondoesnotexist.com/ remote service

Bug's fixed

  1. Fixed a bug in Int() that makes it always generate a max(int) value

Added Wave 1 of new Generators

23 Dec 15:08
5dc6ecc
Compare
Choose a tag to compare

New generators:

  • Add Person Contact generator
  • Add Struct generator
  • Add Map generator
  • Add CountryAbbr generator to Address
  • Add Gamer generator with Tag method
  • Add Language struct generator
  • Add LanguageAbbr and ProgrammingLanguage to Language generator
  • Add Beer struct generator
  • Add Car struct generator
  • Add Fruit struct generator
  • Add StatusCode generator to Internet and improved UserAgent generator with more random one
  • Add App struct generator
  • Add Pet struct generator
  • Add Emoji struct generator

Fixes

  • Fixed issue #31 where IntBetween method was not generating the first value

Added comments to all methods

09 Oct 09:22
Compare
Choose a tag to compare

We have added comments to all methods to fix the remaining violations that we have in the GoReport website.

Added faker.BoolWithChance(int)

07 Oct 12:35
9fc136a
Compare
Choose a tag to compare

faker.BoolWithChance(int) method allow you to generate boolean values based on a percentage of chance of the value be true, lower values will generate false more frequently, higher values will generate true more frequently.

You can use values from 0 to 100 for the chance, any value lower or equals to 0 will always generate false, any value higher or equal to 100 will generate always true.

Added Mime type and Youtube generators

06 Oct 11:45
Compare
Choose a tag to compare
use Expect() helper function in youtube test file

Signed-off-by: Jonathan Schweder <jonathanschweder@gmail.com>