[CSHARP-4674] Should we consider 2.19.0 as a breaking change Created: 09/Jun/23  Updated: 27/Oct/23  Resolved: 28/Jun/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Weihan Li Assignee: James Kovacs
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

From the release notes, we use linq 3 provider as default, which breaks a lot of expressions working for linq2 provider, think it should be treated as a breaking change, should we use a major version update such as `3.0.0` 



 Comments   
Comment by PM Bot [ 28/Jun/23 ]

There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to reopen this ticket if you're still experiencing the issue, and add a comment if you're able to provide more information.

Comment by PM Bot [ 20/Jun/23 ]

Hi weihanli@outlook.com! CSHARP-4674 is awaiting your response.

If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks!

Comment by James Kovacs [ 12/Jun/23 ]

Hi, weihanli@outlook.com,

Thank you for reaching out. We do not consider it a breaking change because you can still configure LINQ2 as your LINQ provider even though it is no longer the default. LINQ3 was introduced in 2.14.0 and we have fixed compatibility issues as they were reported. We made the considered choice to make LINQ3 the default in 2.19.0 as LINQ3 passed our LINQ2 test suite and we had fixed the reported incompatibilities since 2.14.0.

We encourage you to report any LINQ2 queries that do not work in LINQ3 so that they can be investigated and triaged. You can then configure the LINQ2 provider using code similar to the following:

var connectionString = "mongodb://localhost";
var clientSettings = MongoClientSettings.FromConnectionString(connectionString);
clientSettings.LinqProvider = LinqProvider.V2;
var client = new MongoClient(clientSettings);

Thank you in advance for any additional feedback you provide on the LINQ2 incompatibilities that you encountered.

Sincerely,
James

Comment by PM Bot [ 09/Jun/23 ]

Hi weihanli@outlook.com, thank you for reporting this issue! The team will look into it and get back to you soon.

Generated at Wed Feb 07 21:48:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.