I don’t know how officially supported this is, but app.vault.on("rename", function(file, oldname) {}) will notify you of renames done from Obsidian’s file manager or pane title fields. It does not notify about renames initiated from outside of Obsidian.