Skip to content

Releases: powermock/powermock

PowerMock 2.0.9

02 Nov 07:53
Compare
Choose a tag to compare

2.0.9

powermock-2.0.8

01 Nov 17:06
Compare
Choose a tag to compare

Release notes were automatically generated by Shipkit

2.0.8

PowerMock 2.0.2

21 Apr 12:07
Compare
Choose a tag to compare
  • 2019-04-21 - 2 commits by Arthur Zagretdinov - published to Bintray
  • [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

21 Apr 12:05
Compare
Choose a tag to compare
PowerMock 2.0.1 Pre-release
Pre-release

PowerMock 2.0.0

07 Jan 22:04
Compare
Choose a tag to compare
  • 2019-01-07 - 77 commits by 10 authors - published to Bintray
  • 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

24 Oct 21:00
Compare
Choose a tag to compare
PowerMock 2.0.0 RC1 Pre-release
Pre-release
  • 2018-10-24 - 69 commits by 6 authors - published to Bintray
  • 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

24 Feb 10:20
Compare
Choose a tag to compare

Published to Bintray

Improvements:

  • Add supporting Java 9 into PowerMockAgent (#878)
  • Release notes generation fixed (#863)

PowerMock 2.0.0 Beta 5

17 Sep 17:07
Compare
Choose a tag to compare
Pre-release

It's a first PowerMock 2.0.0 release published to Maven Central.

Published:

Maven Central

Download

Major changes

  • Using only Public Mockito API (#726)
  • Removed deprecated code. (#839)
  • Support JDK 9.0 (#783)

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

16 Sep 18:18
Compare
Choose a tag to compare

Published to Bintray

Bugfixes

  • PowerMock.replayAll does not handle mocks created by annotation processor for org.easymock.Mock annotation (#849)

PowerMock 1.7.2

15 Sep 22:35
Compare
Choose a tag to compare

Published to Bintray

  • [Bugfixes] @mock annotation from easymock api does not work for two fields of the same type. (#755)
  • [Enhancements] Use Mockito Shipkit for CD (#826)