diff --git a/HISTORY.md b/HISTORY.md index 196901ed..a044bced 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,8 @@ +## Unreleased (Unreleased) + +* Set minimum minor version to 75 per QB +* Add minor version section via the readme + ## 2.0.5 (2024-07-25) * Added BCC field to Bill Model. Integrated the PR manually. https://github.com/ruckus/quickbooks-ruby/pull/614 Thanks @hammad-Ikhlaq-7vals diff --git a/README.md b/README.md index 1b6255d2..21d8c506 100644 --- a/README.md +++ b/README.md @@ -777,6 +777,17 @@ Quickbooks.log = true Quickbooks.log_xml_pretty_print = false ``` +## Minorversion + +> [!NOTE] +> The default is `75` due to Quickbooks ignoring all prior versions starting 2025-08-01 ([source](https://blogs.intuit.com/2025/01/21/changes-to-our-accounting-api-that-may-impact-your-application/)). + +You can change the minor version that is used on a global scale (like in an initializer file): + +```ruby +Quickbooks.minorversion = 75 +``` + ## Debugging While logging is helpful the best debugging (in my opinion) is available by using a HTTP proxy such as [Charles Proxy](https://www.charlesproxy.com/). diff --git a/lib/quickbooks-ruby.rb b/lib/quickbooks-ruby.rb index 7187066b..09f409cf 100644 --- a/lib/quickbooks-ruby.rb +++ b/lib/quickbooks-ruby.rb @@ -191,7 +191,7 @@ module Quickbooks @@sandbox_mode = false @@logger = nil - @@minorversion = 47 + @@minorversion = 75 @@http_adapter = :net_http class << self