Suppose I want to periodically query whether my local cache of DotA 2 constants corresponds to the latest DotA 2 version (7.32c). As right now, I have to do this using patchnotes.json, which loads ~800 kb of information I don't really need. But if I were to make this query on a very lightweight patch.json (< 10kb), I would only get information on the latest major DotA 2 patch (7.32).
Would it be possible to add subpatches to patch.json? This would make cache pruning a lot more efficient for some of my scripts.
Rather than change the format I would support creating a separate file for this. And ideally it would be automated, as it may be a lot of manual effort otherwise to keep up to date
Suppose I want to periodically query whether my local cache of DotA 2 constants corresponds to the latest DotA 2 version (7.32c). As right now, I have to do this using patchnotes.json, which loads ~800 kb of information I don't really need. But if I were to make this query on a very lightweight patch.json (< 10kb), I would only get information on the latest major DotA 2 patch (7.32).
Would it be possible to add subpatches to patch.json? This would make cache pruning a lot more efficient for some of my scripts.