Releases: markozajc/Akiwrapper
Releases · markozajc/Akiwrapper
v1.5.2
Breaking changes
- The namespace has been moved from
com.markozajc.akiwrappertocom.github.markozajc.akiwrapperto unify it with the group and artifact IDs, Akiwrapper#answerCurrentQuestionhas been deprecated and renamed toAkiwrapper#answer,Akiwrapper#getCurrentQuestionhas been deprecated and renamed toAkiwrapper#getQuestion,Question#getGainhas been deprecated and renamed toQuestion#getInfogain.
Additions
- It is now possible to make Akiwrapper use a custom Unirest instance through
AkiwrapperBuilder#setUnirestInstance. By default,UnirestUtils.getInstanceis used, and it is now pointer multiple times in the javadocs that the singleton/custom provided instance need to be closed after they're no longer needed in order to prevent memory leakage.
Other changes
spotbugs-annotationsandjsr305are now optional dependencies - they will not be inherited when you depend on Maven, as they're not needed during runtime and making dependents inherit them by default makes little sense,- The example project has been cleaned up, and its pom.xml has been updated to allow it to compile properly.
Internal changes
- AkiwrapperMetadata and MutableAkiwrapperMetadata have been removed since it makes no sense to keep them around with changes to how AkiwrapperImpl is constructed. Their methods and constants have been moved into AkiwrapperBuilder,
- Internal methods that make HTTP requests now take UnirestInstance as a parameter, as it is no longer a static constant,
Route#getRequesthas been deprecated and renamed toRoute#createRequest,Route#getParametersQuantityhas been deprecated and renamed toRoute#getParameterCount,- JSONUtils now uses primitive Optional types rather than boxed ones.
v1.5.1.2
v1.5.1.1
v1.5.1
v1.5
v1.4.3.1
v1.4.3
- Fixed issues with Russian servers
- Annotated members with
@Nonnulland@Nullable - Added
Language.MALAY(although it seems to share questions with the English servers and is probably going to dedicated a database of questions of its own by the Akinator team) - Refreshed server mappings
- Drop Bintray JCenter out of the release chain - Akiwrapper is now deployed directly to Sonatype
- Minor internal code cleanup
v1.4.2
v1.4.1
v1.4
Version 1.4 is out!
- This version introduces a better and more way of handling Akinatror's server formation changes. It's currently kinda experimental, but it works and will provide a way faster way of dealing with "KO - SERVER DOWN"s.
- This version is now also being linted with SonarLint! (along with the good old SpotBugs, of course).
- Some other small tweaks and fixes
- One method deprecation