We have a macro which on save adds a new parameter value on the fly in the page's storage format. While that is working, the page itself is not creating a new version or draft of it eventhough we clearly see the storage format has changed. We tried using
pageManager.saveContentEntity(page, new DefaultSaveContext.Builder().build());
where 'page' is the concerned page object - it IS updating the macro parameter and page storage format correctly but not the page version.
Please advise if any other alternatives.