Releases: sgraaf/gpx
Releases · sgraaf/gpx
0.2.1
0.2.0
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 thegpx.gpx.GPX
class via aliases for backwards compatibility and convenience. - Changed all
duration
attributes todatetime.timedelta
objects (instead offloat
s).
-
PyGPX is not compatible with extensions from other schemas (e.g. the Garmin GPX extensions), and ignores them. ↩
0.1.1
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
- Moved source code from
- Added documentation via Read the Docs
- Updated CI/CD via GitHub Actions
- Added pre-commit hooks w/ CI-integration