Skip to content

Latest commit

 

History

History
101 lines (62 loc) · 5.27 KB

changelog.md

File metadata and controls

101 lines (62 loc) · 5.27 KB

Lexim MercadoPago SDK - Change Log

2.0.4 (Current)

  • Updated "Preapproval" with the lastest API version.
  • Added resource "AuthorizedPayment".
  • Added IPN support to "AuthorizedPayment" and "Preapproval".
  • Now GetAccessToken is thread safe.

2.0.3

  • Added "status, date_created, last_modified" to Preapproval.

2.0.2

  • Fixed IpnHandler incorrectly expecting the payment id to be a valid int-parsable string, when it is actually long.

2.0.1

  • Moved CI to Azure Pipelines

2.0.0

Async support

Async counterparts have been added for most effectful methods in most resource classes. SaveAsync(), UpdateAsync(), DeleteAsync(), FindByIdAsync(), etc have been added to most resource classes. These are based on the async HttpClient API, in contrast to the legacy synchronous methods, which are based on HttpWebRequest and HttpWebResponse.

Note: These new methods are available only when using the .NET Standard version of the SDK.

Test project now targets .NET Framework 4.5 and .NET Core 2.1

  • Most tests are now passing for both platforms.
  • Tests related to System.Configuration and stringly-typed configuration of credentials have been ommited for .NET Core. A new configuration API will be made available using .NET Core idioms.

Dropped support for .NET Framework 3.5

  • Minimum .NET Framework version required has been changed to 4.0. This is due to .NET Core tooling not supporting .NET 3.5.
  • If you are still running .NET Framework 3.5, you may continue to use 1.x versions.

1.0.10

  • Merged latest changes from official SDK.

Improved error handling

  • HTTP status codes in the range 400-500 will no longer result in a silent failure. An exception is now thrown for all non-successful actions performed via the SDK.

1.0.9

  • Fixed invalid Id1 property in MercadoPago.DataStructures.Payment.Order. Partial fix for #6.

1.0.8

  • Merged latest changes from official SDK, including bug fixes related to shipment data.
  • Removed previously deprecated MPIPN class.
  • Reworked code samples.

1.0.7

  • Merged latest changes from official SDK.
  • PaymentType.Id is now nullable. Fixes #4

1.0.6

  • All static methods that perform requests against the MercadoPago API (for instance all FindById(), Search() and Query() methods) now have an accessToken parameter, which enables the use of that particular access token for that particular request.

1.0.5

  • Implemented SDK.GetAccessToken(string clientId, string clientSecret) method, which enables the use of UserAccessToken for API calls that traditionally use ClientId and ClientSecret. See Usage example for details.
  • A critical bug was found in this version, hence it was unlisted from nuget.org.

1.0.4

1.0.3

1.0.2

  • Merged lastest changes from official version. Introduces a new PayerType value: anonymous.
  • Improved error message when TLS 1.2 is not enabled

1.0.1

Bug fixes:

New feature: Per request Access Token

  • You can now define a request-specific Access Token for each API call. This allows for scenarios where there are multiple merchants sharing a single web application, which therefore cannot rely on static properties in the SDK class.

    See Usage example for details.

Cleaner API surface:

  • Many methods, classes and properties in the SDK have now been marked internal, because they're not supposed to be used in user code. This allows for a much better discoverability and Intellisense experience. Many classes have also been marked sealed to better indicate that no inheritance is needed.

New feature: LINQ Provider

1.0.0 (Initial)