{"id":46,"date":"2015-12-31T18:48:59","date_gmt":"2015-12-31T18:48:59","guid":{"rendered":"https:\/\/easydigitaldownloads.com\/development\/?p=46"},"modified":"2021-12-15T15:32:27","modified_gmt":"2021-12-15T21:32:27","slug":"changes-to-get_version-api-response-in-software-licensing","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2015\/12\/31\/changes-to-get_version-api-response-in-software-licensing\/","title":{"rendered":"Changes to get_version API response in Software Licensing"},"content":{"rendered":"<p>Software Licensing version 3.4.4 was released a few minutes ago. This release is\u00a0a minor release that addresses a few small bugs but there is one important change in it that developers should be aware of.<\/p>\n<p>A few months ago, in version 3.4, we made a change to the <a href=\"https:\/\/docs.easydigitaldownloads.com\/article\/384-software-licensing-api\" target=\"_blank\" rel=\"noopener\">Software Licensing API<\/a>\u00a0that made it so a valid license key was not required in order to use the\u00a0<em>get_version\u00a0<\/em>request. This decision was made for two primary reasons:<\/p>\n<ol>\n<li>It dramatically improved performance of get_version requests<\/li>\n<li>It made sense to display update notifications to all customers, even if their license key was invalid<\/li>\n<\/ol>\n<p>We made that change with the goal of increasing the number of customers that see and install updates, while also increasing renewal rates for store owners. When customers see an update available, they are more likely to renew their license.<\/p>\n<p>There was a caveat with this change, however. A license key was still required; it just didn&#8217;t matter whether the license key was active, inactivate, expired, or any other status.<\/p>\n<p>In version 3.4.4, we have adjusted the\u00a0<em>get_version\u00a0<\/em>request to always return a response, regardless of\u00a0whether there is a license key supplied or not. The following will now return a complete response:<\/p>\n<pre>https:\/\/example.com\/?edd_action=get_version&amp;item_id=8<\/pre>\n<p>The\u00a0<em>package\u00a0<\/em>and\u00a0<em>download_link<\/em> keys, however, will be blank if a\u00a0license key is not supplied.<\/p>\n<p>This version also increments the version number on the\u00a0<em>EDD_SL_Plugin_Updater\u00a0<\/em>class to version 1.6.3. If you are using the\u00a0updater class in your own plugins, please update it to version 1.6.3. The latest version can be downloaded from the sample plugin on <a href=\"https:\/\/easydigitaldownloads.com\/your-account\" target=\"_blank\" rel=\"noopener\">your account page<\/a>.<\/p>\n<h3>Complete changelog:<\/h3>\n<p><strong>Version 3.4.4, December 31, 2015<\/strong><\/p>\n<ul>\n<li>Tweak: get_version no longer requires a license key<\/li>\n<li>Fix: View Version Details link\u00a0shows blank page<\/li>\n<li>Fix: Renewal discount can be incorrect for old variable priced items<\/li>\n<li>New: Added new\u00a0edd_sl_column_{column_name} action<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Software Licensing version 3.4.4 was released a few minutes ago. This release is a minor release that addresses a few small bugs but there is one important change in it that developers should be aware of.<\/p>\n","protected":false},"author":650,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[8],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-extensions","tag-software-licensing"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/users\/650"}],"replies":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":2,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":1127,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/46\/revisions\/1127"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}