Skip to content

Conversation

@jabraham17
Copy link
Member

Expands the documentation for editions to include information about what kinds of changes actually belong in an edition and how they should be added to an edition.

I consider this PR to subsume and resolve #27096, since all of the information in that issue should now be in the docs.

@jabraham17
Copy link
Member Author

Please consider this a rough draft, but I would like to get input from the people originally involved in the design of editions to ensure I am accurately representing what we reached consensus on (@lydia-duncan, @e-kayrakli, @ShreyasKhandekar, and @mppf)

Also pinging @bradcray for his attention due to his interest in the topic.

Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Copy link
Member

@lydia-duncan lydia-duncan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the most part, the proposed document as it stands matches my understanding of our final conclusions, but I have thumbs-up'd a couple of Michael's comments. I would have to go digging again through our notes and communication out to the team to determine which of Michael's comments that I disagree with are due to faulty memory on my part - I may still do that, but I've got other stuff vying for my attention at the moment

Signed-off-by: Jade Abraham <[email protected]>
@jabraham17
Copy link
Member Author

I think I've addressed the current set of feedback (thank you!), except where the conversation is not yet marked resolved

Copy link
Contributor

@ShreyasKhandekar ShreyasKhandekar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a small point about linking to the deprecation policy, but this looks good to me otherwise.

Signed-off-by: Jade Abraham <[email protected]>
Copy link
Contributor

@e-kayrakli e-kayrakli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I made some inline comments, none requires holding up the merge IMO.


A stable feature should only be removed in the ``preview`` edition. The
``preview`` edition collects changes that will be included in the next
edition. The act of marking a stable feature as removed in a future edition
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mild preference for dropping the "The preview edition collects" sentence as you said it above. I feel like this is a piece of doc that would be read linearly rather than jumping around.


In summary, if a user is using only stable features of a given language
edition, two different versions of the compiler that support that edition
should behave the same way (barring bug fixes, performance improvements, etc).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just barring bugs or barring bugs, or lack thereof. Performance improvement feels irrelevant

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we all know that "behave" here is not well defined :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal for how to handle breaking changes going forward

5 participants