github emdash-cms/emdash @emdash-cms/plugin-audit-log@0.2.0

latest releases: @emdash-cms/gutenberg-to-portable-text@0.13.0, @emdash-cms/plugin-embeds@0.1.14, @emdash-cms/auth-atproto@0.2.6...
3 hours ago

Minor Changes

  • #1057 c0ce915 Thanks @ascorbic! - BREAKING: Removes the auditLogPlugin named export and the factory call shape. Import the default export and pass it directly into plugins: or sandboxed:.

    - import { auditLogPlugin } from "@emdash-cms/plugin-audit-log";
    + import auditLog from "@emdash-cms/plugin-audit-log";
    
      export default defineConfig({
      	integrations: [
      		emdash({
    - 			plugins: [auditLogPlugin()],
    + 			plugins: [auditLog],
      		}),
      	],
      });

    Two changes: drop the { } around the import, and drop the () after the plugin name. Per-install configuration moved to the admin UI's settings (KV-backed) when the sandboxed plugin redesign landed, so there's no longer a need for a factory call.

Patch Changes

Don't miss a new emdash release

NewReleases is sending notifications on new releases.