open-telemetry / opentelemetry-java-instrumentation

OpenTelemetry auto-instrumentation and instrumentation libraries for Java
https://opentelemetry.io
Apache License 2.0
1.93k stars 845 forks source link

Should we bump 1.x minor versions when bumping SDK minor versions? #11881

Closed trask closed 4 weeks ago

trask commented 2 months ago

Currently we are only bumping 1.x patch versions when bumping SDK minor versions, e.g. https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/11879

@brunobat recently reported a breaking change when updating 1.x patch versions. He didn't recall the exact breakage, but I suspect it may have been in an SDK incubator (alpha) artifact, which is ok to break in minor SDK version bumps, but not great to break in a patch update of Instrumentation (which bumps the minor SDK version in its bom).

laurit commented 2 months ago

With current release workflows it is much easier to do patch releases in 1.x series. We would need to resolve the automation issues if we want to bump minor version or instead of monthly 1.x releases switch to release on demand and hope that we don't need to release too often.

jonatan-ivanov commented 1 month ago

I think the two should follow the same versioning strategy. It is unexpected to: