Phantom Types Versions Save

Phantom types for Python.

2.1.1

9 months ago

2.1.0

11 months ago

What's changed

Full Changelog: https://github.com/antonagestam/phantom-types/compare/2.0.1...2.1.0

2.0.1

11 months ago

What's Changed

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

2.0.0

11 months ago

What's Changed

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

1.2.2

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.2.1...1.2.2

1.2.1

1 year ago

Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.2.0...1.2.1

1.2.0

1 year ago

What's Changed

Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.1.0...1.2.0

1.1.0

1 year ago

Full Changelog: https://github.com/antonagestam/phantom-types/compare/1.0.0...v1.1.0

1.0.0

1 year ago

Breaking changes

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.

What's changed

New Contributors

Full Changelog: https://github.com/antonagestam/phantom-types/compare/0.18.0...1.0.0

0.18.0

1 year ago

What's Changed

Full Changelog: https://github.com/antonagestam/phantom-types/compare/v0.17.1...0.18.0