Skip to content

Add regions deprecation warning#8517

Merged
APickledWalrus merged 2 commits intodev/featurefrom
feature/region-deprecation
Apr 1, 2026
Merged

Add regions deprecation warning#8517
APickledWalrus merged 2 commits intodev/featurefrom
feature/region-deprecation

Conversation

@APickledWalrus
Copy link
Copy Markdown
Member

Problem

Regions code is extremely outdated and superseded by skript-worldguard: https://github.com/SkriptLang/skript-worldguard

Solution

This PR adds a deprecation warning that it will be removed in a future release. It also points the user to skript-worldguard's repository.

Testing Completed

Manual testing confirms the warnings print as expected.

Supporting Information

n/a


Completes: none
Related: none
AI assistance: none

@APickledWalrus APickledWalrus requested a review from sovdeeth March 31, 2026 05:51
@APickledWalrus APickledWalrus added the 2.15 Targeting a 2.15.X version release. label Mar 31, 2026
@APickledWalrus APickledWalrus requested a review from a team as a code owner March 31, 2026 05:51
@APickledWalrus APickledWalrus requested review from Pesekjak and removed request for a team March 31, 2026 05:51
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Mar 31, 2026
@APickledWalrus APickledWalrus moved this to In Review in 2.15 Releases Mar 31, 2026
Copy link
Copy Markdown
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

Thoughts about making it suppressible? or is it designed to push people to worldguard now

@APickledWalrus
Copy link
Copy Markdown
Member Author

Thoughts about making it suppressible? or is it designed to push people to worldguard now

I mentioned this on Discord, but just to comment here as well: Since this is using the ScriptWarning printDeprecationWarning method, it is a suppressible warning (via suppress deprecation warnings)

@github-project-automation github-project-automation bot moved this from In Review to Awaiting Merge in 2.15 Releases Mar 31, 2026
@skriptlang-automation skriptlang-automation bot added feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. and removed needs reviews A PR that needs additional reviews labels Mar 31, 2026
@APickledWalrus APickledWalrus merged commit 09c944b into dev/feature Apr 1, 2026
10 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.15 Releases Apr 1, 2026
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. labels Apr 1, 2026
@APickledWalrus APickledWalrus deleted the feature/region-deprecation branch April 1, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.15 Targeting a 2.15.X version release. completed The issue has been fully resolved and the change will be in the next Skript update.

Projects

Status: Done - Awaiting Release

Development

Successfully merging this pull request may close these issues.

4 participants