View Source Changelog
v3-0
v3.0
hard-deprecations
Hard Deprecations
Plaid.get_cred/0- Soft deprecated since2.0Plaid.get_key/0- Soft deprecated since2.0Plaid.make_request/5- Soft deprecated since2.0Plaid.make_request_with_cred/6- Replaced byPlaid.send_request/2Plaid.Utils- Removed and moved unmarshalling into calling modulePlaid.Item.create_processor_token/3- Replaced byPlaid.Item.create_processor_token/2Plaid.Telemetry- No longer called by default. Must be added toconfig
return-type-changes
Return Type Changes
Plaid.PaymentInitiation.Payments.create/2- ReturnsPlaid.PaymentInitiation.Payments.Payment.tinstead ofPlaid.PaymentInitiation.Payments.tPlaid.PaymentInitiation.Payments.list/2- ReturnsPlaid.PaymentInitiation.Payments.tinstead of[Plaid.PaymentInitiation.Payments.Payment.t]. Access the former'spaymentskey insteadPlaid.PaymentInitiation.Recipients.create/2- ReturnsPlaid.PaymentInitiation.Recipients.Recipient.tinstead ofPlaid.PaymentInitiation.Recipients.tPlaid.PaymentInitiation.Recipients.list/1- ReturnsPlaid.PaymentInitiation.Recipients.tinstead of[Plaid.PaymentInitiation.Recipients.Recipient.t]Access the former'srecipientskey instead
struct-changes
Struct Changes
Plaid.Auth- Fixed bug causing thenumberskey not to be set to typePlaid.Auth.NumbersPlaid.PaymentInitiation.Payments- Modified to removepayment_idand includepaymentsandnext_cursorto match library pattern for arrays returned by Plaid. Accesspayment_idinPlaid.PaymentInitiation.Payments.PaymentinsteadPlaid.PaymentInitiation.Payments.Payment.amount- Changed default value tonilfrom0Plaid.PaymentInitiation.Recipients- Modified to removerecipient_idand includerecipientsto match library pattern for arrays returned by Plaid. Accessrecipient_idinPlaid.PaymentInitiation.Recipients.RecipientinsteadPlaid.PaymentInitiation.Payments- Fixed bug causing theamountandschedulekeys not to be set to their respective struct typesPlaid.PaymentInitiation.Recipients- Fixed bug causing theaddresskey not to be set to typePlaid.PaymentInitiation.Recipients.Recipient.Address
type-changes
Type Changes
Plaid.Item- Removed typeservicewhich is now passed in theparamsargument toPlaid.Item.create_processor_token/2
configuration
Configuration
- Added
adapterto support Tesla - Added
middlewareto support Tesla httpoison_optionschanged tohttp_options
project-structure
Project Structure
- Moved HTTP request functionality to
Teslafor better testing and customization - Replaced all telemetry functionality with
Tesla.Middleware.Telemetry