• v0.31.1 39153a723e

    v0.31.1 Stable

    pienter-release-bot released this 2026-09-22 10:30:41 +00:00 | 35 commits to main since this release

    Fixed

    • useUnsavedChanges asks before moving to another record inside the same
      component. It registered onBeforeRouteLeave only, so going from
      /blog/1/edit to /blog/2/edit with a dirty draft reused the component,
      skipped the guard and dropped the edits. It now registers
      onBeforeRouteUpdate too. A navigation that keeps the route params, such as
      a ?tab= or hash change, does not ask. Pass
      { sameRecord: (to, from) => boolean } as the second argument when the
      record is not identified by the params. Leaving the route asks as before.
    Downloads