Releases: srnyx/java-utilities
Releases · srnyx/java-utilities
3.0.0: New repository & more
⚠️ NEW REPOSITORY ⚠️
Due to Jitpack being absolutely terrible, I've decided to self-host a repository for all my projects!
New repository link: https://repo.srnyx.com/releases/
Snapshots: https://repo.srnyx.com/snapshots/
I think you can technically still use Jitpack, but I'll no longer official support it :)
Changes
Full Changelog: 2.0.0...3.0.0
New classes!
MapGenerator
HttpUtility
- Add configurable connection object for HttpUtility
- Add HttpUtility#DEBUG
- Remove HttpUtility#patchJson(...)
- Make data nullable in HttpUtility
- Catch any exception with debug
- Make HttpUtility methods return new Response object
- Improve HttpUtility
Stringable
SemanticVersion
Mapper
- Add Mapper#toUUID(Object)
- Specify exceptions for Mapper
- Add Mapper#toEnum(String, Class)
- Add JSON mappers to Mapper
- Add more Mappers
toFloat(Object)toShort(Object)toByte(Object)toBigInteger(Object)toBigDecimal(Object)
FileUtility
- Add FileUtility#getResourceContent(String)
- Add FileUtility copy methods
#copyResourceFolder(String, Path)- `#walkAndCopy(Path, Path)
- Add FileUtility#getResourceFiles(String)
MiscUtility
- Add MiscUtility fields
RANDOMAVAILABLE_PROCESSORSCPU_SCHEDULERIO_SCHEDULER
- Add MiscUtility#JSON_PARSER
2.0.0: Revamp map utility & more
- Fix some literals in DurationFormatter
- It wasn't detecting 's' as a literal in something like "HH'h 'mm'm 'ss's'", but all other literals worked for some reason, this fixes that
- I also improved the general code of the formatter to just be a bit nicer lmao
- Use Optionals
- Add
MiscUtility#handleException(supplier, throwables) - Add
StringUtility#formatNumber(Number) - Update Gradle
- 8.7 -> 8.10.2
MapUtility->MapGeneratorwith new system- Update Gradle plugins
- Gradle Galaxy: 1.2.3 -> 1.3.2
- Shadow: 8.3.0 -> 8.3.3
- Bump version (1.1.0 -> 2.0.0)
Full Changelog: 1.1.0...2.0.0