{"id":503,"date":"2017-12-27T12:20:52","date_gmt":"2017-12-27T18:20:52","guid":{"rendered":"https:\/\/easydigitaldownloads.com\/development\/?p=503"},"modified":"2021-12-15T15:30:56","modified_gmt":"2021-12-15T21:30:56","slug":"3-0-dev-plans","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2017\/12\/27\/3-0-dev-plans\/","title":{"rendered":"Development Plans for Easy Digital Downloads 3.0"},"content":{"rendered":"<p>Easy Digital Downloads 3.0 is expected to be released sometime in the first or second quarter of 2018 and with it we are shipping a significant number of changes. To help developers and users alike prepare for the 3.0 release, we&#8217;ll be communicating these changes through this blog consistently over the next few months.<\/p>\n<p>The 3.0 release will have two primary focuses:<\/p>\n<ol>\n<li>A complete migration of data from the WordPress default tables into custom database tables that offer significant performance and flexibility improvements.<\/li>\n<li>A complete rebuild of the reporting tools offered in order to provide store owners accurate and actionable reports of their store&#8217;s eCommerce activity.<\/li>\n<\/ol>\n<p><!--more--><\/p>\n<p>We have chosen to skip the 2.9 version and jump straight to 3.0 as this is going to be a significant release with a huge number of underlying changes that pose the possibility of breaking backwards compatibility. Our goal is to always maintain 100% backwards compatibility but it is possible that we&#8217;ll need to strategically break backwards compatibility in some places for Easy Digital Downloads 3.0. As we work through the 3.0 release we&#8217;ll work to heavily document any and all break points that we are aware of.<\/p>\n<h3>Migration to custom database tables<\/h3>\n<p>Since the very beginning Easy Digital Downloads, like the majority of other early plugins in WordPress, has relied on the standard WordPress posts and postmeta tables for the bulk of its data storage. At the time this was seen as the &#8220;right&#8221; way to build large plugins for WordPress. Time has proven, however, that this &#8220;standard&#8221; was poorly conceived and carried a number of significant disadvantages to a properly designed database schema. We have worked for the last few years to get past this early, short-sighted decision by implementing a proper database schema for Easy Digital Downloads and migrating all data carefully and safely from the old structure. This has, however, been a slow process. Moving massive amounts of mission critical data is a task that must be done with the utmost care.<\/p>\n<p>Our original plan was to roll out a series of migrations over the course of a year or more. We have now chosen to finalize all of the migrations in a single release. Doing this will permit us to resolve long-standing issues with the reporting capabilities of EDD while simultaneously providing a huge performance improvement to stores, especially large stores.<\/p>\n<p>The data that has already been migrated to EDD-specific database tables:<\/p>\n<ul>\n<li>Subscription records from the Recurring Payments extension<\/li>\n<li>Commission records from the Commissions extension<\/li>\n<li>Customer records<\/li>\n<\/ul>\n<p>The data to be migrated in the 3.0 release:<\/p>\n<ul>\n<li>Payment records<\/li>\n<li>Payment notes<\/li>\n<li>Product sale logs<\/li>\n<li>API request logs<\/li>\n<li>File download logs<\/li>\n<li>Gateway error logs<\/li>\n<li>Discount codes<\/li>\n<\/ul>\n<p>Prior to the 3.0 release, an update for the Software Licensing extension that migrates license keys to a custom database table will also be released. This is nearly complete.<\/p>\n<h3>Reporting tools<\/h3>\n<p>A long-time complaint with Easy Digital Downloads has been its poor reporting suite. The reports in EDD have always had two primary issues for store owners:<\/p>\n<ul>\n<li>They are oftentimes inaccurate<\/li>\n<li>They do not provide nearly enough information to allow store owners to make actionable decisions<\/li>\n<\/ul>\n<p>By completing the migration to a proper database schema in a single release we will also be able to significantly improve the reporting options in Easy Digital Downloads.<\/p>\n<p>The exact reporting options to be introduced are not yet fully decided but they will be determined as we progress through the development cycle.<\/p>\n<p>Another problem the reports in EDD have always been afflicted by is poor developer APIs for creating reports. 3.0 will resolve this by introducing a complete reporting API that provides methods for developers to easily extend and enhance reports.<\/p>\n<h3>3.0 time frame<\/h3>\n<p>We hope to have 3.0 completed within the next few months but there is not currently a due date assigned to the release. As 3.0 includes the migration of large amounts of store-critical data, we&#8217;re being extra cautious and will only release 3.0 when we are 100% confident in it. There will be numerous beta versions released in order to get as much real-world testing as possible.<\/p>\n<h3>Follow the 3.0 development<\/h3>\n<p>If you wish to follow or contribute to the development of 3.0, you can find the <a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues?q=is%3Aopen+is%3Aissue+milestone%3A3.0\">GitHub milestone here<\/a>.<\/p>\n<p>Here is a list of the primary issues for 3.0:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues\/4576\">#4576<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues\/5277\">#5277<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues\/6238\">#6238<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues\/3841\">#3841<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues\/6236\">#6236<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/easydigitaldownloads\/easy-digital-downloads\/issues\/6237\">#6237<\/a><\/li>\n<\/ul>\n<p>Contributions, feedback, and testing are welcomed and encouraged!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Easy Digital Downloads 3.0 is expected to be released sometime in the first or second quarter of 2018 and with it we are shipping a significant number of changes. To help developers and users alike prepare for the 3.0 release, we&#8217;ll be communicating these changes through this blog consistently over the next few months.<\/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":[4],"tags":[17],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-core","tag-3dd"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/503","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=503"}],"version-history":[{"count":8,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":514,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/503\/revisions\/514"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}