From bbef3fad8a758c685e8e94f555e4e3c937ffcf7b Mon Sep 17 00:00:00 2001 From: Paul Prescod Date: Mon, 8 Nov 2021 14:38:57 -0800 Subject: [PATCH] Snowfakery 2.2 (#532) * Snowfakery 2.2 * Update deps --- HISTORY.md | 34 ++++++++++++++++++++-------------- requirements/dev.txt | 31 ++++++++++++++++--------------- requirements/prod.txt | 2 +- snowfakery/version.txt | 2 +- 4 files changed, 38 insertions(+), 31 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index d276d5f6..b0f88ecd 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -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. @@ -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 @@ -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 @@ -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 diff --git a/requirements/dev.txt b/requirements/dev.txt index 8f13faf1..ac4a0c43 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/requirements/prod.txt b/requirements/prod.txt index b4c09432..2c59da88 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -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 diff --git a/snowfakery/version.txt b/snowfakery/version.txt index 42f7d233..61618788 100644 --- a/snowfakery/version.txt +++ b/snowfakery/version.txt @@ -1 +1 @@ -2.1 \ No newline at end of file +2.2 \ No newline at end of file