master Changelog 1.0-pre ======= - 0.0-pre-56 Log Utils 0.4 - Migrate from static to instance loggers (#15) - 0.0-pre-55 Download Utils 0.4 - Remove Dependency on Log Utils (#16) - 0.0-pre-54 Hash Utils - Remove dependency on Log Utils This is not a breaking change, so no need for a version bump. - 0.0-pre-53 Initial commit for OS Utils (#14) - 0.0-pre-52 Update buildscript - Gradle 9.1.0 - GradleUtils 3.3.18 - Use subprojects instead of source sets for multi-versioned projects - 0.0-pre-51 Reduce indirection for common logging methods (#9) - 0.0-pre-50 Support downloading bytes to memory, closes #7 (#11) - 0.0-pre-49 Add isLoaded() and isSaved() to HashStore A use case of `isSaved()` could be to throw an exception of the hash store is expected to be saved after usage when it isn't. - 0.0-pre-48 Rework rules strategy for version.json libs Still a work in progress, needs proper testing with older versions (1.16.5-). - 0.0-pre-47 Fix incorrect path slash characters in created zip files Windows moment - 0.0-pre-46 Prioritize long over double when reading JSON - 0.0-pre-45 On download failure, re-throw with URL info - 0.0-pre-44 Add JavaVersion to MinecraftVersion json - 0.0-pre-43 Fix captured logs printing with extra indent - 0.0-pre-42 Cleanup all buildscripts - Change logging strategy to delegate to a consumer - Add log capturing to suspend the printing of log messages - Gradle 8.14 - DownloadUtils multi-release jar, HttpClient for J11+ - Remove FileUtils dependencies on srgutils and commons-io - Optimizations and cleanup for Logging Utils - 0.0-pre-41 HashStore#addKnown for known hashes of keys - 0.0-pre-40 Fix issues with restoring to saved indents - 0.0-pre-39 Allow logging empty messages (like println()) - 0.0-pre-38 oops, wrong return type :P - 0.0-pre-37 Skip adding non-existent files to HashStore - 0.0-pre-36 Dedicated methods for attempted downloads - 0.0-pre-35 OS is now never nullable, will always at least return UNKNOWN - 0.0-pre-34 Make FileUtils.mergeJars accept BiPredicate - 0.0-pre-33 Have other util projects use logging util - 0.0-pre-32 Allow saving and setting log indentation - 0.0-pre-31 Java 5 classes for Logging Utils - 0.0-pre-30 OS.byName to search for an OS without just the key - 0.0-pre-29 Revert "Add TypeToken so consumers don't need to depend on GSON" This reverts commit 2b2c297b706920914272a9629b97b18bd330b88c. - 0.0-pre-28 Add TypeToken so consumers don't need to depend on GSON - 0.0-pre-27 JsonData.fromJson with TypeToken parameter - 0.0-pre-26 Make JsonData.fromJson public (for now) - 0.0-pre-25 Fixup entries in JsonData - 0.0-pre-24 makeZip for file utils - 0.0-pre-23 Fix incorrect method usage in download-utils - 0.0-pre-22 Trigger download-utils due to bin changes in log-utils - 0.0-pre-21 Handle indentations within the delegate print stream - 0.0-pre-20 Documentation for Log class - 0.0-pre-19 Make log-utils compilable with JDK 5 - 0.0-pre-18 Completely redesign Logging Utils - A single, static logger wrapped around `System.out` and `System.err`. - The ability to add indentations using `#push` and `#pop`. - A simple level system using `Log.Level`. - Delegate to a `PrintStream` object (for things like `Throwable#printStackTrace`) using `#getLog` or similar. - If a level is not being logged (i.e. lower than `Log.enabled`), an empty print stream is returned that will ignore all method calls. - Each level's `PrintStream` also exists as a public static final field, such as `Log.WARN`. - Java 6. - No config files, no managers, no bullshit. - 0.0-pre-17 Fix compile issues + missing licenses - 0.0-pre-16 Combine existing data from MCMaven and SL - 0.0-pre-15 Silently attempt precise linux OS - 0.0-pre-14 Download Utils! Because SL and MCMaven both need it - 0.0-pre-13 Allow logger to accept print stream consumers (for throwables) - 0.0-pre-12 Add 'quiet' log level for conditionally verbose programs - 0.0-pre-11 Fix missing secrets in GitHub Actions build - 0.0-pre-10 Keep task system MCMaven-exclusive - 0.0-pre-9 Fix incorrect automatic module names - 0.0-pre-8 Fix never publishing the utils in the first place 0/ - 0.0-pre-7 JSON Data Utils targets Java 8 (for SlimeLauncher) - 0.0-pre-6 Update licenses for log-utils - 0.0-pre-5 Global logger that wraps a consumer for common logging The default global logger is effectively just System.out/err wrapped. This logger uses the same implementation that was made in MinecraftMaven, with indentations and some standard levels. The wrap is in case other projects want to use something other than sysout, like a Gradle project or task's own logger. Also, Logging Utils now targets Java 8 so that it can be used in Java Version if necessary. There's not a lot of code in this though so who cares. - 0.0-pre-4 Disable Gradle's config cache for now Lex needs to be able to work on these since these are a part of MCMaven and toolchain. - 0.0-pre-3 Update GradleUtils to 2.4.6 This update contains the Git Version bump that accounts for weird tagged commits - 0.0-pre-2 Promote artifacts on publish This commit will also test to make sure that no workflows run from editing the workflow files. - 0.0-pre-1 Initial commit