- Adds support for Opportunities (https://dev.chartmogul.com/reference/opportunities)
- Add support for customer's
website_url
attribute - Add support for customer's subscription
uuid
attribute
- Adds support for Customer Notes
- Add upgrade guide from v3.x to v4.x
- Remove support for old pagination using
page
parameter. - Drop support for Ruby versions below 2.7.
- Add support for cursor based pagination to
.all
endpoints. - Add
.next
pagination method for all supported cursor based endpoints. - Move
fixtures/
folder inside thespec/
folder. - Update
.merge!
methods to always returntrue
when successful. - Add new attributes to
ChartMogul::Customer
resource. - Do not error when the server returns an empty body from
.custom!
methods.
- Fix an issue with creating using
SubscriptionEvents.create!(attrs)
.
- Adds support for Faraday 2.7
- Removes support for Ruby 2.3, 2.4, and 2.5
- Adds support for Contacts (https://dev.chartmogul.com/reference/contacts)
- Adds percentage change support
- Add Subscription Events support
- Update ChartMogul::Configuration to use
api_key
instead ofaccount_token
&secret_key
combo for authentication - Send library version as part of
User-Agent
header
- Adds post install message informing about authentication changes *& deprecation warning.
- Adds ChartMogul::Metrics::ActivitiesExport class to support async activities export endpoint
- Moves customer scoped Metrics::Activities and Metrics::Subscriptions under Metrics::Customers namespace
- Adds unscoped activities API endpoint
- Fix bug preventing instantiating attributes on ChartMogul::Customers objects
- Adds amount_in_cents to payment for partial payments
- Adds account API endpoint
- Fix ChartMogul::Customers class
- Add support for subscription_external_id when listing Activities
- Allow adding Customer custom attributes in camel case
- Add support for plan groups API
- Add support for subscription sets
- Add #last method to Entries
- Method #update_cancellation_dates added to allow users to update the cancellation dates on subscription.
- Added connect subscriptions method
- Update Faraday dependency version
- Rertry requests on certain statuses and allow config
- Fix ChartMogul::ChartMogulError class
- Consolidated Customer, Enrichment/Customer now deprecated
- Fixed all() in Customer, now returns Customers with paging
- Add support for new plan and data source endpoints
- Remove deprecated Import namespace
- Add support for merging customers
- Add support for updating customers
- Add support for lead_created_at and free_trial_started_at fields to work with Leads and Trials charts
- Fix bug preventing cancellation of subscriptions [#22]
- Version bump after 0.1.0 pushed to RubyGems under incorrect account.
- Initial release with support for our Import, Enrichment and Metrics APIs.