Releases: nlesc-nano/AssertionLib
Releases · nlesc-nano/AssertionLib
Assertionlib 3.2.2
- Add formal Python 3.11 support
- Misc CI updates
- Fix a missing README file in the assertionlib sdist distribution
What's Changed
Full Changelog: 3.2.1...3.2.2
Assertionlib 3.2.1
- Increase the
NDRepr.maxstring
default to 800. - Fixed the signature of
assertion.str_eq
.
AssertionLib 3.2.0
- Added three new
NDRepr
methods. - Added a missing
AssertionManager.assert_
overload.
AssertionLib 3.1.3
See https://github.com/nlesc-nano/AssertionLib/milestone/1:
- Added
assertion.issuperset()
andassertion.issubset()
. - Export the source to PyPi.
- Updated MyPy settings.
- Enabled tests for the Python
3.9
beta. - Enabled Cancel Workflow Action for the unit tests.
- Added tests for building documentation.
- Updated the typehints.
- Updated the string representations of exceptions.
AssertionLib 0.3.0
- Added Nano-Utils as a dependency; moved a number of functions there.
- Removed
requirements.txt
in favor of.readthedocs.yml
. - Removed travis tests in favor of GitHub Actions.
- Removed
CITATION.cff
in favor of Zenodo.
AssertionLib 2.3.2
- Added codecov and zenodo badges.
AssertionLib 2.3.1b
- Added support for the
python stup.py test
command. - Added support for the
python stup.py build_sphinx
command. - Added a GitHub Actions workflow for automatic PyPi publishing.
- Enabled codecov for the GitHub Action tests.
- Updated the package classifiers and keywords in
setup.py
.
AssertionLib 2.3.0
- Added the
AssertionManager.xor()
,AssertionManager.isdisjoint()
andAssertionManager.length_hint()
methods. - Annotate most
AssertionManager
methods using Protocols. - Moved Protocols to their own separate stub module.
- Cleaned up the
_MetaAM
metaclass. - Reworked some of the internals of
AssertionManager
. - Added tests using pydocstyle .
AssertionLib 2.2.3
- Marked AssertionLib as a typed package (PEP 561).
- Introduced updates and fixes to the type-annotations across the board.
- Exposed
NDRepr
,aNDRepr
andAbstractDataClass
in the main__init__.py
file. - Added the
AbstractDataClass.__slots__
attribute. - Added the
AssertionManager.any()
andAssertionManager.all()
methods. - Added the
post_process
andmessage
keywords to allAssertionManager
assertion methods. - Replaced pycodestyle tests with pytest-flake8.
- Added tests using doctest .
- Windows bug fix: Check for the presence of the
AssertionManager._isdir()
rather than the type of operating system.
AssertionLib 2.1.0
- Made the recursion safeguard in
AbstractDataClass
thread-safe. - Added the
AbstractDataClass._str()
function for creating string-representations of key/value pairs. - Added the
AbstractDataClass._eq()
function for comparing two attribute values. - Minor Improvements to
Exception
handling.