---
id: change/al-go/2465
type: change
title: "#2465 De-duplicate library app dependencies when delivering app source apps."
summary: AL-Go now removes duplicate library app dependencies when delivering app source apps, keeping only the highest version when the same dependency appears multiple times.
tier: official
language: en
tags:
  - feature
  - main
system: development
review:
  state: reviewed
  by: opus
  at: "2026-12-02T01:06:00.421Z"
  flags: []
generated:
  at: "2026-12-02T00:15:44.908Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b3fdc14b8e5582bed73b0e3bcd65c5b3dfeccebf
evidence:
  - kind: code
    url: https://github.com/microsoft/AL-Go/pull/2465
    title: "microsoft/AL-Go#2465: De-duplicate library app dependencies when delivering app source apps."
    date: "2026-12-01"
    commit: b3fdc14b8e5582bed73b0e3bcd65c5b3dfeccebf
    t: null
    quote: X should be de-duplicated such that only the latest version remains.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 2465
repo: microsoft/AL-Go
source_id: al-go-prs
url: https://github.com/microsoft/AL-Go/pull/2465
kind: pr
base_branch: main
major: null
merged_at: "2026-12-01T16:23:10Z"
author: spetersenms
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 7
  additions: 352
  deletions: 8
  al: 3
apps: []
objects_touched: []
objects_unjoined:
  - path: Actions/.Modules/AlToolHelper.psm1
    status: modified
    reason: not-in-snapshot
  - path: Actions/Deliver/Deliver.ps1
    status: modified
    reason: not-in-snapshot
  - path: Actions/Deliver/Deliver.psm1
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - development
  - platform
quote: X should be de-duplicated such that only the latest version remains.
joined_against:
  major: null
  commit: null
---

# #2465 De-duplicate library app dependencies when delivering app source apps.

> AL-Go now removes duplicate library app dependencies when delivering app source apps, keeping only the highest version when the same dependency appears multiple times.

[Pull request](https://github.com/microsoft/AL-Go/pull/2465) · merged into `main` on 2026-12-01 by spetersenms · 7 files (+352 -8), 3 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Detects when multiple apps depend on the same library with different versions
- Retains only the latest version in the dependencies package
- Adds helper functions to identify and de-duplicate dependencies
- Includes new unit and module tests for the de-duplication logic
- Prevents redundant dependencies in delivery artifacts
- Behaviour changes for users or extensions.

## AL objects touched

- `Actions/.Modules/AlToolHelper.psm1`: modified, not in the BC? snapshot
- `Actions/Deliver/Deliver.ps1`: modified, not in the BC? snapshot
- `Actions/Deliver/Deliver.psm1`: modified, not in the BC? snapshot

## Context

- Systems: development, platform
- From the description: "X should be de-duplicated such that only the latest version remains."

Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
