in reply to Re: Minor API changes in 10-year-old module
in thread Minor API changes in 10-year-old module
That's a good way to add a deprecation warning for this sort of situation, and a simple solution. Thanks! And I have no deadline for this, so it's no skin off my asterisk to release such a version now, wait six months or more, then release another. My only hesitation is that it'd also be nice to give users a way to "opt in" to the changes ahead of time, and I was originally thinking of doing that in the code itself, but I reckoned that could get ugly, multiply the unit test requirements, and add two more likely points to introduce regressions. But you've got me thinking. Maybe append your warning with "For new code, use development version USERNAME/Module-Unknown-2.00_01.tar.gz" or something to that effect, with a blurb in the docs on how to fetch a dev build. Or is there an even cleverer way? :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Minor API changes in 10-year-old module
by holli (Abbot) on Sep 05, 2019 at 20:24 UTC | |
by Tux (Canon) on Sep 06, 2019 at 10:28 UTC |