NEWS.md

charlatan 0.6.0

This release changes the internal logic of the package to make it easier for you to contribute. One of the greatest strengths of charlatan, and its spirit brothers faker (in python) and faker (in perl), is the ability to customize realistically looking data in many locales. But it was not so easy to add locales that were very different from en_US. This release aims to make it easier for you to add new locales for your favorite data types.

Detailed

Previous versions of {charlatan} used special logic to load in locale-specific data, and this worked great, but requires every locale to use the same naming conventions and required a lot of work across all locales of that provider if you only needed that change for one locale.

Since version 0.6.0, locale specific Providers inherit from a Parent provider with basic functionality for that Provider type, and more specific functions for a locale are moved into that locale. For example, if you are Spongebob Squarepants, and all of your addresses are required to have a fruit in the street name, this is now possible by overriding the address function for the spongebob squarepants locale only. See the revamped contributing vignette for more info.

NEW FEATURES

REMOVED

MINOR IMPROVEMENTS

BUG FIXES

charlatan 0.5.1

NEW FEATURES

MINOR IMPROVEMENTS

charlatan 0.5.0

NEW FEATURES

MINOR IMPROVEMENTS

charlatan 0.4.0

NEW FEATURES

MINOR IMPROVEMENTS

charlatan 0.3.0

NEW FEATURES

MINOR IMPROVEMENTS

charlatan 0.2.2

BUG FIXES

charlatan 0.2.0

NEW FEATURES

MINOR IMPROVEMENTS

charlatan 0.1.0

NEW FEATURES



ropenscilabs/charlatan documentation built on Oct. 25, 2023, 12:26 a.m.