Release History

Version Date Description
5.6.4 not released  
5.6.2 2024-09-16  
5.6.0 2024-08-26  
5.5.4 2024-07-18  
5.5.2 2024-04-23  
5.5.0 2024-01-26  
5.4.4 2023-12-12  
5.4.2 2023-11-20  
5.4.0 2023-10-17  
5.3.0 2023-08-21  
5.2.2 2023-05-19  
5.2.0 2023-03-27  
5.1.2 2022-12-15  
5.1.0 2022-09-30  
5.0.0 2022-05-11  
4.1.8 2021-12-11  
4.1.6 2021-12-06  
4.1.4 2021-09-20  
4.1.2 2021-09-02  
4.1.0 2021-06-27  
4.0.4 2021-04-12  
4.0.2 2021-03-23  
4.0.0 2021-01-17  
3.2.0 2021-01-10  
3.1.0 2020-09-15  
3.0.2 2020-06-04  
3.0.0 2020-01-30  
2.7.2 2019-12-16  
2.7.0 2019-08-20  
2.6.0 2019-07-22  
2.5.2 2019-06-26  
2.5.0 2019-05-20  
2.4.8 2019-05-09  
2.4.6 2019-04-05  
2.4.4 2019-03-17  
2.4.2 2019-03-14  
2.4.0 2019-02-22  
2.3.4 2018-12-18  
2.3.2 2018-09-03  
2.3.0 2018-08-27  
2.2.16 2018-08-06  
2.2.14 2018-03-23  
2.2.12 2018-02-05  
2.2.10 2018-01-15  
2.2.8 2017-10-17  
2.2.6 2017-06-02  
2.2.4 2017-05-29  
2.2.2 2017-04-04  
2.2.0 2017-01-02  
2.1.0 2016-11-11  
2.0.2 2016-09-19  
2.0.0 2016-07-15  
1.8.0 2016-07-15  
1.7.0 2016-02-16  
1.6.4 2015-12-22  
1.6.2 2015-11-12  
1.6.0 2015-10-28  
1.5.0 2015-10-16  
1.4.0 2015-09-16  
1.3.2 2015-05-28  
1.3.0 2015-04-17  
1.2.6 2015-03-09  
1.2.4 2014-12-03  
1.2.2 2014-11-05  
1.2.0 2014-10-22  
1.1.0 2014-10-02  
1.0.0 2014-09-19  

Release 5.6.4 – not released

Type Changes By
Update to latest OSGi Mock. sseifert

Release 5.6.2 – 2024-09-16

Type Changes By
Add support for Rendition.getBinary() method. Fixes 50. joerghoh

Release 5.6.0 – 2024-08-26

Type Changes By
Add mock implementation of Adobe Granite Asset API. Fixes 49. senn
Update to latest OSGi Mock, Resource Resolver Mock, Sling Mock. sseifert

Release 5.5.4 – 2024-07-18

Type Changes By
MockExternalizer: Apply Sling Mapping for externalized URLs. Fixes 45. sseifert

Release 5.5.2 – 2024-04-23

Type Changes By
MockComponent: Implement isContainer method. Fixes 36. koenkicken
MockPageManager: Allow to create page without template. Fixes 38. alexandru-stancioiu
Remove outdated dependency to org.apache.sling.commons.json. Fixes 33. sseifert
Update to latest Sling Mock. sseifert

Release 5.5.0 – 2024-01-26

Type Changes By
Add mock for AssetDelivery OSGi service for Web-Optimized Image Delivery (not registered by default). Fixes 30. sseifert
Add mock for MockNextGenDynamicMediaConfig OSGi service (not registered by default). Fixes 31. sseifert
Update to latest JCR Mock, OSGI Mock, ResourceResolver Mock, Sling Mock. sseifert
Switch to AEM 6.5.17 as minimum version. sseifert

Release 5.4.4 – 2023-12-12

