Skip to content

v3.8.0

Latest

Choose a tag to compare

@stefannibrasil stefannibrasil released this 16 Apr 18:20
e48d35f

Changes

Enabling lazy load

This version introduces lazy loading. It means users will only pay for what they use. Faker loads 2x faster when it's enabled.

Lazy loading the generators is disabled by default. To enable it, choose one of the configuration options below:

1 - Set lazy load as a Faker Config

Faker::Config.lazy_loading = true

2 - Set lazy load as an environment variable

FAKER_LAZY_LOAD = 1

We hope you get to see the improvement by enabling it. Please file a bug report for any issues!

Thanks to @jeremyevans for the mentoring, and to @thdaraujo for pairing and code reviews.

Full Changelog: v3.7.1...v3.8.0