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

Q# 2.0 Tracking Issue #2049

Open
9 tasks
sezna opened this issue Dec 2, 2024 · 1 comment
Open
9 tasks

Q# 2.0 Tracking Issue #2049

sezna opened this issue Dec 2, 2024 · 1 comment
Assignees

Comments

@sezna
Copy link
Contributor

sezna commented Dec 2, 2024

This issue tracks the tasks we'd like to have done before the release of Q# 2.0.

@sezna sezna self-assigned this Dec 2, 2024
@sezna
Copy link
Contributor Author

sezna commented Dec 9, 2024

Process of Upgrading Q# Syntax

For anything breaking, primarily the removal or modification of existing Q# syntax, we want to be in the following state before Q# 2.0:

  1. A lint warning will inform the user that something is deprecated.
  2. The v2-preview-syntax feature flag allows the user to opt-in to v2 syntax, meaning that the aforementioned lints become compile errors.
  3. There needs to be a clearly documented path to go from deprecated syntax to v2 syntax. Ideally, there's also a quick fix attached to the lint to make this even easier.
  4. Update our libraries to reflect the change and make sure they use best practices.

We should define a minimum deprecation time period such that items are deprecated for at least that long before they are removed. During this period, there should also be new syntax available.

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

No branches or pull requests

1 participant