Skip to content

Releases: SFDO-Tooling/Snowfakery

Snowfakery 1.4

14 Jan 22:04
1bed627
Compare
Choose a tag to compare

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

30 Nov 15:10
0fe8355
Compare
Choose a tag to compare

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

15 Oct 17:50
520b49e
Compare
Choose a tag to compare

Improvements to plugin API: add evaluate_raw and simplify

Dependency updates.

Minor release

30 Sep 00:24
06ef37f
Compare
Choose a tag to compare

Minor improvements in error reporting.

Update to Faker 4.1.3

v1.1: External datatypes, forward references, nested macros

15 Sep 19:13
94b99db
Compare
Choose a tag to compare

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

17 Jun 17:19
328b14f
Compare
Choose a tag to compare

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

30 Apr 22:04
b79da29
Compare
Choose a tag to compare

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

0.7.0

16 Apr 22:37
7bf45dc
Compare
Choose a tag to compare

Windows compatibility improved, especially in test cases.

Changed the syntax for generating CSV folders.

Added --output-folder command line option.