Faker.js v4.0.0 Release Notes

  • Dist

    • โšก๏ธ Update to latest gulp and mocha

    ๐Ÿ“„ Docs

    • ๐Ÿ‘€ seed() is on faker, not random
    • โž• Add section for setting seed
    • โž• Add Patreon campaign
    • ๐Ÿ›  Fix demo URL in Readme

    API

    • โž• Add dataUri method
    • โž• Add additional https option for imageUrl
    • โž• Add exports for az locality
    • โž• Add lorem.slug method
    • ๐Ÿ”ฆ Expose seed option to Faker class
    • Don't allow / in file names or paths
    • Typo in require statement
    • โž• Add database method
    • ๐Ÿšš Move password generator to core
    • โž• Add internet.ipv6 method
    • alphaNumeric takes now count as a argument
    • โž• Add IBAN and BIC generator functions

    ๐Ÿ›  Fix

    • ๐Ÿ›  Fix aomount and price argument dec for case = 0
    • 0๏ธโƒฃ Default shuffle value
    • ๐Ÿ›  Fix dec for amount in finance
    • Don't allow path seperators in generated filenames in system
    • โž• Add lorem.slug to functional test
    • Don't throw in helpers.shuffle on empty array
    • โž• Adds precision value to faker.random.number call
    • ๐Ÿ›  Fix typo in doc string
    • ๐Ÿ‘ท misspelling of 'Liaison' from faker.name.jobType()
    • โœ‚ Remove duplicate Congo from country.js
    • Clean up faker.commerce.department method
    • Correct spelling

    Locale

    • Azerbaijani localization has been added
    • Realistic Dutch city naming components
    • โž• Add CZ Czech