-
Notifications
You must be signed in to change notification settings - Fork 87
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
Use SwiftSyntax 508.0.0 #230
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this great work! LGTM from my side.
but it might be good to wait for a while to check if anyone who is against this changes appears.
Hi, it seems I arrived too late, as this was merged before #231, where a bug is fixed. It'd be great if we can release one last v1 version (1.8.3) that contains all possible bug fixes before releasing the aforementioned 2.0.0, which contains breaking changes for those who need to use Xcode versions earlier than 14.3. That way we would avoid depriving v1 users of the bug fixes that have already been implemented and would be valuable for them. Do you think we could revert these changes, release one more fully-patched v1 version, and then re-introduce these breaking changes once the v2 release is imminent? If you have other solutions to deliver #231 and other potential bug fixes to v1 users before the v2 release please share them. |
thank you for your comments! maybe you think mockolo cli users will not be able to execute v2.0.0 mockolo cli binary? so we can build v2.0.0 mockolo binary with Xcode14.2 or below, in my understanding. |
Hi. Yes, I was referring to the users who have mockolo as a dependency and build it from source. If they cannot use v2 because, for example, they need to use a lower swift-tools-version in their Package.swift, they wouldn't be able to get the bug fixes like #231. The ideal thing would've been to merge #231 before this PR, so a 1.8.3 version can be released with bug fixes but without the breaking changes. But given that this was already merged, do you think we'd be able to do something like what I mentioned on my previous comment to deliver #231 on a 1.8.3 version before releasing v2? |
Releasing v1.8.3 is difficult because mockolo v1 cannot build on macOS 13 using Xcode 14.3. This means there is a pain to provide homebrew bottle. On the other hand, this PR set swift-tools-version to 5.8 but this was mistake. |
FYI: Iceman has made it possble to build mockolo source on macOS12 and Xcode14(swift 5.7) in #233 |
I believe it may be difficult to support Swift 5.6, as Xcode 13.3 does not work on Ventura OS, and Xcode 14.3 is incompatible with any OS other than Ventura. Though there is a possibility that Linux users will demand compatibility with Swift 5.6, it shouldn't break the v1 mockolo. Currently, we have adequate support to build the mockolo source using Swift 5.7 or later, so we are prepared to release mockolo v2 whenever the time is right. |
Update SwiftSyntax dependency.
Changes
init() async
) support.Note
I'm planning to release this update as v2.0.0.
After v2, building mockolo on legacy Xcode will no longer be supported.
If someone want to build with older Xcode, it is needed to refer to the v1 version.
Basically, I don't think anyone will be troubled by this. Many other tools that use SwiftSyntax are managed like this.