Type Changes By
Update to latest Sling Mock. sseifert
Resource Resolver Factory: Set resource.resolver.optimize.alias.resolution=true and resource.resolver.enable.vanitypath=true to use the optimized sling:alias resolution. As a result, sling:alias resolution is only supported with JCR_OAK resource resolver type. Fixes 29. sseifert

Release 5.4.2 – 2023-11-20

Type Changes By
Update to latest OSGi Mock. sseifert

Release 5.4.0 – 2023-10-17

Type Changes By
Add mocks for ExperienceFragment and ExperienceFragmentVariation, adaptable from page objects. Fixes 22. royteeuwen
Update to latest Sling Mock. sseifert
Resource Resolver Factory Activator: Provide old or new name for vanity paths allow/denylists by auto-detecting by auto-detecting form classpath (related to SLING-11742). sseifert

Release 5.3.0 – 2023-08-21

Type Changes By
Implement MockTag.getLocalizedTitlePaths method. Fixes 19. catalinadumitruu
Add mock implementation for JcrTagManagerFactory. Fixes 16. rubnig
Update to latest OSGI Mock, ResourceResolver Mock, Sling Mock. sseifert
Exclude transitive dependencies from com.day.commons:day-commons-gfx to avoid leaking in old dependencies in classpath. sseifert

Release 5.2.2 – 2023-05-19

Type Changes By
MockAemBindingsValuesProvider: Support LazyBindings. Fixes 12. sseifert
MockAemBindingsValuesProvider: Add support for Sling Bindings properties xssAPI, currentContentPolicy, currentContentPolicyProperties. Fixes 12. sseifert
MockAemBindingsValuesProvider: Use ContentPolicyStyle for resolving currentStyle if content policies are used. Fixes 12. sseifert
Update to latest JCR Mock, OSGI Mock, ResourceResolver Mock, Sling Mock, Servlet Helpers. sseifert

Release 5.2.0 – 2023-03-27

Type Changes By
Implement all mock methods that were added since AEM 6.5.6+ for LanguageManager. Fixes 4. royteeuwen
Implement MockTag.getTitlePath methods. Fixes 8. catalinadumitruu
Update to latest JCR Mock, OSGi Mock, Sling Mock, Servlet Helpers. sseifert
Switch to Java 11 as minimum version. sseifert
AemContextBuilder: Allow mixture of plugins/callbacks. Fixes 6. sseifert

Release 5.1.2 – 2022-12-15

Type Changes By
Update to latest OSGi Mock. sseifert

Release 5.1.0 – 2022-09-30

Type Changes By
Add support for new Resource Resovler Type RESOURCEPROVIDER_MOCK introduced with SLING-11548. sseifert
Implement MockTemplate.getProperties method. sseifert
Update to latest Sling Mock, Resource Resolver Mock, OSGi Mock. sseifert
MockTemplate: Fix loading properties for editable templates (with structure support). sseifert

Release 5.0.0 – 2022-05-11

Type Changes By
Update to latest ResourceResolver Mock, JCR Mock, OSGi Mock and Sling Mock. sseifert
Switch to AEM 6.5.7 as minimum version, drop support for AEM 6.4. sseifert

Release 4.1.8 – 2021-12-11

Type Changes By
Update to latest OSGi Mock. sseifert

Release 4.1.6 – 2021-12-06

Type Changes By
Update to latest OSGi Mock, Sling Mock and Resource Resolver Mock.
Please update org.apache.sling:org.apache.sling.testing.caconfig-mock-plugin to 1.3.4 or higher.
sseifert
Remove obsolete direct dependency to oak-jcr to make it compatible with latest sling-mock-oak. kwindszus
Fix expression that MockTag#getXPathSearchExpression produces, to be compliant with the XPATH spec. Fixes WTOOL-81. hkuijpers
MockAemBindingsValueProvider: Clear context reference on deactivation. Fixes WTES-69. sseifert

Release 4.1.4 – 2021-09-20

