Releases: powermock/powermock
Releases · powermock/powermock
PowerMock 2.0.9
2.0.9
- 2020-11-01 - 4 commits by thekingn0thing (2), Valery Yatsynovich (1), zaobao (1) - published to
- PowerMockitoStubberImpl.when throws exceptions with methods using arguments with both primitive and wrapped arguments (#1077)
- Bump byte-buddy from 1.9.10 to 1.10.14 (#1068)
powermock-2.0.8
PowerMock 2.0.2
- 2019-04-21 - 2 commits by Arthur Zagretdinov - published to
- [Bugfixes] PowerMockAgent does not support java >=10 (#979)
- [Security] Releases are built/executed/released in the context of insecure/untrusted code (#973)
PowerMock 2.0.1
- 2019-04-21 - 4 commits by 4 authors - published to
- Commits: Arthur Zagretdinov (1), Marcin Zajączkowski (1), sam-ma (1), stevegilbert23 (1)
- [Bugfixes] IllegalStateException when inner class has private constructor on Java>8 (#958)
- Fixes 976: Change to StackTraceCleaner to allow mockito strick stubs … (#977)
PowerMock 2.0.0
- 2019-01-07 - 77 commits by 10 authors - published to
- Commits: Arthur Zagretdinov (56), PowerMock Release Tools (11), Henri Tremblay (2), Ismael Juma (2), beegee1 (1), Enrico Olivelli (1), hsynkrtl (1), Paul Parenko (1), Sean Gilhooly (1), Timo Meinen (1)
- [Major changes] Mockito Public API Support Roadmap [(#726)]
- [Major changes] Dropped supporting Mockito 1.x as result removed module powermock-api-mockito
- [Major changes] Dropped supporting EasyMock 3.1. Offical supported EasyMock 3.5
(#726) - [Enhancements] Removed deprecated code in PowerMock 2.0. (#839)
- [Enhancements] JDK 9 support (#783)
- [Bugfixes] Fixes #888: Disable Security of X-Stream (#962)
- [Bugfixes] #959 fix compile error due to unused import of a class which is not i… (#960)
- [Bugfixes] Issue 939: Error with setInternalState and JDK12 "java.lang.NoSuchFieldException: modifiers (#955)
(#948) - [Bugfixes] Compile error due to unused import of a class which is not in the dependencies (#959)
- [Bugfixes] JDK9, power mockito 2.0.0-beta.5 - final class issue when mocking static method (#888)
- [Bugfixes] @mock annotation from easymock api does not work for two fields of the same type. (#755)
PowerMock 2.0.0 RC1
- 2018-10-24 - 69 commits by 6 authors - published to
- Commits: Arthur Zagretdinov (54), PowerMock Release Tools (11), Henri Tremblay (1), hsynkrtl (1), Ismael Juma (1), Sean Gilhooly (1)
- [Major changes] Mockito Public API Support Roadmap (#726)
- [Major changes] Dropped supporting Mockito 1.x as result removed module powermock-api-mockito
- [Major changes] Dropped supporting EasyMock 3.1. Offical supported EasyMock 3.5
- [Bugfixes] @mock annotation from easymock api does not work for two fields of the same type. (#755)
- [Enhancements] Removed deprecated code in PowerMock 2.0. (#839)
- [Enhancements] JDK 9 support (#783)
- Preparing PowerMock 2.0 Release without ByteBuddy [ci maven-central-release] (#948)
- Use EasyMock exposed MockType instead of the deprecated internal one (#944)
- Update PowerMockAgent.java (#878)
PowerMock 1.7.4
PowerMock 2.0.0 Beta 5
It's a first PowerMock 2.0.0 release published to Maven Central.
Published:
Major changes
Bug Fixes
- Fixed regression issue with @mock annotation from easymock api does not work for two fields of the same type. (#755)
Incapability with PowerMock 1.x:
- Possible incapability due toString methods returns by default name of mocked.
- Fully drop supporting of Mockito 1.x
- Removed deprecated PowerMockito verifyStatic(). It is replaced by verifyStatic(Class)
mockStatic does not reset mocking process anymore. As result you may get the UnfinishedVerificationException or UnfinishedStubbingException - Remove deprecated API: Supporting jUnit 3
- Remove deprecated annotation 'org.powermock.core.classloader.annotations.Mock'
Other changes:
- Removed all Mockito copy-pasted code
- Use delegate MockMaker to prevent issue with replacing Mockito MockMaker when PowerMock in class path (see #769, mockito/mockito#1004)
- Replace using Mockito internal classes with Mockito public API, except annotation processing (#838).
PowerMock 1.7.3
Bugfixes
- PowerMock.replayAll does not handle mocks created by annotation processor for org.easymock.Mock annotation (#849)