Skip to content

Commit

Permalink
Snowfakery 2.2 (#532)
Browse files Browse the repository at this point in the history
* Snowfakery 2.2

* Update deps
  • Loading branch information
Paul Prescod authored Nov 8, 2021
1 parent d1c619b commit bbef3fa
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 31 deletions.
34 changes: 20 additions & 14 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,27 @@ 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 2.2

The `unique_id` and `unique_alpha_code` variables return a unique number that can be used to distinguish any record from others. For example, we can incorporate a unique ID into an email address or an employee ID. (#525)

Numeric and date counters are now available with the `snowfakery.standard_plugins.Counters` plugin. (#525)

Snowfakery will now accept UTF-8 CSV files generated from Excel with a Byte Order Mark (#516)

Snowfakery gives more detailed information in the `snowfakery --version` message (#469)

Booleans and dates can be the keys for `random_choice` lists. (#500)

## Snowfakery 2.1

Fix an issue with datasets not being closed in an orderly fashion (PR #492)

Emails and usernames will now be generated to match firstnames and lastnames (PR #420)

The `unique_id` and `unique_alpha_code` variables return a unique number that can be used to distinguish any record from others. For example, we can incorporate a unique ID into an email address or an employee ID. (#438)

Numeric and date counters are now available with the `snowfakery.standard_plugins.Counters` plugin. (#438)

Documented Salesforce.ProfileId function which looks up a Profile
in Salesforce by name and substitutes the ID automatically. (#438)



## Snowfakery 2.0.1

Fix problems installing through pipx.
Expand Down Expand Up @@ -96,10 +102,10 @@ Fixed packaging issue.
## Snowfakery 1.8

Fix regression when an SObject declares a RecordType on some records
but not others. #301
but not others. #301

Add a new feature for integrating with CumulusCI's Load architecture.
This feature will obsolete most (hopefully all) uses of mapping.yml with Snowfakery. Documentation for it will be in CumulusCI. #290
This feature will obsolete most (hopefully all) uses of mapping.yml with Snowfakery. Documentation for it will be in CumulusCI. #290

## Snowfakery 1.7

Expand All @@ -109,7 +115,7 @@ See the documentation for details. (#283)
## Snowfakery 1.6.1

Fix regression: Can set RecordType on objects with names that
are SQL keywords (like Case). (#277)
are SQL keywords (like Case). (#277)

## Snowfakery 1.6

Expand Down Expand Up @@ -246,14 +252,14 @@ 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.
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
- 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

## Snowfakery 0.8.0

Expand Down
31 changes: 16 additions & 15 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ backports-datetime-fromisoformat==1.0.0
# via -r requirements/prod.txt
backports.entry-points-selectable==1.1.0
# via virtualenv
black==21.9b0
black==21.10b0
# via -r requirements/dev.in
certifi==2021.10.8
# via
Expand All @@ -29,24 +29,24 @@ click==7.1.2
# mkdocs
contextvars==2.4
# via -r requirements/prod.txt
coverage[toml]==5.5
coverage[toml]==6.1.1
# via
# -r requirements/dev.in
# coveralls
# pytest-cov
coveralls==3.2.0
coveralls==3.3.0
# via -r requirements/dev.in
distlib==0.3.3
# via virtualenv
docopt==0.6.2
# via coveralls
faker==9.7.1
faker==9.8.0
# via
# -r requirements/prod.txt
# faker-microservice
faker-microservice==2.0.0
# via -r requirements/dev.in
filelock==3.3.1
filelock==3.3.2
# via
# tox
# virtualenv
Expand All @@ -60,7 +60,7 @@ greenlet==1.1.2
# sqlalchemy
gvgen==1.0
# via -r requirements/prod.txt
identify==2.3.1
identify==2.3.4
# via pre-commit
idna==3.3
# via
Expand Down Expand Up @@ -107,7 +107,7 @@ mypy-extensions==0.4.3
# via black
nodeenv==1.6.0
# via pre-commit
packaging==21.0
packaging==21.2
# via
# mkdocs
# pytest
Expand All @@ -124,7 +124,7 @@ pluggy==1.0.0
# tox
pre-commit==2.15.0
# via -r requirements/dev.in
py==1.10.0
py==1.11.0
# via
# pytest
# tox
Expand All @@ -134,7 +134,7 @@ pydantic==1.8.2
# via -r requirements/prod.txt
pyflakes==2.4.0
# via flake8
pyparsing==3.0.2
pyparsing==2.4.7
# via packaging
pytest==6.2.5
# via
Expand All @@ -161,7 +161,7 @@ pyyaml==6.0
# vcrpy
pyyaml-env-tag==0.1
# via mkdocs
regex==2021.10.23
regex==2021.11.2
# via black
requests==2.26.0
# via
Expand All @@ -186,12 +186,13 @@ text-unidecode==1.3
# faker
toml==0.10.2
# via
# coverage
# pre-commit
# pytest
# tox
tomli==1.2.2
# via black
# via
# black
# coverage
tox==3.24.4
# via
# -r requirements/dev.in
Expand Down Expand Up @@ -220,15 +221,15 @@ vcrpy==4.1.1
# via
# -r requirements/dev.in
# pytest-vcr
virtualenv==20.9.0
virtualenv==20.10.0
# via
# pre-commit
# tox
watchdog==2.1.6
# via mkdocs
wrapt==1.13.2
wrapt==1.13.3
# via vcrpy
yarl==1.7.0
yarl==1.7.2
# via vcrpy
zipp==3.6.0
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ click==7.1.2
# via -r requirements/prod.in
contextvars==2.4
# via -r requirements/prod.in
faker==9.7.1
faker==9.8.0
# via -r requirements/prod.in
greenlet==1.1.2
# via sqlalchemy
Expand Down
2 changes: 1 addition & 1 deletion snowfakery/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1
2.2

0 comments on commit bbef3fa

Please sign in to comment.