v2.0.0
Version 2.0.0 [2022-11-23]
- Backport the logic from Python 3.11's
fromisoformat
methods, instead of Python 3.7's, #22- Adds support for a wider portion of the ISO 8601 specification
- Backports are now applied to Python < 3.11, instead of only Python < 3.7
Migration from 1.x.x
No migration is needed.
However, starting in version 2, backports.datetime_fromisoformat
will apply its changes to Python < 3.11, whereas v1 only applied changes to Python < 3.7. If you happened to be using backports.datetime_fromisoformat
v1 on Python 3.7 through Python 3.10 and then upgrade to v2, it will patch the fromisoformat
methods, whereas in v1 it did not. The fromisoformat
methods will be able to parse timestamps from a wider portion of the ISO 8601 specification. This is unlikely to be a problem, but for completeness it is mentioned here.