We have calls that keep coming in of birds severely injured or killed by predators (raccoons, opossums, foxes, rats) that are kept outside all night often in cages on porches.
Birds kept outside all night are also at risk for certain kinds of deadly infections that can come in the insects. These insects are often more active at night and in the evening (examples: West Nile Virus, Equine Encephalitis which our birds can catch too, Sarcocystis).
The best thing for our birds is to come in to a protected area like our houses each evening after enjoying our beautiful days.
If you cannot bring your bird in the house then consider constructing a sturdy rat/predator/insect proof cage for your bird to stay in outside. Do not depend on the protection of a regular bird cage. Predators are looking for an easy meal all the time and are very creative.