-
Notifications
You must be signed in to change notification settings - Fork 3k
Deprecated warnings for feature/netsocket/cellular #6264
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
Conversation
We have |
So you're not deprecating it yet, this is just a pre-warning? Not sure how useful that is - if you have the replacement ready, deprecate it now. If you haven't, not much point with the prewarning, although maybe you could point at a feature branch or something. Is the intent that the actual deprecation happens in 5.9, or in a 5.8.y patch? I think you need to be more specific on what you're deprecating in favour of, rather than just pointing at a directory. Eg if writing a driver derived from If as an app they were using them directly as "generic" they should doing what? There's no direct equivalent - something providing "CellularBase" on an arbitrary FileHandle or set of pins. Does For Why move the APN database? It's a general utility - if it's not provided by the main framework and you're expecting apps to do APN lookup themselves if not using the easy wrapper, which I understood to be the case, it should remain in a utility position so they can get at it. The easy wrapper and |
Hi @kjbracey-arm, we cannot decide when this can be deprecated; It is Mbed Os decision. I agree that commenting should be more specific for developer to easier find a replacement. IMHO APN database should not be next to deprecated classes because developers might think it will be deprecated as well. |
Deprecation marker would presumably go into 5.x.y; 6.0 is when stuff marked as deprecated in 5.x.y could actually be deleted. I would suggest putting actual real If that's planned, these pre-warnings might be worthwhile to do first for a patch release. If you want the APN database next to the new code, then |
Looks like a bad rebase , as some commits here are duplicates? please review |
b143f78
to
e073e09
Compare
@AnttiKauppila Is this correct, |
We have agreed to use MBED_DEPRECATED. We will update this |
Actually used MBED_DEPRECATED_SINCE as we plan to drop support in Mbed-OS 5.9. |
ARM internal ref: IOTCELL-544 |
/morph build |
Build : FAILUREBuild number : 1450 |
Will relaunch when able to. ARM license CI issue. |
/morph build |
Build : SUCCESSBuild number : 1458 Triggering tests/morph test |
Test : SUCCESSBuild number : 1225 |
Exporter Build : FAILUREBuild number : 1099 |
CI issue: ARM network licenses could not be checked out during build. Restarting. |
Exporter Build : SUCCESSBuild number : 1106 |
Description
Deprecated warnings for feature/netsocket/cellular. Moved APN_db.h under features/cellular/easy_cellular/.
Pull request type