Releases: SFDO-Tooling/Snowfakery
Snowfakery 1.4
Adds Salesforce Example Files.
Adds an official API for embedding in Python.
Updates dependencies including Faker, which has Salesforce-contributed optimizations.
Adds min, max, round to the math plugin.
v 1.3: Better random_choice and other library and CLI Enhancements
random_number can now accept a "step" argument as described in the docs.
Allow a short-form random_choice syntax that matches the docs.
date now casts datetimes to dates instead of returning them unchanged.
The --target-number value now allows its two sub-arguments to be specified in either order: Tablename then number or number then tablename.
The command line interface gives better error messages about unknown file extensions.
The continuation file format changed. Do not upgrade Snowfakery while running a long-running Snowfakery process. The new configuration file should be less prone to issues relating to failures to serialize results.
v1.2 Minor additions to the plugins API
Improvements to plugin API: add evaluate_raw and simplify
Dependency updates.
Minor release
Minor improvements in error reporting.
Update to Faker 4.1.3
v1.1: External datatypes, forward references, nested macros
Support for External Datasets. (PR #102)
Macros within Macros now work correctly. (PR #120)
It is now possible to have forward references to Nicknames. (PR #113)
Closed Issue #42: relating to relative month parsing
Closed Issue #131: Parse errors would result in an invalid rather than empty
JSON file.
Change the architecture to always initialize the database based on the recipe
and never do it from the CumulusCI Mapping file.
v1.0.0: Snowfakery 1.0
Add child_index feature for calculating the index number of each child object (see documentation for more information).
Internal changes to support upcoming features in CumulusCI.
Documentation for the Math plugin.
Dates can now be parsed from strings with the date()
function. (see docs)
Added relativedelta()
function. (see docs)
Official formula syntax is now ${{foo}} instead of <>. The old syntax will be supported
for at least the remainder of 2020.
Docs are checked into Git in Markdown format.
Official terminology changed so that Snowfakery files are now called "recipes".
Stabilize the output order for CCI Mapping files generated by Snowfakery.
New syntax for Internalized fake data. (see docs)
Internally use the plugin architecture to support even the builtin functions.
v0.8.1: Add RecordTypes Support
Snowfakery includes support for Salesforce RecordTypes.
Snowfakery can output SQL/JSON NULL using YAML blank fields or the YAML literal 'null'
Fields starting with __ are now properly suppressed as per the documentation.
Various performance and reliability improvements:
- parsed dates are now cached
- Jinja values are always coerced to a string where appropriate
- internal attributes were renamed for clarity
- lookups are only generated in CCI mappings if they are actually needed