Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Modern, multi-platform library facilitating integrations with economies and more
2.0.0
lokka30 released Treasury version 2.0.0 on July 2, 2023
2.0.0-36460a4-RELEASE
Treasury v2.0.0 Changelog
Note: Need to download a Minestom or Sponge plugin file? Download here.
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
Information
Published on | July 2, 2023 |
---|---|
Downloads | 8 |
Platforms
Paper (1.8-1.20.1)
Waterfall (1.11-1.20)
Velocity (3.2)