fakedata v0.8.0 Release Notes

Release Date: 2020-09-29 // over 3 years ago
  • 🔄 Changelog for fakedata

    0.8.0

    💥 Breaking changes

    • 0️⃣ Behavior of Monad instances changed. Monad instance by default will
      0️⃣ not change the underlying StdGen by default. It will change only
      when you do setNonDeterministic for the settings. If you use
      functions like listOf with generate function then all the values
      would be the same:

      λ> import Faker.Coffeeλ> qs <- generate $ listOf 5 blendName λ> qs ["The Treat","The Treat","The Treat","The Treat","The Treat"]

    Now instead you have to use generateNonDeterministic function:

    λ\> qs \<- generateNonDeterministic $ listOf 5 blendName λ\> qs ["The Treat","Evening Cowboy","Veranda Forrester","Blue Choice","Veranda Cake"]
    
    • 🚚 Faker.Dnd: Remove species and background function. Other new
      ⚡️ function introduced. See Module update section.
    • Faker.Game.HeroesOfTheStorm: Rename classes function to classNames

    🆕 New modules introduced

    • Faker.TvShow.BigBangTheory
    • Faker.Barcode
    • Faker.DrivingLicense
    • Faker.Drone
    • Faker.TvShow.Futurama
    • Faker.Game.Minecraft
    • Faker.Music.Prince
    • Faker.Music.Rush
    • Faker.Game.StreetFighter
    • Faker.JapaneseMedia.StudioGhibli

    Locale Improvements

    • en-GB: Faker.Address.postcode
    • nl: Faker.Address.postcode
    • ru: Faker.Company.name
    • de-AT: PhoneNumber.countryCode
    • de-CH: PhoneNumber.countryCode
    • de: PhoneNumber.countryCode
    • en-au-ocker: PhoneNumber.countryCode
    • en-IND: PhoneNumber.countryCode
    • en-MS: PhoneNumber.countryCode
    • en-NEP: PhoneNumber.countryCode
    • en-NZ: PhoneNumber.countryCode
    • en-SG: PhoneNumber.countryCode
    • es: Vehicle.licensePlate
    • fr-CA: PhoneNumber.cellPhoneFormat, PhoneNumber.countryCode
    • fr: PhoneNumber.countryCode, Compass.direction
    • id: PhoneNumber.countryCode
    • it: PhoneNumber.countryCode
    • ko: Color.name, Space.planet, Space.galaxy, Gender.binaryTypes
    • nb-NO: PhoneNumber.countryCode
    • pt: PhoneNumber.countryCode
    • ru: PhoneNumber.countryCode
    • sk: PhoneNumber.countryCode

    ⚡️ Module updates

    • Faker.TvShow.AquaTeenHungerForce: quote
    • Faker.DND: cities, languages, meleeWeapons, monsters, races, rangedWeapons
    • Faker.TvShow.Simpsons: episodeTitles
    • Faker.Movie.StarWars: quotesKyloRen

    ⚡️ Data Update

    ⚡️ The following data sources which the libraries uses has been updated:

    • en/animal.yml
    • en/aqua_teen_hunger_force.yml
    • en-AU.yml
    • en/bank.yml
    • en-GB.yml
    • en-IND.yml
    • en/star_trek.yml
    • en-US.yml
    • fi-FI.yml
    • fr-CA.yml
    • fr-CH.yml
    • fr.yml
    • id.yml
    • it.yml

    0.7.1

    • ➕ Add combinator for fakeBoundedEnum In Faker.Combinators
    • 👌 Improved Haddock documentation for Faker.Combinators

    0.7.0

    • ➕ Add support for regex fake value generation. Useful for postcode
      functions for different locales.
    • 👌 Improve documentation of Faker.Combinators.
    • ⚡️ de-CH locale update: lastName function works now.
    • 🆕 New function in Faker.Music.Phish module: albums, musicians
    • 🆕 New function in Faker.Address: cityWithState
    • 🆕 New function in Faker.Movie: title

    ⚡️ Data Update

    ⚡️ The following data sources which the libraries uses has been updated:

    • heroes_of_the_storm.yml
    • house.yml
    • name.yml
    • one_piece.yml

    🆕 New modules introduced

    • Faker.Blood
    • Faker.Chiquito
    • 💻 Faker.Computer
    • Faker.Game.Control
    • Faker.Movie.Departed
    • Faker.Dnd
    • Faker.Music.PearlJam
    • Faker.Rajnikanth
    • Faker.Show
    • Faker.TvShow.Suits
    • Faker.WarhammerFantasy

    Locale Improvements

    • en-AU:
      • Locale has updated which leads to working of newer functions:
        Faker.Name.prefix, Faker.University.name, Faker.Bank.name
    • en-CA: Faker.Address.postcode works now.
    • ⚡️ en-GB: formats field has been updated.
    • fr-CA: Faker.Address.postcode works now.
    • 👍 ko: Supports Faker.Commerce moudle now.

    💥 Breaking changes

    • Faker.Music.Phish module:
      • Rename song function to songs

    0.6.1

    • ➕ Add Semigroup and Monoid instances to Fake
    • 🚚 Doc fix: Remove broken links

    0.6.0

    • 🛠 Fix API for "ar" locale. Add test coverage.
    • 🐛 Bug fixed in the following locales: ca, bg, da-DK,
      en-NEP, en-ZA, fr-CA, fr-CH, fr, hy, id, ja, pt,
      uk, zh-CN, zh-TW
    • 🆕 New function to Address module: mailBox
    • ⚡️ Update in following data sources:
      • en/color.yml
      • en-NZ.yml
      • en/overwatch.yml
      • en/phone_number.yml
      • en/shakespeare.yml
      • fa.yml
      • pt-BR.yml
    • 🆕 New function in Educator module: degree, courseName
    • 🆕 New function in Gender module: shortBinaryTypes

    💥 Breaking changes

    • Educator module:
      • Rename tertiaryDegreeSubject to subject
      • Rename name function to schoolName
      • Rename tertiaryType function to tertiaryUniversityType.

    0.5.0

    • 🚚 Move remaining internal modules into other-module: Config, Faker.TH

    0.4.0

    • 🚚 Move Provider modules into other-modules. This makes the haddock
      much more readable.
    • Update to various en data sources: color.yml, super_smash_bros.
    • 🛠 Fix name of FakerTvShow.DrWho module: villains (from villians).
    • 🆕 New locale addition: en-TH, th
    • Modification of other locales: fr-CA, ja

    0.3.1

    • 👉 Make it compatbile with ghc-8.8.1

    0.3.0

    • ⚡️ Update fake data source
    • 👌 Improve performance and add test coverage
    • 🛠 Fix various bugs
    • ➕ Add brands function to the module Faker.Cannabis

    0.2.2

    • ➕ Add meepoQuote function to the module Faker.Game.Dota
    • ➕ Add Faker.Music.Opera module
    • ⚡️ Update fake data source

    0.2.1

    • 🛠 Fix bug in Book module

    0.2.0

    • ➕ Add sicCode function in Company module
    • 🆕 New Construction module
    • 🆕 New Basketball module
    • 🆕 New Horse module
    • 🆕 New Finance module
    • 🚚 Move Football under Sport module
    • 🐛 Bug fixes in some file formats
    • 🛠 Fix bugs in the Creature module
    • ➕ Add Development.md for new contributors

    0.1.0.0

    🎉 Initial version released