Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.2.0 #3871

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cumulusci/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.1.0"
__version__ = "4.2.0"
126 changes: 72 additions & 54 deletions docs/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

<!-- latest-start -->

## v4.2.0 (2025-01-20)

<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed

### Changes 🎉

- fix: Prevent 'directory not empty' error in `snowfakery` on Linux by [@schenkkp](https://github.com/schenkkp) in [#3864](https://github.com/SFDO-Tooling/CumulusCI/pull/3864)
- @W-17621812: Update \_get_required_permission_types to handle SELECT operations by [@aditya-balachander](https://github.com/aditya-balachander) in [#3870](https://github.com/SFDO-Tooling/CumulusCI/pull/3870)

## New Contributors

- @RupertBarrow made their first contribution in [#3490](https://github.com/SFDO-Tooling/CumulusCI/pull/3490)
- @schenkkp made their first contribution in [#3864](https://github.com/SFDO-Tooling/CumulusCI/pull/3864)

**Full Changelog**: https://github.com/SFDO-Tooling/CumulusCI/compare/v4.1.0...v4.2.0

<!-- latest-stop -->

## v4.1.0 (2025-01-09)

<!-- Release notes generated using configuration in .github/release.yml at main -->
Expand All @@ -23,8 +43,6 @@

**Full Changelog**: https://github.com/SFDO-Tooling/CumulusCI/compare/v4.0.1.dev1...v4.1.0

<!-- latest-stop -->

## v4.1.0.dev1 (2025-01-01)

<!-- Release notes generated using configuration in .github/release.yml at main -->
Expand Down Expand Up @@ -1745,9 +1763,9 @@ Critical Changes:
subfolders will see a change in resolution behavior. Previously,
a dependency specified like this:

dependencies:
- github: https://github.com/SalesforceFoundation/NPSP
subfolder: unpackaged/config/trial
dependencies:
- github: https://github.com/SalesforceFoundation/NPSP
subfolder: unpackaged/config/trial

would always deploy from the latest commit on the default
branch. Now, this dependency will be resolved to a GitHub commit
Expand All @@ -1758,12 +1776,12 @@ Critical Changes:
- The `project__dependencies` section in `cumulusci.yml` no longer
supports nested dependencies specified like this:

dependencies:
- namespace: "test"
version: "1.0"
dependencies:
- namespace: "parent"
version: "2.2"
dependencies:
- namespace: "test"
version: "1.0"
dependencies:
- namespace: "parent"
version: "2.2"

All dependencies should be listed in install order.

Expand Down Expand Up @@ -1932,12 +1950,12 @@ Critical changes:
- The `project__dependencies` section in `cumulusci.yml` will no
longer support nested dependencies specified like this :

dependencies:
- namespace: "test"
version: "1.0"
dependencies:
- namespace: "parent"
version: "2.2"
dependencies:
- namespace: "test"
version: "1.0"
dependencies:
- namespace: "parent"
version: "2.2"

All dependencies should be listed in install order.

Expand Down Expand Up @@ -3544,33 +3562,33 @@ New features:

: -

Added keywords for generating a collection of sObjects according to a template:
Added keywords for generating a collection of sObjects according to a template:

: - `Generate Test Data`
- `Salesforce Collection Insert`
- `Salesforce Collection Update`
: - `Generate Test Data`
- `Salesforce Collection Insert`
- `Salesforce Collection Update`

-
-

Changes to Page Objects:
Changes to Page Objects:

: - More than one page object can be loaded at once.
Once loaded, the keywords of a page object remain
visible in the suite. Robot will give priority to
keywords in the reverse order in which they were
imported.
- There is a new keyword, `Log Current Page Object`,
which can be useful to see information about the
most recently loaded page object.
- There is a new keyword, `Get Page Object`, which
will return the robot library for a given page
object. This can be used in other keywords to access
keywords from another page object if necessary.
- The `Go To Page` keyword will now automatically load
the page object for the given page.
: - More than one page object can be loaded at once.
Once loaded, the keywords of a page object remain
visible in the suite. Robot will give priority to
keywords in the reverse order in which they were
imported.
- There is a new keyword, `Log Current Page Object`,
which can be useful to see information about the
most recently loaded page object.
- There is a new keyword, `Get Page Object`, which
will return the robot library for a given page
object. This can be used in other keywords to access
keywords from another page object if necessary.
- The `Go To Page` keyword will now automatically load
the page object for the given page.

- Added a basic debugger for Robot tests. It can be enabled
using the `-o debug True` option to the robot task.
- Added a basic debugger for Robot tests. It can be enabled
using the `-o debug True` option to the robot task.

- Added support for deploying new metadata types
`ProfilePasswordPolicy` and `ProfileSessionSetting`.
Expand Down Expand Up @@ -3645,8 +3663,8 @@ New features:
permanently set this option, add this in
`~/.cumulusci/cumulusci.yml`:

cli:
plain_output: True
cli:
plain_output: True

- Added additional info to the `cci version` command, including the
Python version, an upgrade check, and a warning on Python 2.
Expand Down Expand Up @@ -4927,12 +4945,12 @@ Resolving a few issues from beta77:
below. In flows that need to inject the actual namespace prefix,
override the [unmanaged]{.title-ref} option .. :

custom_deploy_task:
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: your/custom/metadata
namespace_inject: $project_config.project__package__namespace
unmanaged: False
custom_deploy_task:
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: your/custom/metadata
namespace_inject: $project_config.project__package__namespace
unmanaged: False

### Enhancements

Expand Down Expand Up @@ -5647,13 +5665,13 @@ Resolving a few issues from beta77:
- **IMPORANT** This release changes the yaml structure for flows. The
new structure now looks like this:

flows:
flow_name:
tasks:
1:
task: deploy
2:
task: run_tests
flows:
flow_name:
tasks:
1:
task: deploy
2:
task: run_tests

- See the new flow customization examples in the cookbook for examples
of why this change was made and how to use it:
Expand Down
Loading