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 use of deprecated gen_server callback format_status/2 #67

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

bjosv
Copy link
Collaborator

@bjosv bjosv commented Nov 1, 2024

The callback format_status(Opt, StatusData) is deprecated from OTP 27 and give build warnings.
Removing them since they are optional and no-op's in our case.

https://www.erlang.org/doc/apps/stdlib/gen_server.html#c:format_status/2

The callback `format_status(Opt, StatusData)` is deprecated
from OTP 27 and give build warnings.
Remove them since they are optional and no-op's in our case.

Signed-off-by: Björn Svensson <[email protected]>
@zuiderkwast
Copy link
Collaborator

Good idea. Should we release it in a patch version? It's not a documented part of the API, so it's not really a breaking change. Just fix a build issue, which can be OK for a patch release?

@bjosv
Copy link
Collaborator Author

bjosv commented Nov 4, 2024

I also think we could include it in a patch release.

@bjosv bjosv merged commit 6272de1 into Ericsson:main Nov 4, 2024
10 checks passed
@bjosv bjosv deleted the remove-deprecated-callbacks branch November 4, 2024 12:27
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.

2 participants