Skip to content

5.0.5

Choose a tag to compare

@Schero94 Schero94 released this 28 Dec 17:14
· 15 commits to main since this release

5.0.5

Bug Fixes

  • fix: downgrade date-fns to v3.x for CommonJS compatibility (c739fb9)

    date-fns v4.x is ESM-only which causes the following error when used with CommonJS bundling in Strapi plugins:

    Cannot destructure property 'differenceInHours' of 'dates__namespace.default' as it is undefined
    

    This fix downgrades date-fns from ^4.1.0 to ^3.6.0 which maintains full CommonJS support.


Full Changelog: 5.0.4...5.0.5