Type Changes By
Update to latest Sling Mock. sseifert
Resource Resolver default configuration: Set resource.resolver.optimize.alias.resolution=false because there is no filling of the mapping cache map on startup. sseifert

Release 4.1.2 – 2021-09-02

Type Changes By
Update to latest OSGi Mock, JCR Mock and Sling Mock. sseifert
Switch ContentPolicy extending SlingAdaptable to have it behave the same as in AEM implementation. Fixes WTES-65. rbrouns

Release 4.1.0 – 2021-06-27

Type Changes By
Add mock implementation of Externalizer. sseifert
Add mock implementation of SlingModelFilter. sseifert
ContentBuilder: Special handling for creating SVG dummy images. sseifert
Update to latest Resource Resolver Mock. sseifert
JUnit5: Alternatively retrieve current AEM context from parent extension context to support nested tests. Fixes WTES-62. sseifert

Release 4.0.4 – 2021-04-12

Type Changes By
ContentBuilder.assetRenditionWebEnabled: Make sure downscaled version of web rendition has same ratio as the original rendition. sseifert

Release 4.0.2 – 2021-03-23

Type Changes By
Update to latest Sling Mock, JCR Mock, OSGi Mock. sseifert
ContentBuilder: Change all width/height properties to long. sseifert
ContentBuilder: Add convenience method assetRenditionWebEnabled to create a fitting web-enabled web rendition. sseifert
Switch to commons-imaging 1.0-alpha1 because version 1.0-R1534292 is not available on maven central. sseifert

Release 4.0.0 – 2021-01-17

Type Changes By
Switch to AEM 6.4 as minimum version. sseifert
Switch to individual OSGi artifacts with compile dependency instead of osgi.core and osgi.cmpn with provided dependency. sseifert
Update to latest JCR Mock, ResourceResolver Mock, OSGi Mock (3.x), Sling Mock (3.x). sseifert
Make sure content policy based on unwrapped resource is injected in Sling Bindings (e.g. when used with Sling Model Delegation Pattern). sseifert

Release 3.2.0 – 2021-01-10

Type Changes By
Add support for dynamic media/scene7 PublishUtils service. sseifert
Fix behavior of MockComponent#getResourceType(): Take node path into account when not resource type property is set. Fixes WTES-65. kgiovannetti
Update to latest OSGi Mock, Sling Mock. sseifert

Release 3.1.0 – 2020-09-15

Type Changes By
Add MockLanguageManager. kgiovannetti
Update to latest Sling Mock, Servlet Helpers. sseifert

Release 3.0.2 – 2020-06-04

Type Changes By
Include org.apache.sling.testing.hamcrest as compile dependency for convenience. Fixes WTES-50. sseifert
Remove compile-time dependency on Guava. sseifert
Update to latest Sling Mock, OSGi Mock, JCR Mock. sseifert
MockAssetManager.createaAsset commits changes. Fixes WTES-52. sseifert

Release 3.0.0 – 2020-01-30

Type Changes By
Add support for @BeforeAll and @AfterAll annotation. Fixes WTES-42. pklink
Add mock implementation of PageManagerFactory. sseifert
Switch to AEM 6.3 as minimum version. sseifert
Update to latest Sling Mock, OSGi Mock, ResourceResolver Mock. sseifert
Incorrect resourcePage provided in mocked model using a wrapped resource from another page. Fixes WTES-49. sseifert

Release 2.7.2 – 2019-12-16

Type Changes By
MockComponentContext: Implement getRoot(), isRoot() and getParent() considering a single root ComponentContext being provided. Fixes WTES-47. drudolph
Update to latest Sling Mock, Sling Servlet Helpers. sseifert
MockComponent: Make sure accessing child resources via the getProperties() method does not work, same way as in AEM itself. sseifert
MockAsset: Ignore missing rendition when trying to remove a non-existing rendition. Fixes WTES-48. sseifert

Release 2.7.0 – 2019-08-20

