- Empty geofeeds will now be considered invalid, unless the (new) EmptyOK option
is passed to ProcessGeofeed (e.g. via the new
empty-ok
flag).
- Update interface of ProcessGeofeed in the verifier package, adding a new struct to hold verification options. This will make it easier to add/remove options in the future.
- Add an option to ProcessGeofeed to reduce the verbosity of error messages, toggling whether file paths are included.
- Update files to comply with major release version 2
- Automate version fetching from git release tag
- Do not fail immediately on invalid row, but return custom error along with stats and examples of rows that are not compliant with RFC 8805 standard
- Compare subdivisions in corrections to most specific, instead of least specific, subdivision in MMDB file
- Add optional 'lax' mode that does not require country prefix for ISO-3166 code
- Update to Go version 1.18
- Moved ProcessGeofeed to
verify
sub-package to allow the use of this code as a library - add version argument
- optionally include ISP/ASN information in output
- Fix handling of extra fields (reported by Raiko Wielk)
- Compare correction postal code (if it exists) against MMDB postal code
- Only print fields that actually differ between correction and MMDB record; previously if any one field had a difference we printed all fields
- Can now better handle files with a leading BOM
- Argument names changed for less typing
- Initial Release