So, Remix (the software framework on which the current DearDiary.Net is based) has had an update. I'm yet to be sure it's an upgrade - but it is an update. It's now called 'React Router v7' and it all looks good in theory.
I managed to upgrade Moozemail to use RRv7 yesterday - but the codebase for that is significantly smaller, and wasn't without its hazards either.
I've spent all day trying to get DD to run on RRv7 and it steadfastly refuses to. It won't even build. I suspect I've done something wrong in the DD code which works on Remix 2 but is exposed on RRv7. Which is a shame. However, I will continue trying because I have no doubt that there will be things we need in the future.
Also, using Remix-Auth for the login control is unsustainable in the long term (remix-auth is a hot mess). I have recently been using Hanko for Moozemail which provides a LOT more flexibility and gives us the opportunity to use Passkeys instead of (or as well as) passwords.
So my next project will be to migrate over to use Hanko for the login authentication. However, when I do that I will need to reset everyone's password (it'll be a case of requesting a new password using the 'Forgotten Password' option when it happens). This, I believe, is a small price to pay for added security though.
For those that aren't sure, things like 'Face ID' or 'Touch ID' use Passkeys - so in future we should be able to login using faces or fingerprints. For those that don't want to, I will continue to support passwords for the time being - with the caveat above.
Given that I know Hanko works on RRv7 and I know that Remix-Auth-Google does not, I suppose I better update that before updating to RRv7.
Ah the joy of software.