Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

docs: add breaking change for validateSuffixes #699

Merged
merged 2 commits into from
Apr 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@

* **tokens:** * `fxFlex` no longer adds `display: flex; flex-direction: row` by
default
* **validateSuffixes:** * `validateSuffixes` is no longer exported for public use. Please use the new [BreakPoints API](https://github.com/angular/flex-layout/wiki/Breakpoints). If you must use `validateSuffixes`, please use `DEFAULT_BREAKPOINTS_PROVIDER_FACTORY`, which is a deprecated wrapper around `validateSuffixes` (please note this has already been removed in the nightly builds, and will be removed completely in the next release)

BEFORE:

`import {validateSuffixes} from '@angular/flex-layout';`

AFTER:

`import {DEFAULT_BREAKPOINTS_PROVIDER_FACTORY} from '@angular/flex-layout';`

The functions can be called in the exact same manner, as `DEFAULT_BREAKPOINTS_PROVIDER_FACTORY` is simply a wrapper around `validateSuffixes`. Please note that `DEFAULT_BREAKPOINTS_PROVIDER_FACTORY` is deprecated in this release.

### Bug Fixes

Expand Down