Releases: mapcode-foundation/mapcode-java
1.50.0
- 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
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.