Skip to content

Releases: gpailler/MegaApiClient

v1.10.4

21 Jan 14:53
17e3272
Compare
Choose a tag to compare

Bug fixes 🐛:
#235 Unable to cast object of type 'System.Int64' to type 'Newtonsoft.Json.Linq.JArray' during login

v1.10.3

16 Oct 06:56
f97b1cf
Compare
Choose a tag to compare

Bug fixes 🐛:
#211 Support Deflate/Gzip compression to solve errors during deserialization

v1.10.2

24 Nov 05:56
eb3cb91
Compare
Choose a tag to compare

Bug fixes 🐛:

  • #195 Download(INode) method can now download nodes retrieved using GetNodeFromLink()

v1.10.1

22 Nov 04:01
b9be9d9
Compare
Choose a tag to compare

Bug fixes 🐛:

  • #192 Properly parse nodes without any file attributes

General 🔧:

  • Parallelize tests execution when possible

v1.10.0

11 Nov 01:25
dce1cd2
Compare
Choose a tag to compare

API changes 🚨:

  • #177 INodeInfo interface is removed for API consistency
    • INode is used instead of INodeInfo
    • INode.SerializedFingerprint is renamed to INode.Fingerprint
    • INode.CreationDate type is changed from DateTime to Nullable<DateTime>

Bug fixes 🐛:

  • #172 Nodes with invalid key length are skipped
  • #178 Tls12 configuration is checked or enforced to avoid hung API calls
    • net40 : check that (SecurityProtocolType)3072 is specified
    • net45 : check that SecurityProtocolType.Tls12 is specified
    • net46 : check that SecurityProtocolType.Tls12 is specified
    • net47 (target added) : check that SecurityProtocolType.Tls12 or SecurityProtocolType.UseDefault is specified
    • net471 (target added) : configure Tls12 in HttpClient .ctor
    • netstandard1.3 : configure Tls12 in HttpClient .ctor
    • netstandard2.0 : configure Tls12 in HttpClient .ctor
  • #189 Explicit HttpClient.DefaultRequestHeaders.ConnectionClose = false is removed to avoid hung API calls after some delay of inactivity

Improvements ✨:

  • #188 Shared HttpClient instance is used when possible
  • #184 An explicit exception is thrown when trying to upload a file to a public share

General 🔧:

  • Tests are refactored by using a Json configuration file
  • Test project is updated to .NET 5
  • Codebase is reformated using standard .editorconfig
  • SourceLink and Deterministic Builds are enabled

v1.9.0

21 Mar 04:15
c695f4c
Compare
Choose a tag to compare

API changes ✨:

  • #156: Allow null progress argument in all async methods.
  • #160: Add support for Thumbnail/Preview download
    • Add method IMegaApiClient.DownloadFileAttribute() to download thrumbnail/preview attached to a node (jpg stream is returned)
    • Add INode.FileAttributes to get details about available file attributes

Bug fixes 🐛:

  • #155: In some circumstances MegaAesCtrStreamCrypter.Read() was throwing ArgumentException (Check and clamp buffer boundaries when buffer is not divisible by 16 )

General 🔧:

  • #165: Switch CI from AppVeyor to GH actions

v1.8.2

16 Aug 12:23
3e9aa50
Compare
Choose a tag to compare

#147 / #149 Upload hangs in HttpClient.PostRequest
#152 / #153 Uploads under Xamarin/iOS are corrupted and invalid (thanks @kiddailey)

v1.8.1

03 May 07:37
Compare
Choose a tag to compare

v1.8.0

07 Apr 14:13
f548ef1
Compare
Choose a tag to compare
  • #138 / #141 - Added support for new share URL format (https://mega.nz/file/... and https://mega.nz/folder/... )

  • #135 / #143 - Changed default retry values and allow full customization of the retry delay

    • API Change : Replaced properties ApiRequestAttemps/ApiRequestDelay/ApiRequestDelayExponentialFactor with ComputeApiRequestRetryWaitDelay to allow full customization of the retry delay
    • API Change : Changed property DelayMilliseconds (int) to RetryDelay (TimeSpan) in ApiRequestFailedEventArgs
  • #139 - Added specific error for TwoFactorAuthenticationError

    • API Change : Added enum value TwoFactorAuthenticationError in ApiResultCode
  • #134 - Don't throw an exception when loading undecrypted files

  • #122 - Fixed bad SerializedFingerprint when uploading files + exposed SerializedFingerprint property

    • API Change : Added SerializedFingerprint property in INodeInfo
  • #129/#130 - Added compatibility with Unity3D IL2CPP

  • #142 - Used GitVersion for better versioning + Deliver Release version in Nuget package

v1.7.1

08 Jan 07:19
Compare
Choose a tag to compare

Improvements:

  • #113 / #114 - Added GetRecoveryKey() method
  • #112 / #115 - Added GetSessionHistory() method
  • #116 - Added various optimization to lower CPU usage (thanks @GSPP)
  • #118 - Added .NET Standard 2.0 support