Skip to content

Releases: ArcanePlugins/Treasury

2.0.1

14 Jul 14:23
Compare
Choose a tag to compare

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

02 Jul 10:06
Compare
Choose a tag to compare

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

31 Oct 08:58
Compare
Choose a tag to compare

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

30 Mar 07:34
Compare
Choose a tag to compare

Additionally, thank you to @MrNemo64 for the code review!

Click here to view the code diff.

1.1.0-937ec97-RELEASE

17 Feb 00:21
a42b9d4
Compare
Choose a tag to compare

The changelog is available here.