Releases: HypixelDev/PublicAPI
Releases · HypixelDev/PublicAPI
PublicAPI Java 4.4
What's Changed
- Updated all API calls to use the new v2 endpoints. For most use cases this won't change anything, but SkyBlock profile calls will now return data in their new structure. You can read more here about these changes.
- Update Minecraft Wiki links to new domain by @Spongecade in #615
Removed Methods
HypixelAPI#getKey
has been removed since it was disabled in August 2023.PlayerReply.Player#getLastKnownMinecraftVersion
has been removed since the field is no longer available in the API.
Full Changelog: 4.3...4.4
PublicAPI Java 4.3
What's Changed
- Remove friend API methods and example by @ConnorLinfoot in #599
- Changing the guildExp data type from integer to long by @hannibal002 in #553
- Reworked pets to deprecate enums & use pet endpoint by @roro1506HD in #557
- Implement a RateLimit object to contain the rate limit headers in replies by @ConnorLinfoot in #600
- Implement support for SkyBlock fire sales by @ConnorLinfoot in #601
- Updated dependencies:
gson
,unirest-java
,httpclient
,junit-jupiter
New Contributors
- @hannibal002 made their first contribution in #553
- @roro1506HD made their first contribution in #557
Full Changelog: 4.2.1...4.3
PublicAPI Java 4.2.1
What's Changed
- Added Wool Wars to GameType Enum by @JariRoossien in #546
- Improved GameType parsing so future additions of GameType won't make requests fail and will instead return null.
Full Changelog: 4.2...4.2.1
PublicAPI Java 4.2
What's Changed
- Refactor ResourceReply into the appropriate package by @Mqlvin in #516
- Update ResourceType to remove outdated and add new ones by @ConnorLinfoot in #518
- Implement test for ResourceType by @ConnorLinfoot in #519
- Added support for the bingo data endpoint by @ConnorLinfoot in #520
- Update Gson and Unirest dependencies by @ConnorLinfoot in #521
Full Changelog: 4.1...4.2
PublicAPI Java 4.1
PublicAPI Java 4.0
Note: This release does contain breaking changes due to changed packages, and the new HTTP client framework.
New in this release:
- The Core API can now have custom HTTP clients, or "transports" as they are referred to. #399
- There are three transports that can be chosen from which are included in 4.0, or you can create your own. The included transports are Apache HttpClient, Unirest, and Project Reactor #425
- A player-based object has been added when requesting player data, this allows easy access to common data and even some filter options. #260
- A Utility class has been added for GuildLeveling. #254
- Methods for accessing the SkyBlock profiles endpoint have been added. #297
The following methods have been removed/replaced:
HypixelAPI#getWatchdogStats
has been replaced withHypixelAPI#getPunishmentStats
.HypixelAPI#getGameCounts
has been replaced withHypixelAPI#getCounts
.HypixelAPI#getPlayerCount
has been removed, the same data is available inHypixelAPI#getCounts
.HypixelAPI#findGuildByPlayer
has been removed, the guild can be requested directly viaHypixelAPI#getGuildByPlayer
instead.HypixelAPI#findGuildByName
has been removed, the guild can be requested directly viaHypixelAPI#getGuildByName
instead.
Other changes worth noting:
- Now uses the API-Key header for authentication.
- ExampleUtil now supports a system property for easier testing.