detect_all_dependency_explanations

Function detect_all_dependency_explanations 

Source
pub fn detect_all_dependency_explanations(
    changesets: &[ChangesetInfo],
    workspace: &Workspace,
    config: &Config,
    releases: &BTreeMap<String, (String, String)>,
) -> BTreeMap<String, Vec<(String, Bump)>>
Expand description

Detect all dependency-related explanations for package releases

This function is the unified entry point for detecting all types of automatic dependency-related changelog entries. It identifies:

  • Packages bumped due to internal dependency updates (“Updated dependencies: …”)
  • Packages bumped due to fixed dependency group policy (“Bumped due to fixed dependency group policy”)

§Arguments

  • changesets - The changesets being processed
  • workspace - The workspace containing all packages
  • config - The configuration with dependency policies
  • releases - Map of package name to (old_version, new_version) for all planned releases

§Returns

A map of package name to list of (message, bump_type) explanations to add to changelogs