Changelog

View Source

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.1.0] - 2025-06-24

Added

  • Initial release
  • Gridsquare.encode/2 and Gridsquare.encode/3 functions for encoding latitude/longitude to Maidenhead grid references
  • Gridsquare.decode/1 function for decoding grid references to coordinates
  • Gridsquare.new/1 function for creating GridSquare structs
  • Support for extended precision (6-20 characters)
  • Comprehensive documentation and examples
  • Test coverage for all functions

Features

  • Maidenhead Locator System grid square encoding/decoding
  • Variable precision support (6-20 character grid references)
  • Coordinate normalization and bounds checking
  • Base 18, 10, and 24 conversion utilities
  • Extended precision calculation with alternating base pairs