When to tell your roommate and closest friends you are transferring?

The later you leave it the more likely tey are to feel betrayed. Say now that you’re considering the option.