Skip to content
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

Potentially create separate extension packages #232

Open
jskeet opened this issue Aug 17, 2022 · 0 comments
Open

Potentially create separate extension packages #232

jskeet opened this issue Aug 17, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jskeet
Copy link
Contributor

jskeet commented Aug 17, 2022

Extensions are inherently somewhat-unstable, as we've seen with distributed tracing and sequence. That makes it hard to provide a stable API.

Proposal:

  • Make the existing extensions obsolete (with useful messages)
  • Publish separate packages of extensions, where each extension has its own package and independent version number
  • Modify build processes appropriately to not release extensions with the main library, and allow independent releases
  • Modify documentation accordingly

That way we can create a new major version for each extension when it takes a breaking change. (Hopefully rarely on a per-extension basis...)

Wrinkle: if we have a new major version of the main libraries, what do we do for extensions? If someone wants to use "main library v2" but an extension which takes a breaking change after "main library v3" has been released, how do we handle that? Should we put the main library version within the extension package name, so we can have multiple versions? It's all a bit hairy.

cc @JoshLove-msft, @iampluque for comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant