Skip to content

@emdash-cms/auth@0.42.0

Choose a tag to compare

@emdashbot emdashbot released this 27 Sep 20:23
· 49 commits to main since this release
67ff362

Minor Changes

  • #1939 2410395 Thanks @swissky! - Adds a core update notice to the admin dashboard. When a newer EmDash version is available, admins see a dismissible banner with a link to the release notes. The banner names the newest release that has been public on npm for at least 24 hours.

    The check is on by default: the server sends a GET request to https://registry.npmjs.org/emdash at most once a day, in the background, with no site data. To wait longer before a release is announced, for example to match pnpm's minimumReleaseAge, or to turn the check off:

    emdash({ updateCheck: { minimumReleaseAge: "7d" } }); // a duration string or seconds
    emdash({ updateCheck: false });

    The banner reads GET /_emdash/api/admin/core-update, which requires the new updates:read permission (admins only).