A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Antti Alasvuo
May 20, 2023
  1631
(1 votes)

Swapcode.Optimizely.AuditLog updated to v1.4.1

If you are using my audit log add-on Swapcode.Optimizely.AuditLog then I suggest that you update it in your solution.

I've been waiting now for few years for Optimizely to fix the styles used in the Change Log tool in admin view, but seems like they don't have time to fix the styles for the table.

In the past the log messages have not been visible without using browser developer tools to see the HTML source..

In this new version I've changed the structure of the activity log entry, and now you can see usually most of the relevant information.

There is still issue with the Change Log styling, you need to scroll the table to right, and the last column size depends on your browser window size, but there is nothing I can do about it ;-D

Another change I did was I added a new extension method for IServiceCollection, AddAuditLog(), which you should start using instead of the old way.

// replace old code
services.AddEmbeddedLocalization<AuditLogInitializationModule>();

// with the new extension method, which should be done after call to .AddCms()
.AddAuditLog();

The add-on is still using the initialization module to register the event handlers but this is preparation to change the implementation in a following update, so the AddAuditLog method actually just currently registers the embedded resources ;-)

The updated NuGet package should show up to the Optimizely NuGet feed shortly, but in the meantime you can manually get the updated NuGet package from my GitHub repository releases.

May 20, 2023

Comments

Please login to comment.
Latest blogs
From 12 to 13 preview: A Developer's Guide to testing an Optimizely CMS 13 Alloy Site

The release of Optimizely CMS 13 marks a significant step forward, embracing a more composable and headless-first architecture. While this unlocks...

Robert Svallin | Jan 23, 2026

A day in the life of an Optimizely OMVP: Opti North Manchester - January 2026 Meetup Recap

There's something special about the Optimizely community in the North. On 22nd January, we gathered at the Everyman Cinema in Manchester for the...

Graham Carr | Jan 23, 2026

Beyond the widget - making Optimizely Content Recommendations work for you

Optimizely recommendation data you can render your way. A frontend-focused guide to bypassing the widget, with practical query filtering advise and...

Tom Robinson | Jan 22, 2026 |

Announcing the Jhoose Commerce API for Optimizely Commerce Connect

A layered framework for Optimizely Commerce Connect that accelerates delivery, supports headless architecture, and simplifies carts, checkout, and...

Andrew Markham | Jan 22, 2026 |