Cyparagon is correct. Say your voltage drop across your diode is 3V and your supply switches from 8V to 7V. There will be a some spikes during the transition but it should all occur in less than 100ms and thus not affect your diode substantially.
For starters, when experimenting, always have your Digital multi meter in series with your diode monitoring its current. Then you can quickly shutoff your setup in the event of overshoot. Odds are if you fried you diode your driver isn't setup correctly. A digital multimeter would be a good investment if you don't already have one so you don't break any more expensive diodes.