Skip to content

v0.2.0

Compare
Choose a tag to compare
@Guria Guria released this 02 Oct 08:06
· 4 commits to main since this release

First version that does makes sense

Major Features

  1. JSON Encoding: The encode_geojson function now returns a proper json.Json type instead of dynamic.Dynamic, allowing for easy stringification with json.to_string.
  2. Flexible Property Handling: Added support for encoding and decoding arbitrary Feature properties, providing greater flexibility when working with custom GeoJSON structures.
  3. Improved Type Safety: Introduced more type-safe representations of GeoJSON structures, including a dedicated FeatureId type.
  4. Simplified Public API: The main encode and decode functions now cover all possible input types, streamlining the API.

Other Improvements

  1. Documentation: Significantly improved documentation, including more comprehensive docstrings and examples.
  2. Testing: Added more thorough test cases, including tests for real-life GeoJSON examples.

Full Changelog: v0.1.0...v0.2.0