Is /users/{username} verouderd?

AI-generated summary

verilog15 reported that the /users/{username} route no longer works, redirecting to a 404, and asked if it was deprecated and where to track such changes. Falco confirmed that the route was replaced with /u/{username} over four years ago, though both were supported until now. As part of ongoing client-side code cleanup, deprecated routes like /users/* are being removed to simplify the codebase. For tracking future changes, Falco recommends monitoring the official commit log at https://github.com/discourse/discourse/commits/master and reviewing diffs before updating. Additionally, using a staging environment with identical configuration is advised to test updates and catch regressions before deploying to production.

Hello community!
In my theme I used to redirect to the user’s profile by using the route /users/${username}. But now I notice that it does not work (redirects to 404). Was it changed? if so, Is there a proper place I could track changes like this one to prevent such bugs in the future?
Thank you :slight_smile:

We moved from /users/* to /u/* over 4 years ago:

https://github.com/discourse/discourse/commit/45a257815a0181059de91101fa4f9c6f8aa9b3c7

Both routes were still supported in the server-side and on the client-side router during all this time, but as we are doing heavy work cleaning our client-side code, long deprecated routes are being removed to simplify the code.

Our official commit log is Commits · discourse/discourse · GitHub, so if you are creating your own customizations you will want to read the diff between the commit you are running and the new one you plan to update to.

What most people do is using a staging environment with identical configuration, where you can roll updates first and run tests to see if something broke.