Skip to content

CSHARP-5547: Remove support for MongoDB 4.0 #1719

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

Merged
merged 7 commits into from
Jul 3, 2025

Conversation

adelinowona
Copy link
Contributor

No description provided.

@adelinowona adelinowona requested a review from a team as a code owner July 1, 2025 15:44
Copy link
Contributor

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall.

@@ -215,6 +215,7 @@ public class Feature
/// <summary>
/// Gets the create indexes using insert operations feature.
/// </summary>
[Obsolete("This property will be removed in a later release.")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's communicate the reason for removal (removed in 4.2)?
Like GeoHaystack....

@adelinowona adelinowona requested a review from BorisDog July 2, 2025 16:52
Copy link
Contributor

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM + minor comment

@@ -264,13 +264,13 @@ public void Equals_should_return_true_when_all_fields_are_equal()
[InlineData(new[] { 0, 1 }, false)]
[InlineData(new[] { 0, 2 }, false)]
[InlineData(new[] { 0, 6 }, false)]
[InlineData(new[] { 0, 7 }, true)]
[InlineData(new[] { 0, 7 }, false)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add few cases that were covered by (*, 7), 7 being the first supported. [0, 8], [8, 8]

Copy link
Member

@sanych-sun sanych-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM + kudos for finding and removing dead-code

@adelinowona adelinowona merged commit ca6234d into mongodb:main Jul 3, 2025
28 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants