Skip to content

Releases: sgraaf/gpx

0.2.1

09 Apr 20:14
Compare
Choose a tag to compare

0.2.1 (2023-04-09)

Fixed

  • Serialization of route and track numbers. #10
  • Mutable default values. #11

0.2.0

06 Apr 12:08
c31b2f9
Compare
Choose a tag to compare

0.2.0 (2023-04-06)

With this release, PyGPX is now fully 1 compatible with the GPX 1.1 specification.

Changes

  • Added the following new modules and classes:
    • gpx.bounds.Bounds
    • gpx.copyright.Copyright
    • gpx.element.Element
    • gpx.email.Email
    • gpx.link.Link
    • gpx.metadata.Metadata
    • gpx.mixins.AttributesMutableMappingMixin
    • gpx.mixins.PointsSequenceMixin
    • gpx.mixins.PointsMutableSequenceMixin
    • gpx.person.Person
    • gpx.track_segment.TrackSegment
    • gpx.types.Latitude
    • gpx.types.Longitude
    • gpx.types.Degrees
    • gpx.types.Fix
    • gpx.types.DGPSStation
  • All element classes now inherit from the new gpx.element.Element base class.
  • All element classes now make use of the new element / type classes (e.g. gpx.types.Latitude), according to the GPX 1.1 specification.
  • Added the gpx.errors.ParseError exception for when attempting to parse an XML element that does not exist.
  • All metadata attributes have been moved to the new gpx.metadata.Metadata class, but are still accessible via the gpx.gpx.GPX class via aliases for backwards compatibility and convenience.
  • Changed all duration attributes to datetime.timedelta objects (instead of floats).
  1. PyGPX is not compatible with extensions from other schemas (e.g. the Garmin GPX extensions), and ignores them.

0.1.1

31 Mar 22:04
266edbb
Compare
Choose a tag to compare

0.1.1 (2023-03-31)

This release introduces a completely overhauled codebase. For this, I used my cookiecutter-python-package Python package template. As such, this release comes with much higher code quality, documentation and automation.

The API itself has not changed (and as such, there is no minor version bump).

Changes

  • Completely refactored codebase, with:
    • Moved source code from ./gpx to ./src/gpx
    • Fully typed and documented
  • Added documentation via Read the Docs
  • Updated CI/CD via GitHub Actions
  • Added pre-commit hooks w/ CI-integration

v0.1.0

08 Jun 17:09
Compare
Choose a tag to compare

feat: initial release of PyGPX. Read, write and/or create GPX-files in Python.