Skip to content

Releases: mapcode-foundation/mapcode-java

1.50.0

22 May 14:07

Choose a tag to compare

  • Major release. This version is not backwards compatible with mapcode 1.4x: is has dropped support for
    Antartica AT0-8 codes and has a changed (improved) way of dealing with the Greek alphabet.
  • Added 22-chararcter post-processing of all-digit mapcodes for the Greek alphabet.
  • Retired legacy aliases EAZ and SKM, AU-QL, AU-TS, AU-NI and AU-JB.
  • Retired legacy Antarctica claims AT0 through AT8.
  • Added convencience methods for <<>> to accept <<>> for all encode functions
    as well (not just <<>>, <<>>).
  • Added alphabet support to convert mapcodes (both codes and territories) between <<>>s.
  • Exceptions have been corrected and documented in code.
  • Allowed nullable values in <<>> encode and decode methods to assume reasonable defaults.
  • Microdegrees are no longer support publicly in <<>>. Only degrees.
  • Latitudes are limited to -90..90 and longitudes are wrapped to -180..180 (non inclusive).

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.