All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Switch completely to just for development tasts, remove nox. Rely on Github actions matrix of python versions for testing across all supported python versions.
- Remove black, rely on ruff for formatting.
2.1.0 - 2023-10-03
- Use ruff for linting
- Fixed CHANGELOG version links
- Add readthedocs configuration
2.0.0 - 2023-06-09
- Add just for development commands
- Add Python 3.12 support
- Move changelog into CHANGELOG.md
- Freshen up README
- Fix test_fixedoffset_eq by adding an actual assertion
- Drop Python 3.6 support (3.6 is end of life)
1.1.0 - 2022-09-28
- Add
is_iso8601
function for validating that a string matches an ISO 8601 format (thanks to David Baumgold (https://github.com/singingwolfboy) for #21) - Add Python 3.11 to the test mix
1.0.2 - 2021-11-23
- Add missing
__all__
in__init__.py
. Addresses #17 (thanks to Alex Gaynor for reporting)
1.0.1 - 2021-11-22
- Add missing py.typed file (as per PEP 561), keeps mypy happy :D
1.0.0 - 2021-11-07
- Add type annotations to code
- Switch to poetry for packaging
- Simplify internals and remove old compatability code
- Switch to nox for testing
- Lots of small project development changes
- Remove external type annotations in pyi
- Drop python < 3.6 support
0.1.16 - 2021-07-16
- Include
docs/
into sdist tarball (thanks to kloczek in #14)
0.1.15 - 2021-07-16
- Include .pyi files in built wheels and source tarballs
0.1.14 - 2021-02-05
- Add GitHub build actions for project
- Add project URLs in setup.py (thanks to Steve Piercy)
- Add Python 3.9 to test matrix (thanks to Luciano Mammino)
- Add type hints (thanks to Brett Cannon)
- Update README links (thanks to Steve Piercy)
- Derive
ParseError
fromValueError
(thanks to Lex Robinson)
- Fix handling of README in setup.py (encoding fun in 3.5, 3.6 and pypy3)
- Fix README links (thanks to Chris Barker)
0.1.13 - 2020-09-11
- Add python 3.7 and 3.8 to tests
- Move to GitHub (https://github.com/micktwomey/pyiso8601). Thanks go to Martin Häcker for pointing out the bitbucket project had been deleted by Atlassian!
- Remove python 2.6, 3.2, 3.3 and 3.4 from tests
0.1.12 - 2017-07-27
- Fix class reference for iso8601.Utc in module docstring (thanks to felixschwarz in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/7/fix-class-reference-for-iso8601utc-in/diff)
0.1.11 - 2015-11-03
- Add support for , as separator for fractional part (thanks to ecksun in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/5/add-support-for-as-separator-for/diff)
- Add Python 3.4 and 3.5 to tox test config.
- Add PyPy 3 to tox test config.
- Link to documentation at https://pyiso8601.readthedocs.org/
- Remove logging (thanks to Quentin Pradet in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/6/remove-debug-logging/diff)
0.1.10 - 2014-02-27
- Adds YYYY as a valid date (uses 1 for both month and day)
- Woo, semantic versioning, .10 at last.
- Fixes https://bitbucket.org/micktwomey/pyiso8601/issue/14/regression-yyyy-mm-no-longer-parses (thanks to Kevin Gill for reporting)
0.1.9 - 2014-02-26
- Lots of fixes tightening up parsing from jdanjou. In particular more invalid cases are treated as errors. Also includes fixes for tests (which is how these invalid cases got in in the first place).
- Release addresses https://bitbucket.org/micktwomey/pyiso8601/issue/13/new-release-based-on-critical-bug-fix
0.1.8 - 2013-10-22
- Remove +/- chars from README.rst and ensure tox tests run using LC_ALL=C. The setup.py egg_info command was failing in python 3.* on some setups (basically any where the system encoding wasn't UTF-8). (https://bitbucket.org/micktwomey/pyiso8601/issue/10/setuppy-broken-for-python-33) (thanks to klmitch)
0.1.7 - 2013-10-19
- Fix parsing of microseconds (https://bitbucket.org/micktwomey/pyiso8601/issue/9/regression-parsing-microseconds) (Thanks to dims and bnemec)
0.1.6 - 2013-10-18
- Correct negative timezone offsets (https://bitbucket.org/micktwomey/pyiso8601/issue/8/015-parses-negative-timezones-incorrectly) (thanks to Jonathan Lange)
0.1.5 - 2013-10-17
- Add support for python 3. https://code.google.com/p/pyiso8601/issues/detail?id=23 (thanks to zefciu)
- Wow, it's alive! First update since 2007
- Moved over to https://bitbucket.org/micktwomey/pyiso8601
- Switched to py.test and tox for testing
- Make seconds optional in date format ("1997-07-16T19:20+01:00" now valid). https://bitbucket.org/micktwomey/pyiso8601/pull-request/1/make-the-inclusion-of-seconds-optional-in/diff (thanks to Chris Down)
- Support more variations of ISO 8601 dates, times and time zone specs.
- "Z" produces default timezone if one is specified (https://bitbucket.org/micktwomey/pyiso8601/issue/5/z-produces-default-timezone-if-one-is) (thanks to vfaronov). This one may cause problems if you've been relying on default_timezone to use that timezone instead of UTC. Strictly speaking that was wrong but this is potentially backwards incompatible.
- Handle compact date format (https://bitbucket.org/micktwomey/pyiso8601/issue/6/handle-compact-date-format) (thanks to [email protected])
- Correctly raise ParseError for more invalid inputs (https://bitbucket.org/micktwomey/pyiso8601/issue/1/raise-parseerror-for-invalid-input) (thanks to manish.tomar)
- Fix microsecond rounding issues (https://bitbucket.org/micktwomey/pyiso8601/issue/2/roundoff-issues-when-parsing-decimal) (thanks to [email protected])
- Fix pickling and deepcopy of returned datetime objects (https://bitbucket.org/micktwomey/pyiso8601/issue/3/dates-returned-by-parse_date-do-not) (thanks to fogathmann and [email protected])
- Fix timezone offsets without a separator (https://bitbucket.org/micktwomey/pyiso8601/issue/4/support-offsets-without-a-separator) (thanks to joe.walton.gglcd)
0.1.4 - 2007-09-18
- The default_timezone argument wasn't being passed through correctly, UTC was being used in every case. Fixes issue 10.
0.1.3 - 2007-08-28
- Fixed the microsecond handling, the generated microsecond values were way too small. Fixes issue 9.
0.1.2 - 2007-07-24
- Adding ParseError to all in iso8601 module, allows people to import it. Addresses issue 7.
- Allow date/time separators other than T.
- Be a little more flexible when dealing with dates without leading zeroes. This violates the spec a little, but handles more dates as seen in the field. Addresses issue 6.
0.1.1 - 2007-03-30
- When parsing dates without a timezone the specified default is used. If no default is specified then UTC is used. Addresses issue 4.
0.1.0 - 2007-01-04
- First release