ruckus / quickbooks-ruby

Quickbooks Online REST API V3 - Ruby
MIT License
374 stars 302 forks source link

Global minorversion #518

Open ruckus opened 4 years ago

drewish commented 4 years ago

Do we have to worry about setting the global version introducing breaking changes? Like if I'm upgrading do I want to lock this at a lower version?

ruckus commented 4 years ago

@drewish

Do we have to worry about setting the global version introducing breaking changes? Like if I'm upgrading do I want to lock this at a lower version?

Good question, I wondered about that too. From what I can tell QBO uses minorversions on data reads, potentially returning more info than before. I have yet to see if alter the format / payload depending on a version change. In other words, bumping the minorversion tells QBO to return additional data than before (e.g. Customer#customer_type_ref). I dont think its used on writes.

Thus, I think it should be safe to use and not introduce backwards incompatibilities?

drewish commented 4 years ago

That makes sense. It kind of an interesting versioning strategy if only adds additions. Typically versions are used to introduce breaking changes... so glad they haven't had to do that I guess?