Type Changes By
See What's new in AEM Mocks 2.5.0-2.7.0 for an overview of the last three releases.  
Add support for testing content policies. sseifert
Add support for DAM services AssetStore and AssetHandler with default implementation for JPEG, GIF, PNG, TIFF, SVG. For TIFF and SVG file formats Java ImageIO plugins are required. sseifert
Implement Component.getLocalResource method. sseifert
MockAssetManager: Send DamEvent when creating original rendition. sseifert
Update to latest OSGi Mock, Sling Mock. sseifert

Release 2.6.0 – 2019-07-22

Type Changes By
Add mock implementations of Granite ResourceCollectionManager and ResourceCollection. sseifert
MockPageManager: Support copying initial content of structured templates as well as from classic templates. sseifert
MockAssetManager: Allow creating assets with null InputStream and updating existing assets. Fixes WTES-39. sseifert

Release 2.5.2 – 2019-06-26

Type Changes By
Allow empty values for title and descriptions when creating content fragment variants. sseifert
MockContentFragment.getElement: Fallback to "main" and "master" elements if element name is null or empty string. rijoalvi
Update subset of AEM built-in node types. sseifert
Update to latest Servlet Helpers, Sling Mock, Sling Mock Oak. sseifert

Release 2.5.0 – 2019-05-20

Type Changes By
Add support for text-based and structured content fragments. sseifert

Release 2.4.8 – 2019-05-09

Type Changes By
Update to latest Sling Mock, Sling Mock Oak. sseifert
Add methods newly defined in AEM 6.5 API. sseifert
MockTag.getLocalizedTitle: AEM uses language and country code always in lowercase mode. Fixes WTES-36. sseifert
MockTag.getLocalizedTitle: Replace namespace delimiter and separator with space in title and localized title. Fixes WTES-36. sseifert

Release 2.4.6 – 2019-04-05

Type Changes By
Send DAM OSGi events when creating assets, creation or removing renditions via AssetManager/Asset API. sseifert
JUnit 5 integration: Support setting AemContext fields in super classes. sseifert
ContentBuilder: Add overlays of create page methods with parent page and child page name. sseifert
Update to latest Sling Mock. sseifert
Allow to adapt MockTemplate to resource. sseifert

Release 2.4.4 – 2019-03-17

Type Changes By
Eliminate compile dependency to slf4j-simple - it's not required to run aem-mock. sseifert

Release 2.4.2 – 2019-03-14

Type Changes By
ContentBuilder: Add create page and asset methods with properties varargs parameter instead of properties map. sseifert
Update to latest OSGi Mock, JCR Mock, Resource Resolver Mock. sseifert
Explicitly set the version of osgi-mock.junit4 dependency in aem-mock.junit4. sseifert

Release 2.4.0 – 2019-02-22

Type Changes By
ContentBuilder: Add convenience methods to create child resources in pages. sseifert
Update to latest OSGi Mock. sseifert
MockAsset: Support getMetadataValueFromJcr method. sseifert
MockDesign: Return default path for getPath(). sseifert
MockComponent: Support getSuperComponent method. sseifert

Release 2.3.4 – 2018-12-18

Type Changes By
Update to latest OSGi Mock, JCR Mock and Sling Mock Oak. sseifert
MockComponentContext: Allow to set cell and cssClasNames. sseifert
Fix bug in MockTagManager.collectResourceTags methods. jwilliams

Release 2.3.2 – 2018-09-03

Type Changes By
Dynamically resolve AEM-specific objects as SlingBindings properties. Fixes WTES-34. sseifert
Enhance Designer implementation and return (empty) Design and Style objects. sseifert
Set WCM ComponentContext also when setting current resource that is part of a page. sseifert
Update to latest OSGi Mock, Sling Mock. sseifert

Release 2.3.0 – 2018-08-27

Type Changes By
Add JUnit 5 extensions. sseifert
Add Jetbrains NotNull/Nullable annotations to API. sseifert
Update to latest OSGi Mock, Sling Mock, JCR Mock. sseifert

Release 2.2.16 – 2018-08-06

