Fixed a bunch of small, annoying things that happened when releasing the previous version.
Alongside that:
- Implemented a better way (maybe?) of controlling the Information Density parameter with two new methods:
withInformationDensity()
: Manually sets the information density to be used for this QRCode. It also setsforceInformationDensity()
totrue
! Default value unchanged: 6. If the data being encoded is too large for the density chosen, anIllegalArgumentException
will be thrown.forceInformationDensity()
: Controls whether the library will compute the information density or not. Default isfalse
.
⚠️ If this is set tofalse
, the library will behave as in previous versions: it'll use theinformationDensity
as the minimum acceptable value, but will compute and adjust the actual information density.
- Added a Spring Boot example