tag:github.com,2008:https://github.com/moltenjson/MoltenJSON/releasesRelease notes from MoltenJSON2019-12-08T18:01:25Ztag:github.com,2008:Repository/142602527/2.5.2-SNAPSHOT2019-12-08T18:09:57ZFix paths in ConfigurationPack<p>Fixed path separators in <strong>ConfigurationPack</strong>.</p>Revxrsaltag:github.com,2008:Repository/142602527/2.5.1-SNAPSHOT2019-12-03T14:38:22ZConfigurationPack API + bug fixes<p><strong>Added</strong>:</p>
<ul>
<li><strong>ConfigurationPack</strong></li>
<li><strong>DeriveFrom</strong></li>
<li><strong>DirectConfiguration#save(Gson, Consumer)</strong></li>
</ul>Revxrsaltag:github.com,2008:Repository/142602527/2.5-SNAPSHOT2019-11-16T19:59:19ZBug fixes<ul>
<li>Fix SelectableConfiguration not entirely using the specified GSON</li>
<li>Method additions</li>
</ul>Revxrsaltag:github.com,2008:Repository/142602527/2.4.92019-08-15T09:11:20ZFull lazy handling support<p><strong>Added</strong>:</p>
<ul>
<li><strong>TreeConfigurationBuilder#setLazy(boolean)</strong></li>
<li><strong>TreeConfiguration#lazySave()</strong></li>
</ul>
<p><strong>Changed</strong>:</p>
<ul>
<li><strong>TreeConfiguration#save()</strong> - Throws IllegalStateException if configuration is lazy</li>
</ul>Revxrsaltag:github.com,2008:Repository/142602527/2.4.72019-08-09T12:29:46ZImplement lazy loading in TreeConfiguration, bug fixes<p><strong>Added</strong>:</p>
<ul>
<li><strong>TreeConfiguration#lazyLoad(N name, Type type)</strong>: Loads the required data when requested only</li>
</ul>
<p><strong>Changed</strong>:</p>
<ul>
<li><strong>TreeConfigurationBuilder#setRestrictedExtensions(ImmutableList)</strong> and <strong>TreeConfigurationBuilder#setExclusionPrefixes(ImmutableList)</strong> now require the list to contain at least 1 element, and otherwise throw an <strong>IllegalArgumentException</strong>.</li>
</ul>
<p><strong>Bug fixes</strong>:</p>
<ul>
<li>Fixed <strong>TreeFileFilter</strong> not allowing any file when restricted extensions was empty</li>
</ul>Revxrsaltag:github.com,2008:Repository/142602527/2.4.52019-07-25T20:51:56ZImplement Refresh API<p>Most of the MoltenJSON components allow use of #refresh(), which updates any cached content appropriately to how the component is implemented.</p>Revxrsaltag:github.com,2008:Repository/142602527/2.4.02019-07-11T11:10:01ZBug fixes, behind-the-scenes changes<p><strong>Changes</strong>:</p>
<ul>
<li>Prepare the project for MoltenJSON migration</li>
<li>Prepare the project for publishing to Maven Central</li>
<li>Convert the project to use org.jetbrains.annotations instead of manual Preconditions checks</li>
</ul>
<p><strong>Bug fixes</strong>:</p>
<ul>
<li>A performance goof in TreeConfiguration, mapping the values twice instead of once when created (would have no effect in the map structure, but increases the calls to it).</li>
</ul>
<p><strong>Additions</strong>:</p>
<ul>
<li>Added <strong>TreeConfiguration#getOrDefault(name, fallback)</strong>.</li>
<li>Invalid files will throw <strong>net.moltenjson.exceptions.InvalidFileException</strong> if ignoreInvalidFiles is set to false.</li>
</ul>Revxrsaltag:github.com,2008:Repository/142602527/2.3.02019-06-22T17:57:23ZTreeConfiguration implementation, bug fixes<p><strong>Added</strong>:</p>
<ul>
<li>Create <strong>TreeConfiguration</strong></li>
<li>Create <strong>TreeConfigurationBuilder</strong></li>
<li>Create <strong>TreeNamingStrategy</strong></li>
<li>Create <strong>TreeFileFilter</strong></li>
<li>Added <strong>DirectConfiguration#getAs(Type, Gson)</strong>. See documentations for details</li>
<li>Added <strong>DirectConfiguration#getAs(Type)</strong>. See documentations for details</li>
</ul>
<p><strong>Changed</strong>:</p>
<ul>
<li>Refactored <strong>DirectConfiguration</strong> package to be in <strong>...configuration.direct.DirectConfiguration</strong></li>
<li>All checks use <strong>com.google.common.base.Preconditions</strong> instead of <strong>java.util.Objects</strong> (consistency)</li>
<li>All sub-classes of <strong>Lockable</strong> now return their instance on <strong>#setFile()</strong></li>
</ul>
<p><strong>Bug fixes</strong>:</p>
<ul>
<li><strong>JsonWriter</strong>'s #setFile() method not updating content</li>
<li><strong>JsonWriter</strong>'s #setFile() method not updating file instance</li>
</ul>Revxrsaltag:github.com,2008:Repository/142602527/2.3.0-BETA2019-06-22T16:24:24Z2.3.0-BETA<p>Update library versioning</p>Revxrsaltag:github.com,2008:Repository/142602527/2.1.0-SNAPSHOT2019-06-07T21:00:42ZNew JsonResponse component, stability, performance, documents, null checks, bug fixes, and more convenience.<p><strong>New JsonResponse</strong>:<br>
This component is mainly for handling RESTful APIs JSON responses and extract any type of information from them easily, using simple and straightforward getters.</p>Revxrsal