On 31.01.2012 18:38, Martijn Dashorst wrote:
On Tue, Jan 31, 2012 at 5:44 PM, Martin
Grigorov<[email protected]> wrote:
Now I think Component#onMarkupAttached() becomes obsolete.
#onInitialize() serves the same purpose, Should we deprecate it in
1.5.x and remove it in 6.0 ?
AFAIK the proper way of deprecating would be to deprecate in 6.0 and
remove in 7.0, if we are going to utilize semver.
I think it's okay to deprecate it in 1.5.x and remove it in 6.0:
| When you deprecate part of your public API, you should do two things:
| (1) update your documentation to let users know about the change, (2)
| issue a new minor release with the deprecation in place. Before you
| completely remove the functionality in a new major release there
| should be at least one minor release that contains the deprecation so
| that users can smoothly transition to the new API.