Skip to content

Commit

Permalink
Merge pull request #1812 from alphagov/add-release-note-deprecations
Browse files Browse the repository at this point in the history
Add deprecation in #1807 to changelog, and add missing PR link for #1804
  • Loading branch information
36degrees authored May 20, 2020
2 parents ac66066 + 6c8d30b commit 4f8e86e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,26 @@ For example:
@import "node_modules/govuk-frontend/govuk/components/header";
```

[Pull request #1804: Allow components to be imported without dependencies](https://github.com/alphagov/govuk-frontend/pull/1804).


### Deprecations

#### Importing files from the core or overrides layers

If you import specific files from the core or overrides layers, you should import the `base` file first:

```scss
@import "node_modules/govuk-frontend/govuk/base";

@import "node_modules/govuk-frontend/core/typography";
```

Importing files from the core or overrides layers without importing `base` will [no longer work as of GOV.UK Frontend v4.0](https://github.com/alphagov/govuk-frontend/issues/1800).

[Pull request #1807: Warn if importing core, overrides without dependencies](https://github.com/alphagov/govuk-frontend/pull/1807).


### Fixes

- [Pull request #1753: Make back link arrow consistent with breadcrumb component](https://github.com/alphagov/govuk-frontend/pull/1753)
Expand Down

0 comments on commit 4f8e86e

Please sign in to comment.