Skip to content

Commit

Permalink
Merge pull request #211 from SFDO-Tooling/feature/snowfakery-1.4
Browse files Browse the repository at this point in the history
Snowfakery 1.4
  • Loading branch information
prescod authored Jan 14, 2021
2 parents fb54c4c + 180f777 commit 1bed627
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
11 changes: 10 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ In the beginning, programmers created the databases. Now the databases were form

And so [Salesforce.org](http://salesforce.org/) said “Let there be data,” and there was Snowfakery. And it was good.

## 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.

## Snowfakery 1.3

`random_number` can now accept a "step" argument as described in the docs.
Expand All @@ -21,7 +31,6 @@ 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.


## Snowfakery 1.2

Improvements to plugin API: add `evaluate_raw` and `simplify`
Expand Down
5 changes: 4 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,10 @@ And here's how to use the "hidden fields"([#hidden-fields-and-objects]) feature:
Snowfakery has a "Math" plugin which gives you access to all features from Python's
[`math`](https://docs.python.org/3/library/math.html) module plus
[`min`](https://docs.python.org/3/library/functions.html#min),
[`max`](https://docs.python.org/3/library/functions.html#max) and [`round`](https://docs.python.org/3/library/functions.html#round). For example:
[`max`](https://docs.python.org/3/library/functions.html#max) and
[`round`](https://docs.python.org/3/library/functions.html#round).

For example:

```yaml
- plugin: snowfakery.standard_plugins.Math
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SQLAlchemy==1.3.22
Faker==5.5.0
Faker==5.6.0
jinja2==2.11.2
PyYAML==5.3.1
click==7.1.2
Expand Down
2 changes: 1 addition & 1 deletion snowfakery/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3
1.4

0 comments on commit 1bed627

Please sign in to comment.