This repository has been archived by the owner on Nov 27, 2020. It is now read-only.
Releases: d1vshar/pw4j
Releases · d1vshar/pw4j
1.4.0 Pre-release
This update lays the foundation for full-fledged Scraping support in coming versions. Exceptions are not wrapped in PoliticsAndWarAPIException
anymore which should improve exception handling while using the wrapper.
- Added
AllianceWithdrawBankClient
which can be used to add IOException
s are thrown from all requests now that need to be handled by your program.
1.3.0 Release
Update for API changes introduced by Alex: https://forum.politicsandwar.com/index.php?/topic/25076-3152019-api-usage-limitations/
Not providing API key will now result in a PoliticsAndWarException
for any query.
1.2.8 Release
- Fixed HTTP Status Code handling
- Fixed a NullPointerException in Wars, Nations and Trade history API :-(
1.2.7 Release
- Fixed NationMilitary score data type
- Fixed a malicious access vulnerability
- Fixed charset warning for better cross-platform usage
1.2.6 Release
Release v1.2.6
- Added filter changes to the Nations API
- Added structure change to the Nation-Military API
- Added toString(),hashCode(),equals() to all domains
1.2.5 Release
Nation-Military and All-Cities API added.
1.2.3 Release
Bug fixes
1.2.1 Release
Changelist:
- Wars API and Tradehistory API have been changed to include methods for specific conditions.
- Deprecated Logging for the time being. Will be fixed within next few versions.
1.2.0 Release
Changelist:
- Added Cache Implementation
Default Values:
PoliticsAndWarBuilder#setEnableCache(boolean enableCache, int cacheSize, long cacheRetainTime);
cacheSize
: 50
cacheRetainTime
: 60000 - Refactored a lot of package name in preparation for Maven Central upload.
1.1.0 Release
Changelist:
- Added Tradehistory API
- Made PoliticsAndWar class package-private. Use
PoliticsAndWarBuilder
instead. - Add Test Server implementation. Use
PoliticsAndWarBuilder#setTestServerMode(true)
when building the wrapper object. - War API now supports the fetching of a certain amount of wars from alliance ids with
PoliticsAndWar#getWars(int amount, Integer... alliance_Ids)
- Fixed URL Connectivity issues to API