Header icon got smaller after upgrade

If you add the class d-icon to the i tag, it should work correctly. Try this:

<script type="text/discourse-plugin" version="0.4">
api.decorateWidget('header-icons:before', helper => {
    return helper.h('li.header-dropdown-toggle', [
        helper.h('a.icon#latest-button', {
            href:'https://uskojarukous.fi/latest',
            title: 'Uusimmat'
        }, helper.h('i.fa.fa-bolt.d-icon.latest-button-icon')),
    ]);
});
</script>