On Thu, 2019-09-05 at 14:52 +0000, Stefan Seifert wrote: > version numbers of sling bundles: > - we should increase (at least) the minor version when incompatible > changes are introduced like changing from R6 to R7 support to signal > such changes to users > - we should increase the minor version of the bundle when some of the > packages where increased in minor version to signal non-trivial > changes > - this should be documented
I would propose the following wording: Bundle versions, by themselves, have no special meaning when resolving packages. However, they do serve as a means of communication to the deployer of the bundle. For regular releases, it is usually safe to only increase the micro version of the bundle. In certain scenarios it is recommended to increase the minor version, for instance: - significant changes in dependencies are introduced, such as changing from OSGi R6 to R7 support - exported package versions' minor component was increased It is also recommended to increase the major version when the major version of an exported package is increased. Thanks, Robert
