Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.0.31-alpha #739

Merged
merged 1 commit into from
May 31, 2018
Merged

Release v0.0.31-alpha #739

merged 1 commit into from
May 31, 2018

Conversation

NickColley
Copy link
Contributor

0.0.31-alpha (Breaking release)

💥 Breaking changes:

  • The govuk-file-url helper has been renamed to to govuk-image-url. If you
    are using this function in your own styles you will need to update calls to
    it. (PR #726)

  • The $govuk-global-images variable has been renamed to to
    $govuk-images-path. If you are overriding this variable or using it in your
    own styles you will need to update your code to use the new variable name.
    (PR #726)

🔧 Fixes:

🆕 New features:

  • Change font delivery method from Base64 encoded strings to serving WOFF2, WOFF
    and EOT files as separate HTTP requests. You will need to ensure that you are
    serving the fonts from the assets folder as part of your application.
    (PR #726)

  • The font-face is now using font-display: fallback. This means that the
    fallback font (Arial) will be used if NTA doesn't download within 100ms. The
    browser will then swap to NTA as long as it loads within the short swap period.
    (PR #726)

  • You can now override the helpers used to generate image and font urls, for
    example if you are using sass-rails' asset-pipeline functionality.
    You can do this by setting $govuk-image-url-function and
    $govuk-font-url-function to the name of the function(s) you wish to use.
    See src/settings/_assets.scss for more information and examples.
    (PR #733)

  • Add boilerplate template, which is a Nunjucks replacement for GOV.UK Template.
    (PR #731)

🏠 Internal:

  • Improve release steps, based on doing a release
    (PR #725)

  • Fix majority of vulnerabilities flagged by npm audit
    (PR #712)

@NickColley NickColley merged commit bfba045 into master May 31, 2018
@NickColley NickColley deleted the release-0.0.31-alpha branch May 31, 2018 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants