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

Remove most deprecated APIs and enumerators #1881

Merged
merged 7 commits into from
Dec 9, 2021

Conversation

vittorioromeo
Copy link
Member

Description

This PR removes almost every deprecated API and entity in SFML, with the notable exception of sf::PrimitiveType::Quads which will be handled in a separate PR.

The removed APIs have been marked as deprecated for literally years, and it is about time we do some clean-up :)
Users have had plenty of time and warnings to stop using deprecated APIs, and SFML 3.x offers us the possibility to perform a clean break and completely remove them from the codebase. Migration from a deprecated API to a modern one is quite simple in all the cases covered by this PR, except for sf::PrimitiveType::Quads which might require a bit more discussion.

Tasks

  • Tested on Linux
  • Tested on Windows
  • Tested on macOS
  • Tested on iOS
  • Tested on Android

How to test this PR?

CI.

@vittorioromeo vittorioromeo added this to the 3.0 milestone Dec 9, 2021
@vittorioromeo vittorioromeo changed the title Feature/remove deprecated apis Remove most deprecated APIs and enumerators from SFML Dec 9, 2021
@vittorioromeo vittorioromeo changed the title Remove most deprecated APIs and enumerators from SFML Remove most deprecated APIs and enumerators Dec 9, 2021
@vittorioromeo vittorioromeo merged commit 7f2243d into master Dec 9, 2021
@eXpl0it3r eXpl0it3r deleted the feature/remove_deprecated_apis branch December 9, 2021 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants