[DRIVERS-370] Deprecate group command helpers Created: 28/Mar/17 Updated: 27/May/22 Resolved: 19/Jun/19 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Server Compat: | 4.2 | ||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||
| Description |
|
In 3.4 the old group command was deprecated and we plan to remove it in 3.6. (EDIT removal happened in 4.1.1) Documentation and usage examples for group command helpers MUST clearly document that the helper is deprecated. If it makes sense for your language, the helper SHOULD also raise or log a deprecation warning. Example from our regular docs: |
| Comments |
| Comment by Asya Kamsky [ 01/Aug/17 ] |
|
Looks like Java has a helper, as does C#/.NET though in .net it's in the Legacy assembly. |
| Comment by David Golden [ 31/Mar/17 ] |
|
Perl driver does not have a group helper |
| Comment by J Rassi [ 31/Mar/17 ] |
|
Confirming that the C++ driver does not use the group command in driver docs. |
| Comment by Bernie Hackett [ 28/Mar/17 ] |
|
I think what we want to do here is deprecate the group helper, rather than remove its documentation. Drivers have to support all the way back to MongoDB 2.4 and group was only just deprecated in MongoDB 3.4. See |