If this may help, I very well remember that at least in one of my now merged 3.x PRs I was instructed by maintainers to put an "@deprecated 4.0" meaning that it would be removed (or not guaranteed to be there) when 4.0 will be released.
I can't exactly remember in which PR(s) that was, but if needed I
think I can find it out.
Sergio
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
Please pardon any errors, this message was sent from my iPhone.
... but I agree that it would make sense to adopt the new meaning, i.e. putting deprecation notice for the version "since when" something is considered obsolete and hence will be removed at the next major.
Only problem I foresee is that when one push a PR, he/she'll
never can be sure if/when it will be merged.
This said, I think we should deprecate the old meaning @4.0 and start over from there.
Sergio
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
![]() ![]() |
Izharul Haque Aazmi (Izhar Aazmi) |
Bhartiy Digital Laboratories and Bhartiy Web Technologies, 11 - Kaveri Enclave - II, Near Swarn Jayanti Nagar, Ramghat Road, Aligarh - 202 001 (UP), India |
|
Visit: www.izharaazmi.com |
--
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send an email to joomla-dev-cms@googlegroups.com.
Do you have some examples of where it has been misused. All the notices I have seen are clear that they mean the item is deprecated now and should be removed in the version stated.
There are currently a number of "@deprecated 4.0" tags in our codebase which are obviously not correct according to this interpretation. Anyone like to volunteer to spend a bit of time creating a PR to correct them? Reply here if you'd like to take it on.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
If it involves too much work to fix the current codebase (properly), then maybe we can make a clean break in 4.0 and switch to the PSR5 (almost) standard with the full range syntax. That way it will be clear going forwards and only slightly ambiguous looking backwards as well as not requiring any effort from anyone.
Chris.
On 1 October 2016 at 15:26, 'brian teeman' via Joomla! CMS Development <joomla-...@googlegroups.com> wrote:
On Saturday, 1 October 2016 09:50:48 UTC+1, brian teeman wrote:
On Friday, 30 September 2016 00:30:01 UTC+1, Chris Davenport wrote:There are currently a number of "@deprecated 4.0" tags in our codebase which are obviously not correct according to this interpretation. Anyone like to volunteer to spend a bit of time creating a PR to correct them? Reply here if you'd like to take it on.If you mean that you want all @deprecated 4.0 to be changed to @deprecated 3.7 I can do that. Its not realistic to go back and work out exactly which version all the tags were added
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
Closing my pr
@chris I understand that the work and effort for doing it "properly" is huge.
Work by Brian is a good workaround. We cannot expect him to do more than that, else it would be underutilization of his skill level.
However on a second thought, I find it misleading to mark everything deprecated in 3.7. Can't we rather choose some way that allows us to atleast mark them as deprecated before 3.7, such as 3.x (not exactly).
And mark deprecated 3.7 only those things that are actually deprecated in particularly 3.7.
Do we have a choice, Chris... Brian...?
I can also find some trainees to do it "properly" if you guys still think we should think of it.
By "properly" I meant going back through the logs to find the correct deprecation versions. It looks to be a bigger job than I anticipated. But, of course, thank you for your PR. I really do appreciate the work you do. What do you think of my compromise proposal?Chris.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.
@deprecated 3.6.3
@deprecated 3.6.3:4.0
@deprecated :4.0
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.
Here is a non-exhaustive list of possible options; I'm open to any options that have more visual significance than the current proposed single-colon notation.
Alternative | Char(s) | example1 | example2 |
---|---|---|---|
Double colon | :: | @deprecated 1.0.0::2.0.0 | @deprecated ::2.0.0 |
Forward slash | / | @deprecated 1.0.0/2.0.0 | @deprecated /2.0.0 |
Double Forward slash | // | @deprecated 1.0.0//2.0.0 | @deprecated //2.0.0 |
Backslash | \ | @deprecated 1.0.0\2.0.0 | @deprecated \2.0.0 |
Double Backslash | \\ | @deprecated 1.0.0\\2.0.0 | @deprecated \\2.0.0 |
Pointer | -> | @deprecated 1.0.0->2.0.0 | @deprecated ->2.0.0 |
Tilde | ~ | @deprecated 1.0.0~2.0.0 | @deprecated ~2.0.0 |
Hyphen | - | @deprecated 1.0.0-2.0.0 | @deprecated -2.0.0 |
Underscore | _ | @deprecated 1.0.0_2.0.0 | @deprecated _2.0.0 |
verbose words | since #.#.# for removal in #.#.# | @deprecated since 1.0.0 for removal in 2.0.0 | @deprecated for removal in 2.0.0 |
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-cms@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.