Type Changes By
Add implementation of MockAsset.getID method. Fixes WTES-32. sjain
Add AemContextBuilder.registerSlingModelsFromClassPath method to allow to switch off automatica registration of Sling Models from the classpath. sseifert
Update to latest OSGi Mock, Sling Mock, JCR Mock. sseifert

Release 2.2.14 – 2018-03-23

Type Changes By
Update to latest OSGi Mock, Sling Mock. sseifert

Release 2.2.12 – 2018-02-05

Type Changes By
Add methods newly defined in AEM 6.4 API. sseifert
Add Sling API as direct dependency because in latest Ueber JAR the Sling API is missing some implementation classes required in unit tests. sseifert
Update to latest Sling Mock. sseifert
MockTagManager: Detect root path dynamically based on AEM API dependencies: /content/etc:tags (AEM 6.4) or /etc/tags (AEM 6.3 and below). Fixes WTES-30. sseifert
ContentBuilder.asset stores optional asset metadata in wrong path. sseifert

Release 2.2.10 – 2018-01-15

Type Changes By
Update to latest OSGi Mock. sseifert
ContentBuilder: Cache generated dummy images if the same images are used in multiple tests. sseifert
Update slf4j-simple dependency to version 1.7.25. mrozati

Release 2.2.8 – 2017-10-17

Type Changes By
Update to latest OSGi Mock, JCR Mock, Sling Mock and ResourceResolver Mock. sseifert

Release 2.2.6 – 2017-06-02

Type Changes By
Implement PageManager.touch (only shallow mode). Fixes WTES-27. cnagel

Release 2.2.4 – 2017-05-29

Type Changes By
Switch back to commons-imaging 1.0-R1534292 because only this version is available on repo.adobe.com. sseifert
Update to latest OSGi, Sling Mock and JCR Mock. sseifert
Make compatible with AEM 6.3 API. sseifert

Release 2.2.2 – 2017-04-04

Type Changes By
Page.getAbsoluteParent: Special handling for pages in launches. Fixes WTES-26. sseifert
PageManager.create: Validate name with JcrUtil.isValidName. sseifert
AemContext.currentPage: Ensure ComponentContext is cleared as well when current page is set to null. sseifert
Update to latest OSGi, Sling Mock and ResourceResolver Mock. sseifert
Disable vanity support by default in ResourceResolver. sseifert
Switch to Java 8 as minimum versions. sseifert

Release 2.2.0 – 2017-01-02

Type Changes By
Update to latest OSGi, JCR, Sling and ResourceResolver Mock. sseifert
Add ContextPlugin support. sseifert
Support Asset.setBatchMode/isBatchMode. Fixes WTES-24. drudolph

Release 2.1.0 – 2016-11-11

Type Changes By
Add AssetManager mock implementation. Fixes WTES-22. drudolph
PageManager: Skip protected JCR properties on page creation with template. Fixes WTES-23. sseifert
Update to latest Sling Mock. sseifert

Release 2.0.2 – 2016-09-19

Type Changes By
Cleanup all dependencies to make sure the correct ones from AEM 6.2 are used. Fixes WTES-19. sseifert
Update to latest JCR Mock, Sling Mock (2.x) and OSGi Mock (2.x). sseifert
MockAsset.getRenditions() should return modifiable list. Fixes WTES-20. sseifert
MockPageManager.create should support creating pages without name but with title. Fixes WTES-21. sseifert

Release 2.0.0 – 2016-07-15

Type Changes By
Update to AEM 6.2 API. sseifert
Update to latest Sling Mock (2.x) and OSGi Mock (2.x). sseifert

Release 1.8.0 – 2016-07-15

Type Changes By
Add AemContextBuilder with possiblity to specify custom Resource Resolver Factory Activator configuration and setup/teardown callbacks. Fixes WTES-18. sseifert
Update to latest Sling, JCR and Resource Resolver Mock. sseifert

Release 1.7.0 – 2016-02-16

