From c596518fa6ff2e4c726399214c80806e556cd462 Mon Sep 17 00:00:00 2001 From: James Estevez Date: Thu, 12 Nov 2020 11:56:28 -0800 Subject: [PATCH] Prepare 3.23.0 (#2161) * Release v3.23.0 * Fix typo in salesforce_query - SQOL -> SOQL * Update HISTORY for v3.23.0 * Update HISTORY.rst Co-authored-by: David Reed * Update HISTORY.rst * fix nit typo Co-authored-by: David Reed Co-authored-by: Marcel Pufal --- HISTORY.rst | 45 ++++++++++++++++++++++++++ cumulusci/robotframework/Salesforce.py | 2 +- cumulusci/version.txt | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index ae468019ac..a28b3bca67 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,51 @@ History ======= +3.23.0 (2020-11-12) +------------------- + +Changes: + +- CumulusCI now accepts a normalized task option syntax in the form of: + ``--opt-name value``. This can be used in place of the old task + option syntax: ``-o opt-name value``. +- Tasks which perform namespace injection can now automatically + determine whether they are running in the context of a managed + installation or a namespaced scratch org. This means that in many + cases it is no longer necessary to explicitly specify options like + ``managed``/``unmanaged``/``namespaced``/``namespaced_org``/``namespace_inject``, + or to use a separate flow for namespaced scratch orgs. +- The ``deploy_unmanaged`` flow now deploys sfdx-formatted metadata + using the Metadata API rather than the sfdx ``force:source:push`` + command. This avoids an issue where sfdx could show an error about + the pushed components conflicting with other changes that already + happened in the org. It also improves consistency between how + metadata is deployed to a scratch org and how it is deployed to a + packaging org. +- Removed the ``namespaced_org`` option for the ``update_dependencies`` + task, which was not functional. +- We added support for including SOQL where-clauses + ``Salesforce Query`` Robot keyword via the ``where`` keyword + argument. +- The ``create_package_version`` task can accept a + ``static_resource_path`` option. +- The FindReplace task now has a ``replace_env`` option which, if true, + will interpret the ``replace`` option as the name of an environment + variable whose value should be used for the replacement. +- We added a new command, ``cci project doc``, which will document + project-specific tasks to a reStructuredText file. + +Issues closed: + +- An error that occurred when building a second-generation package + using a cross-project task has been fixed. +- The ``github_package_data`` task will now work for projects using API + versions prior to 44.0. +- Fixed a bug where namespace injection of the + ``%%%NAMESPACED_ORG%%%`` token with the ``namespaced_org`` option + enabled did not actually add the namespace prefix unless the + ``managed`` option was also enabled. +- We fixed an issue that resulted in the `batch_size` option in a data mapping file being ignored. 3.22.0 (2020-10-29) ------------------- diff --git a/cumulusci/robotframework/Salesforce.py b/cumulusci/robotframework/Salesforce.py index 4bf754572f..dc1a05f747 100644 --- a/cumulusci/robotframework/Salesforce.py +++ b/cumulusci/robotframework/Salesforce.py @@ -940,7 +940,7 @@ def salesforce_query(self, obj_name, **kwargs): argument. You can supply keys and values to match against - in keyword arguments, or a full SQOL where-clause + in keyword arguments, or a full SOQL where-clause in a keyword argument named ``where``. If you supply both, they will be combined with a SOQL "AND". diff --git a/cumulusci/version.txt b/cumulusci/version.txt index 8912835c48..ee893b7e0e 100644 --- a/cumulusci/version.txt +++ b/cumulusci/version.txt @@ -1 +1 @@ -3.22.0 \ No newline at end of file +3.23.0