I switched using 4.0 ServoyCoreLibs to using 4.1 ServoyCoreLibs and noticed more deprecated methods.
However some methods have no documentation anymore and some don't show an alternative.
I have looked back in the release documentation and found three API changes. The below ones were not even mentioned:
IClientPluginAccess No documentation:
flushAllClientsCache(...)
getThreadPool()
IClientPluginAccess No (documented) alternative
getMessage(String i18nKey)
getMessage(String i18nKey, Object[] arguments)
getUserID()
reportError(Component parentComponent, String msg, Object detail)
Vice versa: IForm FormManager.getForm(String formName) is not shown/documented in the API (I could not find it).
An example why this is nasty:
After some searching I find out that getThreadPool is replaced by getExecutor.
I don't know since when/which version this is?
What are potential backward compatibility issues when I start using getExecutor?
What is the difference between getThreadPool().addTask(runnable) and getExecutor().execute(runnable)?
Why did I have to search for the alternative? Well, I attach the javadoc (location) to the build path library so that I have the documentation at hand while coding. Very easy when it works
I asked for this before but, with the pace that Servoy versions come it now becomes really necessary to know when methods/interfaces are added and/or deprecated.
Especially of interest since no old api's are published anymore.
Especially of interest when you decide to clean up your code and all of a sudden you break stuff.