From 2daaf9abc97866372c35e5bdd8d4d81846257389 Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Fri, 14 Feb 2020 11:11:08 +0100 Subject: [PATCH 1/3] Add Base URLs for Oceania. --- Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs b/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs index bec1893..5543394 100644 --- a/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs +++ b/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs @@ -20,6 +20,11 @@ public class Constants /// public const string ProdUrlNorthAmerica = "https://api-na.klarna.com/"; + /// + /// The API for the Oceania live environment + /// + public const string ProdUrlOceania = "https://api-oc.klarna.com/"; + /// /// The API for the European testing environment /// @@ -29,5 +34,10 @@ public class Constants /// The API for the U.S. testing environment /// public const string TestUrlNorthAmerica = "https://api-na.playground.klarna.com/"; + + /// + /// The API for the Oceania testing environment + /// + public const string TestUrlOceania = "https://api-oc.playground.klarna.com/"; } } From d431316a182b5b5919ad80a22bbdc8edce2a1530 Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Fri, 14 Feb 2020 11:11:25 +0100 Subject: [PATCH 2/3] Prepare 3.1.12 release. Bump versions and update the CHANGELOG. --- CHANGELOG.md | 15 +++++++++++++-- Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs | 2 +- .../Klarna.Rest.Core/Klarna.Rest.Core.csproj | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed42ed7..4c4327f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,11 +11,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +### Added + +### Fixed + + + +## [3.1.12] - 2020-02-14 + +### Changed + - Rolled back previous model changes. Remove obsolescence notices. ### Added -### Fixed +- HTTP Transport: Oceania Base URLs (playground and production) ## [3.1.10] (Enhancements Release/Auto-generated models) - 2019-12-10 @@ -258,7 +268,8 @@ and fixes [#77](https://github.com/klarna/kco_rest_dotnet/issues/77) - **NEW MINT-1912** Support checkout v3 and ordermanagement v1 APIs - *Joakim.L* -[Unreleased]: https://github.com/klarna/kco_rest_dotnet/compare/v3.1.10...HEAD +[Unreleased]: https://github.com/klarna/kco_rest_dotnet/compare/v3.1.12...HEAD +[3.1.12]: https://github.com/klarna/kco_rest_dotnet/compare/v3.1.10...v3.1.12 [3.1.10]: https://github.com/klarna/kco_rest_dotnet/compare/v3.1.9...v3.1.10 [3.1.9]: https://github.com/klarna/kco_rest_dotnet/compare/v3.1.8...v3.1.9 [3.1.8]: https://github.com/klarna/kco_rest_dotnet/compare/v3.1.7...v3.1.8 diff --git a/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs b/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs index 5543394..7648b2c 100644 --- a/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs +++ b/Klarna.Rest/Klarna.Rest.Core/Common/Constants.cs @@ -8,7 +8,7 @@ public class Constants /// /// The current version of .NET SDK library for Klarna Services /// - public const string Version = "3.1.11"; + public const string Version = "3.1.12"; /// /// The API for the European live environment diff --git a/Klarna.Rest/Klarna.Rest.Core/Klarna.Rest.Core.csproj b/Klarna.Rest/Klarna.Rest.Core/Klarna.Rest.Core.csproj index c76b0a0..6d0aaa9 100644 --- a/Klarna.Rest/Klarna.Rest.Core/Klarna.Rest.Core.csproj +++ b/Klarna.Rest/Klarna.Rest.Core/Klarna.Rest.Core.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 3.1.11 + 3.1.12 Klarna.Rest.Core Klarna Checkout REST .NET SDK Library From e394a933abe620900e7d4397b8307061d13cf63e Mon Sep 17 00:00:00 2001 From: Alexander Zinovev Date: Fri, 14 Feb 2020 11:36:25 +0100 Subject: [PATCH 3/3] Add a notice about v3.1.10. --- CHANGELOG.md | 2 ++ README.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c4327f..c10007d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.1.10] (Enhancements Release/Auto-generated models) - 2019-12-10 +⚠️ This version is marked as **broken/deprecated**. Consider to use v3.1.12 instead. + This release contains fully updated API models. All the models were split by appropriate API entitities and all the models are auto-generated now. This change simplifies keeping up-to-date changes in the API request/response. diff --git a/README.md b/README.md index 843ab82..f18bd1a 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,10 @@ Register here to be able to test your SDK integration before go live: ## Installation and Usage +### Important Notices + +⚠️ v3.1.10 is marked as **broken/deprecated**. Consider to use v3.1.12 instead. + ### Examples Example files can be found in the [examples](Klarna.Rest/Klarna.Rest.Core.Examples) project.