Phantom types for Python.
Full Changelog: https://github.com/antonagestam/phantom-types/compare/2.1.0...2.1.1
Full Changelog: https://github.com/antonagestam/phantom-types/compare/2.0.1...2.1.0
This release only fixes broken RTD documentation builds, see #276. Thanks to @enadeau for reporting.
Full Changelog: https://github.com/antonagestam/phantom-types/compare/2.0.0...2.0.1
This release also fixes compatibility with typing-extensions 4.6, the changes made when dropping support for Python 3.7 happened to also fix this. Thanks to @diabolo-dan for reporting #277.
Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.2.2...2.0.0
Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.2.1...1.2.2
Interval
subclasses properly inherit bounds by @antonagestam in https://github.com/antonagestam/phantom-types/pull/266
Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.2.0...1.2.1
Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.1.0...1.2.0
CachingProtocolMeta
by @flaeppe in https://github.com/antonagestam/phantom-types/pull/244
Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.0.0...v1.1.0
There are two breaking changes in this release. Because interval types and predicate functions were incorrectly named, they have been renamed to use the terms inclusive/exclusive instead of closed/open. Renaming them has the benefit that more breakage downstream should be discovered in earlier stages, e.g. in test suites and at import-time, instead of breaking at runtime in production environments.
A parse method has been implemented for TZAware
and TZNaive
using python-dateutil. When python-dateutil is not installed and the parse
methods are called with strings, they now raise MissingDependency
.
Full Changelog: https://github.com/antonagestam/phantom-types/compare/0.18.0...1.0.0
Full Changelog: https://github.com/antonagestam/phantom-types/compare/v0.17.1...0.18.0