-
Notifications
You must be signed in to change notification settings - Fork 49
Consider renaming Link#context -> Link#spanContext #91
Comments
This will not make it into the 1.0 release. We can add it after 1.0 as a minor addition and mark the previous property as deprecated. |
Is there already a deprecation workflow defined? |
The spec versioning doc has only made affordances for deprecating whole signals, not individual API methods and properties. I will open a PR with an official deprecation strategy along these lines:
|
Maybe we should add also a minimum timeframe for removing, or use a whole major cycle. This may be terrible long as there is no release plan for next majors as far as I know. |
Good suggestion. I think at least a whole major cycle is likely to be extremely long. How about next major release unless the release happens within 6 months of deprecation, else the removal must wait for the next major release after that. |
I would also say introducing a |
This rename is a breaking change and I don't see a strong benefit to deprecate the old name. If someone thinks this is causing unnecessary confusion they can open an issue in https://github.com/open-telemetry/opentelemetry-js as this package is moving there. |
Span#context
was renamed in #45. For consistency, it would be nice if link did the same.opentelemetry-js-api/src/trace/link.ts
Line 37 in 9b3f9c7
This is a minor ask – if we don't want to create more API churn this can be closed 🙂
The text was updated successfully, but these errors were encountered: