Status of solar-powered landscaping lights
I have fence-post-top solar lights purchased some more than five years ago and a couple more recently. What I've found is the older models use NiCad batteries and the newer, slightly more expensive ones use lithium based batteries.

The NiCad versions are useless and no longer illuminate, while the lithium versions are still alight the next morning. In the winter, with the shorter daylight hours, they won't last the entire night but continue to return each summer, thus far.

I've been considering popping the dead ones off and getting the new stuff, but it's easy to put things off.

Read the fine print, aim for the lithium powered stuff, and you may have better luck.