[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:
Depends
depends on CSHARP-2295 Deprecate group command helpers Closed
depends on RUST-129 Deprecate group command helpers Closed
depends on GODRIVER-196 Deprecate Collection.group Closed
depends on PYTHON-1260 Deprecate Collection.group Closed
depends on JAVA-2959 Deprecate group helpers Closed
Related
related to SERVER-14193 deprecate (JS) group command Closed
is related to DRIVERS-371 Remove group helpers Closed
is related to DOCS-7843 Document the deprecation of the group... Closed
Server Compat: 4.2
Start date:
Driver Compliance:
Key Status/Resolution FixVersion
PYTHON-1260 Done 3.5
GODRIVER-196 Works as Designed
CSHARP-2295 Fixed 2.9.0
JAVA-2959 Fixed 3.9.0
RUST-129 Works as Designed

 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:
https://docs.mongodb.com/master/release-notes/3.4-compatibility/#group



 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 DRIVERS-371 for handling calls to the group helper when the group command no longer exists.

Generated at Thu Feb 08 08:21:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.