Closed achingbrain closed 5 months ago
Instead of parsing the validity field of an IPNS record as a timestamp during unmarshalling, treat it as an opaque string value.
This ensures we can round-trip records supplied by other systems which may have a different interpretation of rfc3339 dates, for example.
It also means we can handle different types of validity types, not just EOL.
BREAKING CHANGE: the validity field is now a string
Instead of parsing the validity field of an IPNS record as a timestamp during unmarshalling, treat it as an opaque string value.
This ensures we can round-trip records supplied by other systems which may have a different interpretation of rfc3339 dates, for example.
It also means we can handle different types of validity types, not just EOL.
BREAKING CHANGE: the validity field is now a string