Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Releases: d1vshar/pw4j

1.4.0 Pre-release

09 Apr 18:04
Compare
Choose a tag to compare
1.4.0 Pre-release Pre-release
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
  • IOExceptions are thrown from all requests now that need to be handled by your program.

1.3.0 Release

20 Mar 15:14
Compare
Choose a tag to compare

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

23 Feb 10:36
Compare
Choose a tag to compare
  • Fixed HTTP Status Code handling
  • Fixed a NullPointerException in Wars, Nations and Trade history API :-(

1.2.7 Release

28 Jan 07:21
Compare
Choose a tag to compare
  • Fixed NationMilitary score data type
  • Fixed a malicious access vulnerability
  • Fixed charset warning for better cross-platform usage

1.2.6 Release

27 Jan 18:11
Compare
Choose a tag to compare

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

06 Jan 19:52
Compare
Choose a tag to compare

Nation-Military and All-Cities API added.

1.2.3 Release

20 Nov 15:43
Compare
Choose a tag to compare

Bug fixes

1.2.1 Release

18 Nov 07:09
Compare
Choose a tag to compare

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

15 Nov 10:13
Compare
Choose a tag to compare

Changelist:

  • Added Cache Implementation
    PoliticsAndWarBuilder#setEnableCache(boolean enableCache, int cacheSize, long cacheRetainTime);
    Default Values:
    cacheSize: 50
    cacheRetainTime: 60000
  • Refactored a lot of package name in preparation for Maven Central upload.

1.1.0 Release

09 Nov 06:02
Compare
Choose a tag to compare

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