github cmintey/wishlist v0.51.0

7 hours ago

🚨 BREAKING CHANGES 🚨

Up until this point, Wishlist has treated usernames and emails as case-sensitive. Generally emails are case insensitive and most platforms treat them that way. This release contains a migration to change usernames and emails to be case-insensitive. Meaning if your username is "testUser", you can also now log in with "TESTUSER" or "testuser". Similarly for OIDC login, for accounts not already linked, the linking step is now case-insensitive, so if a user account has an email of "TESTUSER@GMAIL.COM" and the user's email in the IdP is "testuser@gmail.com", then the existing user in Wishlist will be found.

This is a breaking change and the migration can fail if you have any users that share similar (only differing by casing) usernames or emails

If you experience a failed migration due to this change or want to check your db proactively, you can execute this sql query against your database to identify the impacted users and update their username and/or email

SELECT username, email, GROUP_CONCAT(id), GROUP_CONCAT(name)
FROM "user"
GROUP BY 1, 2 HAVING COUNT(DISTINCT id) > 1

What's Changed

Full Changelog: v0.50.1...v0.51.0

Don't miss a new wishlist release

NewReleases is sending notifications on new releases.