# RFC process for public API changes in swift-syntax

**URL:** <https://forums.swift.org/t/rfc-process-for-public-api-changes-in-swift-syntax/76447>\
**Category:** Swift Syntax\
**Tags:** swiftsyntax, swift-syntax\
**Created:** [December 7, 2024, 12:49am UTC](https://forums.swift.org/t/rfc-process-for-public-api-changes-in-swift-syntax/76447 "2024-12-07T00:49:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahoppen](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ahoppen/32/36046_2.png) [@ahoppen](https://forums.swift.org/u/ahoppen)\
**Post date:** [December 7, 2024, 12:49am UTC](https://forums.swift.org/t/rfc-process-for-public-api-changes-in-swift-syntax/76447/1 "2024-12-07T00:49:39Z")

</div>

swift-syntax is a widely used library, and any changes to its public API have a significant impact on its users. So far, we have evaluated this impact during PR reviews. While this has worked for us so far, it has the risk that a thorough review of public API changes gets lost in implementation comments. Furthermore, separating the PRs that have a public API impact from those that only change the implementation is hard, which effectively causes only swift-syntax contributors to share their opinions on the API design.

To improve this situation, I’m proposing that every change to swift-syntax’s public API should have an accompanying RFC post in the Swift forums, which explains the change and encourages feedback not only from swift-syntax contributors but also from swift-syntax users.

The details of the RFC process are described in [Describe an RFC process to request feedback for public API changes by ahoppen · Pull Request #2863 · swiftlang/swift-syntax · GitHub](https://github.com/swiftlang/swift-syntax/pull/2863). Let me know what you think.

---

<div class="post-metadata">

**Author:** ![0xTim](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/0xtim/32/27968_2.png) [@0xTim](https://forums.swift.org/u/0xTim)\
**Post date:** [December 8, 2024, 3:06am UTC](https://forums.swift.org/t/rfc-process-for-public-api-changes-in-swift-syntax/76447/2 "2024-12-08T03:06:20Z")

</div>

Anything that makes progress to making Swift Syntax somewhat stable to make macros usable in libraries is a win in my book

---

<div class="post-metadata">

**Author:** ![ahoppen](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ahoppen/32/36046_2.png) [@ahoppen](https://forums.swift.org/u/ahoppen)\
**Post date:** [January 9, 2025, 7:57pm UTC](https://forums.swift.org/t/rfc-process-for-public-api-changes-in-swift-syntax/76447/3 "2025-01-09T19:57:17Z")

</div>

To follow up on this thread, there were no objections to the RFC process proposed, so we’ll follow it for any future changes to swift-syntax’s API.