Type Changes By
MockComponent: Add support for getComponentGroup, noDecoration, getHtmlTagAttributes. sseifert
Update to latest OSGi, Sling, JCR and Resource Resolver Mock. sseifert

Release 1.6.4 – 2015-12-22

Type Changes By
Add getDeleted/getDeletedBy methods to MockPage to support page filtering with AEM 6.1 API. sseifert
Include AEM and OSGi APIs in 'provided' scope to let the consuming project decide which to use (other versions use other artifact ids). sseifert

Release 1.6.2 – 2015-11-12

Type Changes By
Apply customized configuration for ResourceResolverFactoryActivator with the default values from AEM. sseifert

Release 1.6.0 – 2015-10-28

Type Changes By
Add support for AEM ComponentContext, EditContext and EditConfig. sseifert
AemContext: Set current page via ComponentContext and allow setting current resource not related to current page. sseifert

Release 1.5.0 – 2015-10-16

Type Changes By
Add support for JCR_OAK, JCR_JACKRABBIT and NONE resource resolver types. sseifert
Automatically register AEM node type definitions for JCR_OAK and JCR_JACKRABBIT. sseifert
ContentBuilder: add tag() method. sseifert
MockTag: Add implementation for getXPathSearchExpression method. sseifert
Update to latest OSGi Mock and Sling Mock. sseifert

Release 1.4.0 – 2015-09-16

Type Changes By
MockPageManager: Support default content from the template's jcr:content node when creating pages. sseifert
MockAsset: Support adding and removing of renditions. sseifert
ContentBuilder: Add methods for creating DAM assets and renditions. sseifert
Update to latest OSGi Mock, JCR Mock, Sling Mock and ResourceResolver Mock. sseifert
Fix potential NPE in MockComponentManager when resource has no resource type. sseifert
MockTagManager: Find in all resources in "/", not only in "/content". sseifert

Release 1.3.2 – 2015-05-28

Type Changes By
Update to latest OSGi Mock, JCR Mock, Sling Mock and ResourceResolver Mock. sseifert

Release 1.3.0 – 2015-04-17

Type Changes By
Add Mocks for ComponentManager and Component. Fixes WCMIO-71. sseifert
Add Mocks for TagManager and Tag. Fixes WCMIO-52. swalters
Add Mock for Designer. Fixes WCMIO-65. sseifert

Release 1.2.6 – 2015-03-09

Type Changes By
Update to latest OSGi Mock, JCR Mock, Sling Mock and adapt AdapterFactory registrations accordingly. sseifert

Release 1.2.4 – 2014-12-03

Type Changes By
Implement equals and hashCode methods for MockPage, MockTemplate, MockAsset and MockRendition. Fixes WCMIO-34. sseifert

Release 1.2.2 – 2014-11-05

Type Changes By
MockPage.getAbsoluteParent behaves different than AEM. Fixes WCMIO-29. sseifert
Removed default registration of AemObjectInjector to cleanly separate from other wcm.io Features. If you depend on this please use the io.wcm.testing.wcm-io-mock.sling package. sseifert

Release 1.2.0 – 2014-10-22

Type Changes By
MockPage: Support native behavior of the Page in adaptTo method. If adaption of the page object returned null, try to adapt page's resource. Fixes WCMIO-16. isechyn
MockPage: Support getLanguage and deep listChildren methods. Fixes WCMIO-21. sseifert
Switch to Sling versions of sling-mock, osgi-mock, jcr-mock. Switch default resource resolver type to RESOURCERESOLVER_MOCK. Fixes WCMIO-15. sseifert

Release 1.1.0 – 2014-10-02

Type Changes By
ContentBuilder: Support creating pages with path argument only. sseifert
AemContext: Add getService and getServices methods. Return useful values for current* and register* methods. sseifert

Release 1.0.0 – 2014-09-19

Type Changes By
Initial release. sseifert

Back to top

Version: 5.6.3-SNAPSHOT. Last Published: 2024-09-16.