Releases: ArcanePlugins/Treasury
2.0.1
Thank you to HSGamer for contributing this update (#285). Additionally, thank you to montlikadani and 4drian3d for contributing to #277. Last and certainly not least, thank you to MrIvanPlays for writing most of this update's changes.
This update adds support for MiniPlaceholders, adds the EconomyProvider#findCurrencyByDisplayName
API method, fixes some bugs and makes other minor improvements.
Full changelog:
- Added MiniPlaceholders support (MrIvanPlays, montlikadani, 4drian3d)
- Added
EconomyProvider#findCurrencyByDisplayName
API method (MrIvanPlays) - Miscellaneous platform detection fixes and improvements (MrIvanPlays, HSGamer)
- Strip colours out of logging (MrIvanPlays)
- General improvements to javadocs and code (MrIvanPlays, lokka30)
2.0.0
Treasury v2.0.0 Changelog
Contributors
Thank you very much to each and every contributor who volunteered their free time to get this update out to you all.
-
montlikadani
-
yannicklamprecht
-
MrNemo64
-
A248
-
and, of course, the maintainers: lokka30, MrIvanPlays, and Jikoo
General Changes
- Added Sponge platform compatibility
- Added Minestom platform compatibility
- Improved documentation
API Changes
- Removed the whole Subscription concurrency system and moved to Java's own CompletableFuture system.
- Removed Responses and replaced them with just Exceptions. For performance concerns we also have a TreasuryException which can be used to avoid needless stack traces.
- Treasury no longer cares about negative balances.
- Treasury's design has changed slghtly to no longer recommend pointless preconditions prior to the intended action being requested. For a specific example, Treasury's
canAfford
method has been removed since it is best to just attempt a withdrawal and check if it has failed. - Switched a handful of String-based identifier systems with NamespacedKeys to reduce inter-plugin name collisions.
- Full-scale API cleanup with many small improvements.
- Removed platform-specific APIs
1.2.1
Contributors
Thanks @A248, @MrIvanPlays, @Jikoo, and @Sliman4 for working on this update!
Thanks to @MrNemo64 and @yannicklamprecht for the code review!
Changelog:
- Fix handling of futures and exceptions in EconomyProvider (@A248)
- Use ExecutorService#execute to avoid swallowing exceptions (@A248)
- Make EventTypeTracker thread-safe + some code cleanup (@A248)
- Expanded Events API (@MrIvanPlays)
- Improve PAPI Economy Hook (@MrIvanPlays and @Jikoo)
- Fixed colored message sending in console in Paper (@MrIvanPlays)
- Persist expansion between PAPI reloads (@Sliman4)
- Fix NPE in BalanceCache and BalTop (@Sliman4)
- Updated maven dependencies
1.2.0
- Treasury now runs on BungeeCord and Velocity! (@MrIvanPlays)
- Treasury now has several PlaceholderAPI placeholders which you can use! (@MrIvanPlays, @Jikoo)
- Fix "outdated development version" false positive in the update checker (@MrIvanPlays)
- Added missing
@NotNull
annotation (@Esophose) - Internal dependency updates
Additionally, thank you to @MrNemo64 for the code review!
Click here to view the code diff.
1.1.0-937ec97-RELEASE
The changelog is available here.