Releases: mapcode-foundation/mapcode-java
1.42.2
v1.42
Fixed a bug in <<<MapcodeCodec.encodeToShortest>>> which would not always return the shortest code (see next bullet). Reproducible with <<<curl -X GET http://localhost:8080/mapcode/to/47.1243/-111.28564/local>>>.
Fixed a bug where <<<Encoder.encode>>> would sometime retrieve more than one result even if result set was limited to 1 result.
1.41.1
1.41
1.40.2
Added getMapcodeFormatType and isValidMapcodeFormat to check validity of mapcode strings. Added unit tests for these methods as well.
Constructor of Mapcode now checks for validity of Mapcode string.
Added Unicode handling of high precision mapcodes and added check to throw an IllegalArgumentException if the character 'Z' or equivalent Unicode character is contained in the high precision part according to the Mapcode documenation.
Added method convertToAscii which produces the ASCII, non-Unicode variant of a mapcode which contains Unicode characters.
1.40.1
1.40
Renamed class Mapcode to MapcodeCodec.
Renamed class MapcodeInfo to Mapcode.
Added high precision Mapcodes, with methodsgetMapcodeMedium/HighPrecision.
Seriously reduced test set size.
Replaced Unicode characters in source code to escapes.
Added explicit character encoding to pom.xml.
Fixed issues with decoder at some boundaries.
1.33
Added release notes.
Removed GSON dependency from production (now scope 'test' only).
Added robustness with respect to Unicode characters.
First release of Java library for MapCodes. Includes extensive test suite.