in reply to Controlled CPAN distribution breakage
Is there any way to keep the old API at the same time as adding the new API? You could then add a deprecation warning to the old API methods, so that users of your current API would be aware of the pending changes. At this time, you could increment the MINOR version number (the Y in X.Y), indicating a backward compatible API change. You may want to push the deprecation warning off to the MAJOR version change. This decision depends on if you consider emitting warnings as breaking your API -- I can see arguments either way.
Once that has been available for a sufficient amount of time, then break your old API, perhaps even dying on the old API calls, and increase the MAJOR version number, indicating a backward-incompatible API change.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Controlled CPAN breakage
by dwalin (Monk) on Feb 07, 2014 at 02:59 UTC | |
by Anonymous Monk on Feb 07, 2014 at 03:13 UTC | |
by dwalin (Monk) on Feb 07, 2014 at 06:59 UTC | |
by Anonymous Monk on Feb 07, 2014 at 07:56 UTC |