- Support for @ReplaceWithMock on @Qualified beans. Thanks KevinMcT!
- Now requires Java 11.
- Bumped minimum spring version to 5.0. Spring 4.x is EOL.
- Bumped Mockito version from 1.10 -> 4.4.
- Beans directly referenced in the @ContextConfiguration are no longer lazy loaded.
- Minimum spring version is now 4.2.0.
- Beans with role ROLE_INFRASTRUCTURE are now not lazy loaded.
- Support for spring profiles
- Support for rejecting/mocking beans created by a factory bean.
- Stopped post processing mocks.
- Inadvertently transitively depended on Spring 4.2.1 instead of 4.1.1 which is the minimum.
- Initial support for Spring MVC
- The Remock configuration is now found using the actually test-class insteadof the class annotated with @ContextConfiguration.
- @EagerlyInitialized renamed to @DisableLazyInit which is more semantically correct.
- Stopped supporting Java 7 (due to future usage of @Repeatable annotations).
- Fixed nullpointer issue with certain factory beans.
- Tests with lazily initialized contexts will no longer use cached eager initialized contexts (and vice versa).
- Remock caches the annotations found on a given RemockContextConfiguration.
- Added hook point for modifying which bean factory to use. This MUST be an instance of RemockBeanFactory.
- Support for rejecting every bean instanceof a class unless it is also instanceof another class. Use case: Rejecting every instance of an interface except the one you are testing.
- Fixed issue with caching of contexts when using @ReplaceWithImpl.