Not sure if you figured this out, but in case not (or if others stumble across this looking for a solution as I did...) - easiest way I found was to install the DokuWiki Upgrade Plugin (extension manager -> search and install), and just use that every time you get a notification.
Seems to work fine for me, and it keeps your data intact.