No new law shall be construed to repeal a former law, whether such former law is expressly repealed or not, as to any offense committed against the former law, or as to any act done, any penalty, forfeiture or punishment incurred, or any right accrued, or claim arising under the former law, or in any way whatever to affect any such offense or act so committed or done, or any penalty, forfeiture or punishment so incurred, or any right accrued, or claim arising before the new law takes effect, save only that the proceedings thereafter shall conform, so far as practicable, to the laws in force at the time of such proceeding. If any penalty, forfeiture or punishment be mitigated by any provisions of a new law, such provision may, by the consent of the party affected, be applied to any judgment pronounced after the new law takes effect. This section shall extend to all repeals, either by express words or by implication, whether the repeal is in the act making any new provision upon the same subject or in any other act.