Releases: vincentneo/CoreGPX
Date formatting issue fixed
As reported in merlos/iOS-Open-GPX-Tracker issue #132, specific regions like Russia, may cause date creation in time attribute to not conform to ISO8601 standards.
This release fixes that, through forcing the DateFormatter
to use Locale en_US_POSIX
regardless of region.
Special thanks to @teran from reporting about this issue!
Revamp, Optimize, Extend.
This release is a more feature packed one...
So what can be expected?
- The GPX parser has been revamped. It should be more efficient, delivering marginal improvements.
- Full
Codable
support across all GPX schema elements - Optional error handling support
- Stable and optimised extensions
- Access control changes
- A
GPXFix
that makes sense - Fully documented
Special Thanks to @mrfeet for contributing towards the project's tests
Hope you will enjoy this release of CoreGPX! 🎉
Bug Removal
It's about time for Swift 5!
This update is a conversion to Swift 5 of the whole project.
As of conversion, there is zero code changes required, only project changes.
For those still using Swift 4.2, you may take a look at branch swift4.2. However, going forward, the Swift 4.2 branch will probably not be updated, and support will only be given for the latest swift version.
Some small changes...
This update includes the following:
- Fix bug where
GPXCopyright
year may not parse correctly - Added a playground example, for possibly easier understanding of the library
- Improvements to
GPXEmail
intended to simplify its use
That's about it! Thanks for your support!
Features Extended!
This update includes:
- Basic Extensions parsing and creation (finally!) (Still lacks support for extensions in GPXRoot)
- Merged date and year parsers to same class
- Removal of certain unused components in library
Full extensions support should be coming soon. Probably in 0.7.0!
Swift 5 support will be here very soon as well.
Bug Hunt
This release fixes the following:
GPXLink
's type attribute not parsing correctlyGPXBounds
&GPXCopyright
failure to generate correct open tag
All open tags are now generated through an extension function for NSMutableString
, which should fix all open tag issues, for all future releases.
Thanks to @INDAPP for spotting the issue!
Codable Support
Basic Codable
support have been implemented for some classes, including:
GPXExtensions
GPXLink
GPXRoute
GPXWaypoint
GPXTrack
GPXTrackSegment
GPXTrackPoint
GPXWaypoint
Serialization for the following types should now be made easy!
Parser updates
Minor update.
The parser will now parse the GPX file's version and creator as well.
Documentation Added!
This update contains the following:
- #26 Add support for swift package manager installation
- #29 Fully documented features in CoreGPX
- Deprecate certain methods
- Moved Date parsers out of
GPXWaypoint
for decluttering - Moved number converters out for decluttering
- New way of initialising
GPXLink
- New way of initialising
GPXEmail
, for a more user friendly approach - Privatised most of
GPXParser
's internally used objects