Skip to content

Releases: Agadar/NationStates-API-Java-Wrapper

NationStates-API-Java-Wrapper-7.0.0

16 Aug 20:38
Compare
Choose a tag to compare

Requirements and dependencies

  • Consumes version 11 of the NationStates API;
  • Requires Java 14 to be installed.

Changelog

  • Upped Java version from 11 to 14 to solve the SSL handshake error;
  • Upped NationStates API version from 9 to 11;
  • Upped all dependencies;
  • Added 'dispatches' query parameter for region queries;
  • The user agent can now only be set once;
  • Various minor improvements and refactors.

NationStates-API-Java-Wrapper-6.0.0

20 Nov 23:07
Compare
Choose a tag to compare

Requirements and dependencies

  • Consumes version 9 of the NationStates API;
  • Requires Java 11 to be installed.

Changelog

  • Made the library-specific exceptions checked, as these are expected to sometimes be thrown and thus consumers of this library should consciously catch them;
  • Added proper info logging and improved existing error logging;
  • Several renames and minor refactorings;
  • Removed unnecessary dependencies and files, some which caused trouble during building.

NationStates-API-Java-Wrapper-5.1.0

30 Oct 23:39
Compare
Choose a tag to compare

Requirements and dependencies

  • Consumes version 9 of the NationStates API;
  • Requires Java 11 to be installed.

Changelog

  • Replaced java.util logging with slf4j facade calls;
  • Added error logs to all catch blocks;
  • Fixed bug with EjectedHappeningSpecializer (#33);
  • Fixed bug with DispatchHappeningSpecializer (#34);
  • Upgraded lombok version.

NationStates-API-Java-Wrapper-5.0.0

22 Dec 14:14
Compare
Choose a tag to compare

Requirements and dependencies

  • Consumes version 9 of the NationStates API;
  • Requires Java 11 to be installed.

Changelog

  • Updated Java version from Java 8 to Java 11;
  • Updated dependencies and added Lombok;
  • Introduced Optionals as return values where previously nulls could be returned;
  • Introduced a lot of default values in the domain classes to avoid nullpointers;
  • Made public fields in the domain classes private, and added getters and setters for them;
  • Sprinkled Lombok's NonNull annotation throughout the code to guard against nulls;
  • Removed the 'I'-prefixes from interfaces;
  • Abstracted collection types to make the library more resilient against implementation changes;
  • Various minor code changes, formatting, and documentation changes.

NationStates-API-Java-Wrapper-4.0.3

12 Mar 21:22
Compare
Choose a tag to compare

Version 4.0.3 of this library, for version 9 of the NationStates API.

Changelog


  • Fixed a bug that caused parsing the XML of the memberlog of the World Assembly to fail.

NationStates-API-Java-Wrapper-4.0.2

11 Mar 17:26
Compare
Choose a tag to compare

Version 4.0.2 of this library, for version 9 of the NationStates API.

Changelog


  • Fixed a bug in the regions dump file parser that caused many nation names to be ignored, and implemented measures to avoid similar potential problems in the regions dump file parser as well as the nations dump file parser.

NationStates-API-Java-Wrapper-4.0.1

04 Mar 20:49
Compare
Choose a tag to compare

Version 4.0.1 of this library, for version 9 of the NationStates API.

Changelog


  • Removed final keyword from various classes, as it made mocking them for testing difficult while adding nothing of value.

NationStates-API-Java-Wrapper-4.0.0

04 Mar 15:50
23e684b
Compare
Choose a tag to compare

Version 4.0.0 of this library, for version 9 of the NationStates API.

Changelog


  • Improved dump file performance (#30);
  • Created specializers for some of the Happening subtypes, which also serve as an example for potentially more subtype specializers in the future (#28);
  • Implement equals(), hashCode(), and compareTo(...) for domain classes where applicable and changed Lists to Sets where applicable (#27);
  • Added several new fields and types available from the API;
  • Removed the fairly useless 'dry run' option from the TelegramQuery.

NationStates-API-Java-Wrapper-3.0.0

26 Dec 01:26
661603b
Compare
Choose a tag to compare

Version 3.0.0 of this library, for version 9 of the NationStates API.

Changelog


  • Done a lot of refactoring, which mostly makes testing and mocking the library a lot easier
  • Added a few simple tests, setting an example for adding more in the future

NationStates-API-Java-Wrapper-2.0.0

04 Feb 16:41
Compare
Choose a tag to compare

Version 2.0.0 of this library, for version 9 of the NationStates API.

Changelog


  • Done loads of class/enum/field/method name changes to adhere more closely to Oracle coding conventions;
  • Done loads of package name changes and package/class restructuring;
  • Added support for some new shards, fields, and options provided by the API;
  • Changed several string fields to enumerator fields, as their values are always within the same range;
  • Done some more minor enhancements, additions, and general improvements;
  • Fixed several bugs, probably introduced a few new ones in the process;
  • Removed deprecated functions.