Changelog
View Sourcev0.13.0 (2025-10-29)
Features
Added new module NeoFaker.Internet to handle internet-related data generation, including:
Internet.tld/1for generating random top-level domains (TLDs).Internet.user_name/1for generating random usernames.Internet.domain/1for generating random domains.Internet.popular_domain/0for generating popular domains.Internet.email/1for generating random email addresses.
Improvements
- Changed
.tool-versionstomise.tomlfor better version management, now NeoFaker uses mise as the version manager. - Upgraded mix dependencies.
- Fixed typo in
cheat.cheatmdfile. - Refactored
NeoFaker.Data.CacheandNeoFaker.Data.Diskfor improved file handling and caching mechanisms.
Module Changes
Breaking Changes: Renamed NeoFaker.Http to NeoFaker.HTTP for consistency.
v0.12.0 (2025-06-10)
Features
- Added
NeoFaker.Addressfor generating random address components: building numbers, cities, countries, and coordinates. - Added
NeoFaker.Time.time_zone/0for generating random time zones.
Improvements
- Unified and clarified documentation for all public functions.
- Refactored generator modules:
NeoFaker.Data.Cache,NeoFaker.Data.Disk,NeoFaker.Data.Generator, andNeoFaker.Data.Resolverfor improved organization and readability. - Updated
NeoFaker.Data.Cache.put_cache!/3to useStream.uniq/1for duplicate removal before caching. - Upgraded mix dependencies.
Breaking: Renamed NeoFaker.Internet to NeoFaker.HTTP with expanded features.
NeoFaker.http (formerly NeoFaker.Internet)
- Added
Http.request_method/0for random HTTP methods. - Added
Http.referrer_policy/0for random referrer policies. - Added
Http.status_code/1for random HTTP status codes with filtering. - Enhanced
Http.user_agent/1to support:typefiltering (:browseror:crawler).
Argument Standardization
Breaking: Default arguments now use explicit atoms:
NeoFaker.Color.hex/1defaults to:six_digit(wasnil).NeoFaker.Color.keyword/1defaults to:all(wasnil).
Organization & Locale
- Split large utility modules into smaller, focused modules.
- Improved documentation and examples.
- Added Indonesian locale support.