[ https://issues.apache.org/jira/browse/SLING-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008615#comment-18008615 ]
Konrad Windszus edited comment on SLING-12861 at 7/21/25 8:16 AM: ------------------------------------------------------------------ The problem is that raising the package version breaks all downstream consumers. Compare with https://github.com/bndtools/bnd/issues/6691. Currently it is not clear how promoting an API to stable does work without forcing all consumers to be recompiled against the stable version.... See also https://lists.apache.org/thread/xtdr34srcl9d9oszfozw4phn0g715ghn was (Author: kwin): The problem is that raising the package version breaks all downstream consumers. Compare with https://github.com/bndtools/bnd/issues/6691. Currently it is not clear how promoting an API to stable does work without forcing all consumers to be recompiled against the stable version.... > Raise bundle and package versions in Sling Distribution API to >= 1.0.0 and > enforce baselining > ---------------------------------------------------------------------------------------------- > > Key: SLING-12861 > URL: https://issues.apache.org/jira/browse/SLING-12861 > Project: Sling > Issue Type: Improvement > Components: Content Distribution > Affects Versions: Content Distribution API 0.7.2 > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > > Currently the package versions in > * > https://github.com/apache/sling-org-apache-sling-distribution-api/blob/90c4de72ce5b1ba2f95bb17aab748389d1748a7b/src/main/java/org/apache/sling/distribution/package-info.java > * > https://github.com/apache/sling-org-apache-sling-distribution-api/blob/90c4de72ce5b1ba2f95bb17aab748389d1748a7b/src/main/java/org/apache/sling/distribution/event/package-info.java > and > * > https://github.com/apache/sling-org-apache-sling-distribution-api/blob/90c4de72ce5b1ba2f95bb17aab748389d1748a7b/src/main/java/org/apache/sling/distribution/transport/package-info.java > use a version < 1.0.0 and baselining is not enabled. This has already lead to > quite some backwards-incompatible changes in the past. We should promote this > API to 1.0.0 and start using semantic versioning in order to prevent breaking > consumers. -- This message was sent by Atlassian Jira (v8.20.10#820010)