Unless otherwise provided by the general statutes or any special act, bonds issued by any municipality, as defined in § 7-369, by authority of any provision of the general statutes or of any special act shall be serial bonds maturing in annual or semiannual installments of principal that shall substantially equalize the aggregate amount of principal and interest due in each annual period commencing with the first annual period in which an installment of principal is due, or maturing in annual or semiannual installments of principal no one of which shall exceed by more than fifty per cent the amount of any prior installment, or shall be term bonds with mandatory deposit of sinking fund payments into a sinking fund of amounts sufficient to redeem or amortize the principal of the bonds in annual or semiannual installments that shall substantially equalize the aggregate amount of principal redeemed or amortized and interest due in each annual period commencing with the first annual period in which a mandatory sinking fund payment becomes due, or sufficient to redeem or amortize the principal of the bonds in annual or semiannual installments no one of which shall exceed by more than fifty per cent the amount of any prior installment. The first installment of any series of bonds shall mature or the first sinking fund payment of any series of bonds shall be due not later than three years from the date of the issue of such series and the last installment of such series shall mature or the last sinking fund payment of such series shall be due not later than twenty years therefrom, except that for bonds issued on or after July 1, 2017, the last installment of such series shall mature or the last sinking fund payment of such series shall be due not later than thirty years from the date of the issue of such series.