- PR #78: Improve
ApiKeyConfig
exception message during object validation.
Flurl.Http
dependency updated to 3.0.1.- Minimum .NET Framework requirement changed from 4.5 to 4.6.1.
- Dropped support for
netstandard1.3
;netstandard2.0
still supported.
- API methods now check for null or whitespace only values for required URL parameters.
- PR #58: Makes
PlaceBuy.Amount
nullable. Documentation states thatPlaceBuy.Amount
orPlaceBuy.Total
can be specified but not both. Thanks Nemeth!
- Issue #55: Add
client.HoistResponse(out var msg)
that can be used to get the underlyingHttpResponseMessage
. Useful for advanced scenarios where you want to manually check low-level HTTP headers, HTTP status code or inspect the response body manually.
- Issue #54: Better support for Pagination with
client.GetNextPageAsync
helper.
- PR #53: Ensure all
.CreatedAt
and.UpdatedAt
fields are nullable to prevent deserialization exception errors.
- Issue #52:
Coinbase.Models.Account.CreatedAt
/.UpdatedAt
now nullable to avoid JSON deserialization error when JSON response contains null for these fields.
EnableFiddlerDebugProxy
now uses theproxyUrl
parameter instead of hard-codedlocalhost
when debugging HTTP requests.
- Issue #51 - Fixed model mismatch in
Sells.PlaceSellOrderAsync
andPaymentMethods.ListPaymentMethodsAsync
. - Added
EnableFiddlerDebugProxy
method onCoinbaseClient
to help debug HTTP calls. - Updated Newtonsoft dependency to v12.
- Ensures all requests have a
User-Agent
string, includingData
requests. - Added missing
CancellationToken
toGetCurrenciesAsync()
- PR #47: Extra DI interfaces for DI support. Notification event and transaction status constants. Changed
Transaction.Description
return from object to string. Thanks granthoff1107!
- Fixed possible "Operation is not supported on this platform" exception from being thrown in
WebhookHelper.IsValid()
on .NET Core platform.Rsa.ImportParameters(CoinbasePublicKey)
used instead ofRsa.FromXmlString()
.
- This library now has full model support for all Coinbase v2 APIs including Wallet and Data Endpoints. See: https://github.com/bchavez/Coinbase for more info.
- Version 5.x is carries with it breaking changes now that OAuth API authentication is supported.
- Dropped RestSharp dependency for Flurl.Http.
- PR 44: Add callback method OnRefresh when client renews oauth token.
- PR 41: OAuth Auto Refresh tokens supported.
- Renamed
CoinbaseApi
toCoinbaseClient
. OAuthHelper
static class added.
- Issue 35: Create a new URL for each request.
- Issue #33: AllowAnyHttpStatusCode() to allow parsing of error body instead of throwing.
- Corrected
currency
model inaccounts
to parse object instead of string. - Updated
Transaction
model.
- Promotes
CoinbaseApi
as a full client. Allows mutation of request before request is sent.
BREAKING CHANGES
- Complete re-write of Conbase's API according to current documentation.
- Supported Platforms: .NET Standard 2.0 or .NET Framework 4.5 or later.
- Replaced RestSharp dependency with Flurl.Http.
- OAuth and API Key + Secret authentication mechanisms both supported.
- Please see GitHub readme for more information: https://github.com/bchavez/Coinbase
- Newtonsoft reference updated.
- .NET Core compatibility.
- Migrated from .NET Framework 4.0 to 4.5.2.
- Newtonsoft reference update.
- Update Newtonsoft Reference.
- Update Newtonsoft Reference.
- Issue #21: CoinbaseResponse now uses JToken instead of JObject for better compatibility across other APIs that might return a JArray or JObject.
- Issue #21: Fixed "invalid signature" when calling some API endpoints.
- API Aesthetics: Easier usage of CheckoutRequest.Metadata
** BREAKING CHANGES **
- API Aesthetics: Swaped arguments to SendRequest(endpoint, opts)
** BREAKING CHANGES **
- Coinbase API v2. Please see below:
** BREAKING CHANGES **
- For MVC projects, please use Request.InputStream to extract the callback JSON and pass the JSON as an argument to api.GetNotification() and inspect the returnValue.UnverifiedOrder.
- For Web API projects, you can use the Notification class directly as model.
** BREAKING CHANGES **
- Compatibility with Coinbase API v2.
- Deprecated Coinbase.Mvc project. Please replace uses of CoinbaseCallback with the Notification class (in Coinbase.ObjectModel).
- [JsonNetBinder] (or any other binder) is no longer needed when processing callbacks.
- Checkout redirect URLs are generated by api.GetCheckoutUrl(response), where response is the return value from api.CreateCheckout() and api is CoinbaseApi.
- You can now send raw requests to any endpoint: /order, /time, /wallet by using api.SendRequest(body, endpoint, httpMethod)
- Dependency on FluentValidation removed.
- Added debug symbols and source to symbolserver.org for easier debugging experience.
- Updated RestSharp reference.
- Removed obsolete constructor.
- Fixed #18 - CoinbaseApi constructor having null baseURL.
- Improved Refund API support
- Added Order.Status.Expired for merchant callbacks.
- Added Refund API functionality.
- Added SendMoney API functionality.
- Added GetOrder API functionality.
- Updated Nuget references.
- Pull Requests from: ryanmwilliams
** BREAKING CHANGES **
- Moved MVC specific code into new NuGet library. Please use Coinbase.Mvc for your MVC projects.
- Issue #3 fixed - ASCII HMAC encoding now uses UTF8.
- Issue #4 fixed - Input string not a valid integer.
- Using new http://api.coinbase.com API endpoint.
- Third-party references updated: Newtonsoft, RestSharp
- Coinbase's ObjectModel updated.
- Namespace refactorings: Order, ButtonReqeust, etc are now in Coinbase.ObjectModel.
- Support for handling subscription payments.
- Using FluentValidation (not signed) to ease with versioning/upgrades.
- Pull Requests from: ElanHasson
- Updated all Nuget Package Dependencies
- Removed missing App.config file from Coinbase.Tests project
- Added support for new API Key + Secret.
- Deprecated single API Key
- Added "mispaid" status to Status enum to avoid parsing error.
- Added JsonNetBinderAttribute.cs for binding CoinbaseCallbacks.
- Made CreatedAt nullable to prevent deserialization errors.
- Updated documentation.
- Fixing nuget deployment issue.
- Removed Microsoft WebAPI HttpClient (version issues)
- Replaced with RestSharp
- Bug fix in GetCheckoutUrl()
- Initial implementation for payment checkout URL and button creation.