Releases: chartmogul/chartmogul-ruby
Releases · chartmogul/chartmogul-ruby
Bug fixes
Add support for delete all invoices endpoint
Adds a new method ChartMogul::Customer#delete_all_invoices!
which allows you to delete all invoices associated with a particular customer.
Updated faraday to v1.x
v1.6.3 Version 1.6.3
Make configuration threadsafe
- Make configuration threadsafe [ch23375] (#73)
Warning: if you use Sidekiq and set the credentials in initializer, make sure that before you update to this release, you instead set them in each individual worker at the beginning. Otherwise your workers will fail withChartMogul::ChartMogulError
. This change isolates different threads, so that you can safely import into multiple ChartMogul accounts in a multi-threaded environment like Sidekiq.
Update dependencies
- update
faraday
to latest before 1.0.0
Add support for subscription sets
- Add support for subscription sets [ch16168] (#64)
Support customer_external_id on invoices
v1.3.3 Version 1.3.3
Fix: String parsed as time
If you are passing partial date in a string and relying on the library to parse it, you'll need to first Time.parse
yourself. We now only support ISO & RFC format or a Time object, to avoid false positives.
Add #last method to Entries
- Add #last method to Entries (#60)
Cancellation dates method change for Subscriptions
Method #update_cancellation_dates added to allow users updating the cancellation dates on subscription. The previous one (#set_cancellation_dates) was not sending the update to Chartmogul API.