I agree with Iggy. When a person (you) is suffering with depression, you are not (as they say) in your right mind, and things can happen which are out of character, but which seem right to you at the time. If you are still friends, it's time to sit down with him and clear the decks - apologise for what went on in the past, and start with a clean slate. You weren't in true control of yourself in those dark days - if he's a true friend, he'll know that already.