Skip to content

Fix: Add backward compatibility for legacy platform-urls config#8

Merged
CodeWithKyrian merged 1 commit into
mainfrom
codewithkyrian/platform-package-installer
Apr 1, 2026
Merged

Fix: Add backward compatibility for legacy platform-urls config#8
CodeWithKyrian merged 1 commit into
mainfrom
codewithkyrian/platform-package-installer

Conversation

@CodeWithKyrian

Copy link
Copy Markdown
Owner

This PR restores backward compatibility for packages still using the legacy extra.platform-urls key while keeping extra.artifacts as the preferred configuration. It routes both config styles through the same resolution flow, adds a deprecation notice for the legacy key, and includes integration coverage to ensure legacy installs continue to work correctly.

Motivation and Context

After introducing the v2 artifacts model, existing packages using platform-urls could break during migration windows where maintainers need to support both old and new plugin versions. This PR ensures a smooth transition by accepting legacy configuration without changing current v2 behavior, so package authors can safely depend on ^1.1 || ^2.0 style compatibility while planning gradual config migration.

Breaking Changes

None.

@CodeWithKyrian CodeWithKyrian merged commit 95ee14d into main Apr 1, 2026
8 checks passed
@CodeWithKyrian CodeWithKyrian deleted the codewithkyrian/platform-package-installer branch April 1, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant