Skip to content

reverts deprecation of publicHeadersDirectoryURL property #8870

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

heckj
Copy link
Member

@heckj heckj commented Jun 25, 2025

Deprecation looks "incorrect" as it was added and deprecated at the same as the property publicHeadersDirectory, which I believe this was meant to replace.

Motivation:

While updating the documentation, this stood out as added and deprecated, which seemed like a mistake.

Modifications:

reverted the deprecation of the publicHeadersDirectoryURL property

Result:

property is undeprecated

@heckj
Copy link
Member Author

heckj commented Jun 25, 2025

/cc @dschaefer2 - this is the one I reached out to @bripeticca about, if the deprecation is intended, happy to close this PR unmerged.

@heckj
Copy link
Member Author

heckj commented Jun 25, 2025

@swift-ci please test

@dschaefer2
Copy link
Member

Definitely looks like a cut/paste error. Thanks for spotting this!

@bkhouri
Copy link
Contributor

bkhouri commented Jun 25, 2025

The linux smoke test failure reported in CI should be resolved by #8871.

Copy link
Contributor

@jakepetroules jakepetroules left a comment

Choose a reason for hiding this comment

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

This change is not correct. The copy-paste error was that it was marked deprecated, but it does need the availability annotation to say that it was introduced in 6.0.

So the change on this line should be to change "deprecated" to "introduced". You can infer the original intent in #7184 where the property was introduced.

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

Successfully merging this pull request may close these issues.

4 participants