These ships were a late-war design built to replace light cruisers of the same names lost earlier.
There is more data on Dresden ii at German-Navy.de.