If I understand it correctly, when I develop a program that depends on a GPL library, it becomes a derivative work of the library and the GPL license also aplies to it. But what happens if I develop a new version of the program which doesn't need the library anymore? Am I still obligated to use the GPL license?
From one point of view, the old version was GPL and this is clearly a derivative work of it, so it needs to be GPL too.
From a different point of view – this is nonsense! I'm not using the library so nothing is forcing me to use GPL anymore! Right?!