This project follows semantic versioning.
Types of changes:
- Added: New features.
- Changed: Changes in existing functionality.
- Deprecated: Soon-to-be removed features.
- Removed: Removed features.
- Fixed: Bug fixes.
- Infrastructure: Changes in build or deployment infrastructure.
- Documentation: Changes in documentation.
- Add PEP 561
- Remove documentation and test files from wheels build.
- Re-organize unit tests.
- Fix subunit testrunner integration is broken.
- Fix: TeamCity (PyCharm) testrunner integration is broken.
- Run tests with testtools, subunit, TeamCity, and doctest testrunners using tox.
- Test flexmock API examples using doctest.
- Re-add Sphinx support for generating man pages.
- Small fixes to documentation.
- Fix Zope testrunner integration is broken.
- Run tests with Zope testrunner using tox.
- Add Python 3.8, 3.9, 3.10, and 3.11 support.
- Add type annotations.
- BREAKING CHANGE: Flexmock needs to be imported explicitly using
from flexmock import flexmock. The hack that allowed flexmock to be imported directly using
import flexmockdid not work well with static analysis tools.
- Many error messages have been improved.
- Undocumented methods
Expectation.match_argsthat were unintentionally left public are now private methods.
- Undocumented attributes in
Expectationare now private. These attributes were never meant to be accessed directly.
- Drop Python 2.7, 3.4, 3.5 support.
- Drop Pytest 4.x support.
- Remove unittest2 and nose integrations. unittest2 and nose are not maintained anymore.
- BREAKING CHANGE: Removed support for calling
mockmethods without parentheses. This allows code completion and static analysis to work with these methods.
should_callis broken if called on a fake object.
and_raiseallows invalid arguments for an exception.
- Run linters and tests using Github Actions.
- Add coverage reporting using Codecov.
- Add contribution documentation.
- Use Mkdocs instead of Sphinx to build the documentation.
- Fix AttributeError raised when mocking a proxied object.
- Fix flexmock not mocking methods properly on derived classes.
with_argsnot working built-in functions.
with_argsnot working built-in functions and methods.
- Fix previous pytest
--durationsfix not working.
- Fix flexmock broken with Pytest 4 & 5.
- Fix new_instances method not working with Python 2.7.
- Fix multiple expectations for the same classmethod are not matched.
- Improve error message on unmatched method signature expectation.
- Fix using
- Fix pytest
--durationsflag when flexmock is installed.
- Add Python 3.6 and 3.7 support.
- Drop Python 2.6, 3.3, and Jython support.
- Don't hide exception when flexmock is used as context manager.
- Fix expectation reset for static methods on PyPy 2.
- Ensure original exception is not suppressed in pytest hook.
Looking for older changelog entries? See CHANGELOG file in git history.