ModernHttpClient icon indicating copy to clipboard operation
ModernHttpClient copied to clipboard

Will the NuGet be updated soon?

Open Shark107 opened this issue 2 years ago • 4 comments

Hi,

first of all thanks for your work.

I noticed that this nuget hasn't been updated since December '19, while in the meantime the project has been going on - I manually created a nuget starting from the last version of the code and there is at least one bug fix solving a constant problem I had on a personal project.

Is there a plan to release a nuget on nuget.org with the latest update?

Thanks in advance

Shark107 avatar Dec 28 '21 08:12 Shark107

Yes

alexrainman avatar Feb 09 '22 16:02 alexrainman

Hey @alexrainman - is there perhaps a general eta on a nuget update? We're running into this guy: https://github.com/alexrainman/ModernHttpClient/issues/75 - but it seems that's not part of the latest nuget release just yet?

InquisitorJax avatar Feb 15 '22 10:02 InquisitorJax

@alexrainman do you have any updates on eta here?

I tried cloning the repo, but running into error: error: invalid path 'Thumbs.db:encryptable' ... looks like a windows-specfic issue for files containing ":" ?

InquisitorJax avatar Mar 14 '22 10:03 InquisitorJax

Hi @alexrainman , Whenever you do plan to update the ModernHttpClient, I thought I'd let you know that the last version of Square.OkHttp3 that is supported by ModernHttpClient is 4.9.2, approximately 7 months ago from the time I'm writing this message.

The most recent version of Square.OkHttp3 4.9.3 (as of today's date) throws a missing method exception:
System.MissingMethodException: 'Method not found: Square.OkHttp3.RequestBody Square.OkHttp3.RequestBody.Create(byte[],Square.OkHttp3.MediaType)'

I tried to fix it in the Android OkHttpNetworkHandler.SendAsync API using the recommended changes I found, however, it didn't throw where I had expected it to throw. Instead it threw on a call to System.Net.Http.HttpClient.GetStringAsync(requestUrl). This sounds a bit strange, I know. I am using VS Version 17.3.0 Preview 1.1 on a that is a .NET6 Maui Class library.

Do you think you can take a look at this missing method exception and upgrade to the latest Square.OkHttp3? Thanks for this fantastic library!!

gcadmes-extron avatar May 28 '22 18:05 gcadmes-extron