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

Commit 6c930ff

Browse files
committed
docs: add breaking change for validateSuffixes (#699)
* Add the breaking change for the removal of `validateSuffixes` to the CHANGELOG
1 parent 8605cd6 commit 6c930ff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@
66

77
* **tokens:** * `fxFlex` no longer adds `display: flex; flex-direction: row` by
88
default
9+
* **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)
910

11+
BEFORE:
12+
13+
`import {validateSuffixes} from '@angular/flex-layout';`
14+
15+
AFTER:
16+
17+
`import {DEFAULT_BREAKPOINTS_PROVIDER_FACTORY} from '@angular/flex-layout';`
18+
19+
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.
1020

1121
### Bug Fixes
1222

0 commit comments

Comments
 (0)