-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated filters: leaf_paths, recurse_down #2666
Remove deprecated filters: leaf_paths, recurse_down #2666
Conversation
Thanks! |
@uncle-fed the issue is that |
@nicowilliams : thanks a lot for the clear explanation, finally :-) My confusion (and you can see that there are quite a few others) comes from encountering the There are now "bug workarounds" on #1163 such as And what's worse, there are other bug reports open (also beyond the jq main repository but in other projects that rely on jq) which simply treat #1163 as a bug that needs fixing on the jq side. I think it would be of a great help if both, the #1163 and the docs were updated with this vital information. Thank you, as always, for the fantastic tool. |
OK, I see there was now further development of the #1163. Thanks a lot for at least setting the record straight in the original report, finally! ;-) |
* The 'leaf_paths' filter has been deprecated for 9 years and was removed in jqlang v1.7 (jq v1.6) so use the 'paths(scalars)' filter. - c.f. jqlang/jq#2666 - c.f. jqlang/jq#426 * Remove upper bound on jq version - Reverts #97
* The 'leaf_paths' filter has been deprecated for 9 years and was removed in jqlang v1.7 (jq v1.6) so use the 'paths(scalars)' filter. - c.f. jqlang/jq#2666 - c.f. jqlang/jq#426 * Remove upper bound on jq version - Reverts #97
…ted (#101) * Backport PR #99 * The 'leaf_paths' filter has been deprecated for 9 years and was removed in jqlang v1.7 (jq v1.6) so use the 'paths(scalars)' filter. - c.f. jqlang/jq#2666 - c.f. jqlang/jq#426 * Remove upper bound on jq version - Reverts #97
This PR removes two builtin filters marked as deprecated and will be removed in the next major release. Both of
leaf_paths
andrecurse_down
filters were deprecated by #426 (dde43f7) in 2014, and it's already 9 years passed since then. I think we have waited too long and can remove them in the coming next release. Closes #1163 (which is not actually a bug but mentions about the quite confusing definition ofleaf_paths
so let me close).