Changelog
View Sourcev0.12.0 (2025-06-10)
New Features
- Added
NeoFaker.Address
module for generating random address components, such as building numbers, cities, countries, and coordinates. - Added
NeoFaker.Time.time_zone/0
function to generate random time zones.
Refactoring
- Refactored all public functions documentation for consistency and clarity.
- Refactored
NeoFaker.Data.Cache
,NeoFaker.Data.Disk
,NeoFaker.Data.Generator
, andNeoFaker.Data.Resolver
generator modules to improve code organization and readability. - Refactored
NeoFaker.Data.Cache.put_cache!/3
to useStream.uniq/1
for removing duplicates before caching data. - Updated mix dependencies to the latest versions.
v0.11.0 (2025-05-05)
Module Rename
[BREAKING CHANGES] This release renames the NeoFaker.Internet
module to NeoFaker.Http
with
enhanced functionality.
NeoFaker.Http
(previously NeoFaker.Internet
)
- Added
NeoFaker.Http.request_method/0
- Generates a random HTTP request method. - Added
NeoFaker.Http.referrer_policy/0
- Generates a random HTTP referrer policy. - Added
NeoFaker.Http.status_code/1
- Generates a random HTTP status code with optional filtering. - Enhanced
NeoFaker.Http.user_agent/1
- Now accepts a:type
option to filter by:browser
or:crawler
.
Standardized Default Arguments
[BREAKING CHANGES] Several functions now use explicit atoms instead of nil
for default
arguments:
NeoFaker.Color.hex/1
- Now defaults to:six_digit
format instead ofnil
.NeoFaker.Color.keyword/1
- Now uses:all
instead ofnil
for the default category.
Code Organization
- Improved module organization by moving function implementations from large utility modules to smaller, focused modules.
- Enhanced documentation and examples throughout the codebase.
- Added Indonesian locale support for various generators.