Closed carlosalberto closed 5 years ago
Is this release fully backwards compatible?
@felixbarny It should be compatible for users, but implementations will require some changes.
Hey @felixbarny yes, it's as @tylerbenson said
As an exception: for users, they will be impacted if they use inject/extract with adapters themselves, i.e.
tracer.inject(context, Format.Builtin.TEXT_MAP, new TextMapInjectAdapter(map));
to:
tracer.inject(context, Format.Builtin.TEXT_MAP_INJECT, new TextMapInjectAdapter(map)); // Or...
tracer.inject(context, Format.Builtin.TEXT_MAP, new TextMapAdapter(map));
Hey @felixbarny yes, it's as @tylerbenson said
As an exception: for users, they will be impacted if they use inject/extract with adapters themselves, i.e.
tracer.inject(context, Format.Builtin.TEXT_MAP, new TextMapInjectAdapter(map));
to:
tracer.inject(context, Format.Builtin.TEXT_MAP_INJECT, new TextMapInjectAdapter(map)); // Or... tracer.inject(context, Format.Builtin.TEXT_MAP, new TextMapAdapter(map));
this should be added to the change log. can you do that? Also, It could be that TEXT_MAP_EXTRACT
is also new? It is harder to tell without @since
tags on the apis.
@adriancole yes, both TEXT_MAP_INJECT
and TEXT_MAP_EXTRACT
were added in this release.
Hey - created a PR prior to releasing 0.32.0 (including updating the CHANGELOG).
Let me know ;)