Here you can see the full list of changes between each intervals release.
- Fixed discrete interval length (#53)
- Fixed interval coercion (#42)
- Dropped py27 and py34 support
- Fixed interval coercion (#41)
- Added is_connected utility method
- Made interval constructor throw IllegalArgument exception for intervals such as (a..a)
- Fixed some edge cases with interval intersections
- Fixed interval union (#33)
- Added support for step argument in
from_stringfactory method - Added better error message when passing string as a first constructor argument
- Added canonicalize to main module import
- Added factory methods for easier interval initialization
open,closed,open_closed,closed_open,greater_than,at_least,less_than,at_mostandall - Renamed
openandclosedproperties tois_openandis_closed
- Removed interval constructor string parsing
- Added new class method from_string
- Drop python 2.6 support
- Made intervals hashable
- Added CharacterInterval class
- Fixed interval datetime type guessing
- Fixed code examples in docs
- Fixed IntInterval step rounding
- Added better test suite (now docs are tested also)
- Fixed setup.py packages
- Added
__bool__implementation for all interval types - Added
__int__support forIntInterval
- Added step argument to
AbstractIntervalconstructor
- Improved hyphen range parsing
- Fixed
glbandlubmethods - Added
infandsupmethods
- Fixed comparison to
None - Added
glbandlubmethods
- Fixed
__lt__and__le__operators (total_orderingwas not working)
- Added improved arithmetics
- Added
centre,radius,discreteandlengthproperties - Added support for custom typed intervals
- Added support for discrete intervals
- Added support for
__radd__and__rsub__ - Added
degenerateproperty - Added support for contains
- Added
Intervalsubclasses (IntInterval,DateInterval,DateTimeInterval,FloatIntervalandDecimalInterval) - Updated infinity dependency to 0.1.3
- Added interval
lengthproperty
- Initial public release