Skip to content

Releases: mapcode-foundation/mapcode-java

1.42.2

14 May 21:54

Choose a tag to compare

Fixed uppercase/lowercase issue with mapcodes. Always converted to uppercase now.

v1.42

05 May 15:14

Choose a tag to compare

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

05 May 15:13

Choose a tag to compare

Added convenience method to Mapcode.

1.41

03 Feb 16:48

Choose a tag to compare

Added the India state Telangana (IN-TG), until 2014 a region in Adhra Pradesh.

Updated POM dependencies to latest library versions of standard components.

1.40.2

09 Oct 15:53

Choose a tag to compare

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

08 Oct 17:11

Choose a tag to compare

Deprecated names getMapcodeHighPrecision and getMapcodeMediumPrecision.
Replaced those with getMapcodePrecision1 and getMapcodePrecision2.

Fixed all occurences of incorrectly cased Mapcode vs. mapcode.

1.40

08 Oct 14:30

Choose a tag to compare

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

19 Sep 16:11

Choose a tag to compare

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.