New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formalize API release cadence #3314
Comments
/cc @open-telemetry/javascript-maintainers |
I support |
I added the 1.1 and 1.2 milestones. Right now I added the PRs to 1.2 which are definitely not in 1.1 but they can always be pushed to 1.3 or later when we get to the release triage meeting. I set the due dates as the last wednesday of each month (1.1 this month, 1.2 next month). |
I have problems following a release process. v1.1.0 is published, yet it's not marked as latest on npm (it's v1.0.4 that's latest). Is v1.1.0 considered as pre-release? If so why normal version ( Which release is recommended to be used by users for stable environments? v1.1.0 or v1.0.4 |
The API 1.1.0 is fine as is. But a version of sdk-trace-base supporting it is not yet released (it's an ongoing task). So if you are only interested in the API and you don't use other OTel components (e.g. you implement your own SDK,...) it's fine to use 1.1.0. But if you intend to use the full set of OTel components (exporter, sdk,...) it's advised to stay on that ones tagged as latest at npm (and not deprecated). One might think why a semver minor requires such a dependency. Well it's semver minor from API user point of view. But SDK implements the API therefore it should implement also the new parts added in the minor update to avoid problems that people use the new API but actually it doesn't work in an end to end setup. |
Currently semver contract seems broken. I had following setup in
And npm crashed on installation of that with:
Having that I needed to update the configuration into:
And that suggests that packages do not really follow semver here. If things work with 1.0.4, they without a question should work with 1.1.0, while peer dependency setting on |
So question is, can we really use version ranges as Or maybe we should assume it's not semver compliant and take each upgrade with caution? |
as said above it depends what you want. If you would like to combine various otel packages you have to take care to use versions which work together. |
We are currently preparing for the 1.1 release, but for features which did not make it into the release I believe we should have a more formal answer for when they may be expected to be released. I don't think we need anything very complicated or process-heavy, but I would suggest something like this:
The text was updated successfully, but these errors were encountered: