Skip to content

Latest commit

 

History

History
230 lines (183 loc) · 8.38 KB

CHANGELOG.md

File metadata and controls

230 lines (183 loc) · 8.38 KB

Change Log

All notable changes to this project will be documented in this file using the Keep a CHANGELOG principles. This project adheres to Semantic Versioning.

[Unreleased]

TBD

Added

  • Added new property to RiskMetadata: region

Changed

  • Upgraded minimum PHP version to 7.1

[2.3.0] 2018-10-08

Added

  • Added new properties to Plan: pricing, recurringInterval, trial, setup
  • Added new property to Subscription: items
  • Added new property to LeadSource: original

Changed

  • Replaced magic methods like get, post with explicit defined methods.

Removed

  • Removed deprecated Plan properties: expiredTime, recurringAmount, trialAmount, setupAmount, recurringPeriodUnit, recurringPeriodLength, recurringPeriodLimit, trialPeriodUnit, trialPeriodLength, contractTermUnit, contractTermLength, minQuantity, maxQuantity
  • Removed LeadSources in Transactions, Invoices and Subscriptions
  • Removed LeadSources endpoint and service. Adding Lead Sources now only possible via Tokens and Customers
  • Removed deprecated Subscription properties: planId, quantity, billingContactId, billingContact, deliveryContactId, deliveryContact
  • Removed deprecated LeadSource property: ipAddress
  • Removed Notification, EmailNotification and EmailNotificationTracking.
  • Deprecate setting initialInvoiceId property when creating a Subscription.

[2.2.0] 2018-08-14

Added

  • Added support for subscription interim invoices.
  • Added schema for subscriptions change-plan endpoint.
  • Added SubscriptionChangePlan.
  • Added lineItems and lineItemSubtotal to Subscription entity.
  • Implemented new Subscription Cancellations API.
  • Implemented Subscription-reactivations API.
  • Implemented KYC Documents API.
  • Implemented Gateway Account Downtime API.
  • Implemented Email Notifications API.
  • Added Customer Lifetime Revenue.
  • Added route to ApiTracking.
  • Added productId to Plan.
  • Added setting status to payment card.
  • Added payment instrument validation.

Removed

  • Removed Subscription switch.
  • Removed support for Subscription Tracking.
  • Removed downtime settings in Gateway Account API.
  • Removed custom fields deletion.

Fixed

  • Fixed PATCH calls.
  • Fixed reset-password endpoint.
  • Fix coupons restrictions.

Deprecated

  • Deprecated support for old subscription/{id}/cancel endpoint (SubscriptionCancel with policy).
  • Deprecated Redemption's redeemedTime in favor of createdTime.

[2.1.0] 2018-01-04

  • Updated Invoice methods to use websiteId and customerId
  • Rename Email object to ForgotPassword and update corresponding usages.
  • Fix erroneous import of wrong Email object.
  • Removed Website checkoutPageUri.

[2.0.7] 2017-09-13

Added

  • Added ability to configure permission of the PATCH method for the user session.
  • Added missing getters and setters in the Subscription, SubscriptionSwitch, Transaction, Coupon.
  • Added status property in the Invoice.
  • Added DELETE method to the Contacts API.
  • Added Contact Value Object which is replacement to the relations between Contact and other resource, like Transaction, Invoice and others.
  • Implemented Values List API.
  • Added new endpoint to change the Coupon expiration.
  • Implemented Products API.
  • Implemented Shipping Zone API.
  • Implemented Webhooks API.
  • Implemented Webhooks Tracking API.
  • Implemented Risk Metadata API.

Removed

  • Removed Email Credentials API, it is never used.
  • Removed attribute threeDSecureType from the Transaction.

Fixed

  • Fixed some erroneous properties in resources.

[2.0.6] 2017-01-07

Added

  • Added support for Files and Attachments.
  • Added support for Subscription resource attributes: inTrial and rebillNumber.
  • Added support to delete Layout resources.
  • Added support to activate a User.
  • Added support to delete a WebsiteWebhook.

Changed

  • Require PHP 7.1 unit tests to pass, and updated README. PHP 5.5 is at end of life and not supported by PHP. We recommend upgrading if you are using PHP 5.5. We will continue support of it for now.

Fixed

  • Fixed SDK_VERSION now properly incremented.
  • Fixed PaymentCardToken to properly set the method attribute.

[2.0.5] 2016-11-29

Added

  • Added support for Blacklist expiredTime attribute, and deprecated expireTime attribute.
  • Added support for Coupons and Discounts and Restrictions.
  • Added support for Gateway object inside of Transaction response.
  • Added support for LeadSource on Invoice, Payment and Subscription.
  • Added support for Notes attached PaymentCard, GatewayAccount, Subscription and Transaction.
  • Added support for Payment attributes retryInstruction and retryNumber, and added support for creating instructions.
  • Added support for PaymentCardMigrations.

Changed

  • Changed all enum values and made it consistent using kebab-case notation of naming.
  • Moved support for the deprecated Website Webhooks to own object WebsiteWebhook.
  • LeadSource is not an independent entity, but a child of Customer, Subscription, Invoice, or Payment.

Fixed

  • Fixed bankName attribute in BankAccount.

[2.0.4] 2016-08-12

Added

  • Added userId attribute to Session.

Fixed

  • Fixed bankName attribute in BankAccount.

[2.0.3] 2016-07-29

Added

  • Enabled Disputes API.
  • Enabled Webhook Tracking API.
  • Enabled Subscription Tracking API.
  • Enabled API Tracking.
  • Use vendor headers without additional prefixes.

Changed

  • Updated Payment Tokens API, added paymentInstrument.
  • Updated Gateway Accounts API, added method.
  • Updated Payment Cards API, added bin.
  • Updated Payments API, added missing supported methods.

Deprecated

  • Since Payment Tokens resource was extended with paymentInstrument, all fields related to payment card are deprecated.
  • The paymentMethods was renamed to paymentCardSchemes, all methods related to old name are deprecated.

Fixed

  • Fixed Gateway payment schemes.

[2.0.2] 2016-04-28

Added

  • Added User-Agent to all requests.
  • Added paypal service and default payment method.
  • Enabled Checkout Pages API.
  • Added API keys management.
  • Added autopay (boolean) attribute to Subscription entity.
  • Enabled User management API and Authentication API.
  • Added ability to authentication client with JWT.
  • Enabled Sessions API.
  • Added support of Rate limiting.
  • Handle responses with PDF content.
  • Enabled Gateway Accounts API.
  • Enabled Custom Fields API.
  • Updated Payments API, added cancel method.

Changed

  • Update some resource fields.
  • Updated Payments API, added status and result fields, deprecated state field.

[2.0.1-rc] 2015-09-15

Added

  • Added support of pagination.
  • Enabled Layouts API.
  • Enabled Organizations API.
  • Added RebillySignature helper.
  • Added fingerprint as blacklist type.
  • Enabled custom logger injection.
  • Updated Customer Authentication API, added delete method to reset token.
  • Updated Subscriptions API, added createdTime and updatedTime fields.
  • Updated Payment Cards API, added creating card from token.
  • Updated Transactions API, added result field.
  • Updated Payment Cards API, added cvv field.
  • Updated Tokens API, added create and expire method.
  • Updated Plans API, added delete method.

Fixed

  • Updated Payments API, fixed field names.
  • Fixed resource factory, use decoded URL.
  • Fixed response body read.
  • Fixed parsing response w/o content.

[2.0.1-beta] 2015-09-15

Multiple fixes and enhancements.

[2.0.1-alpha] 2015-09-15

Initial release.