Sourced from tomli's changelog.
2.1.0
- Deprecated
- Instantiating
TOMLDecodeError
with free-form arguments.msg
,doc
andpos
arguments should be given.- Added
msg
,doc
,pos
,lineno
andcolno
attributes toTOMLDecodeError
2.0.2
- Removed
- Python 3.7 support
- Improved
- Make
loads
raiseTypeError
notAttributeError
on bad input types that do not have thereplace
attribute. Improve error message whenbytes
is received.- Type annotations
- Type annotate
load
input astyping.IO[bytes]
(previouslytyping.BinaryIO
).2.0.1
- Improved
- Make bundling easier by using relative imports internally and adding license and copyright notice to source files.
- Make error messages more uniform
- Raise a friendly
TypeError
for wrong file mode- Allow
parse_float
to return objects having theappend
attr- Eagerly raise an error if
parse_float
returns an illegal type- Packaging
- Move from
pytest
testing framework tounittest
and removepython-dateutil
test dependency. Tests now only require Python interpreter.1.2.3
- Fixed
- Backport: Allow lower case "t" and "z" in datetimes
2.0.0
- Removed
- Python 3.6 support
- Support for text file objects as
load
input. Use binary file objects instead.- First argument of
load
andloads
can no longer be passed by keyword.- Fixed
- Allow lower case "t" and "z" in datetimes
- Improved
- Raise an error when dotted keys define values outside the "current table". Technically speaking TOML v1.0.0 does allow such assignments but that isn't intended by specification writers, and will change in a future specification version (see the pull request).
1.2.2
... (truncated)
d6e045b
Bump version: 2.0.2 → 2.1.0d1d6a85
Add attributes to TOMLDecodeError. Deprecate free-form
__init__
args (#238)59ed9ef
Add a comment about implicit lru_cache bound9d25b3f
Test against Python 3.13 final (#237)f57fb66
Add test coverage for text mode error (#231)4be816b
Convert tox config to native TOMLe2f8d2d
Merge pull request #233 from
hukkin/version-2.0.2