Salesforce CLI 2.142.7
+++++*****
Changes
- (Agentforce DX) Manage MCP server registrations in the API Catalog with these new agent mcp commands:added
- (Agentforce DX) Generate a next-generation agent test spec which is based on the AiTestingDefinition metadata type with the new --test-runner flag of the agent generate test-spec command.added
- (Agentforce DX) Pre-populate session variables on a live preview session with the new --context-variables flag of the agent preview and agent preview start commands.added
- (Code Analyzer) Generate and display the abstract syntax tree (AST) that PMD produces when parsing a source file with the new code-analyzer ast-dump command. This is useful for understanding how PMD interprets your code and for developing custom PMD rules. The command supportsadded
- Query the dependencies of a package version that is protected by an installation key with the new --installation-key flag (short name -k) of the package version displaydependencies command. For example:added
- When using source tracking, metadata files that have an ampersand (&) in them are now properly updated. As a result, they're no longer always listed as needing to be deployed or retrieved after a successful deployment or retrieval.fixed
- The package version create CLI command, when run with scopeProfiles: true in the sfdx-project.json file, now generates a correct package.xml file with the appropriate profiles.fixed
- Salesforce CLI now works correctly on all supported versions of Node.js.fixed
- We fixed a bug in @salesforce/core so that the isWeb() check run in the Bun runtime works correctly.fixed
- Salesforce DX projects now support the IdpConfiguration metadata type.fixed
10 lines5 added5 fixedtyped from the source notes