This release updates the React peer dependency to React 0.14 and drops support for React 0.13. It's doesn't work out too well for React-based libraries to try and support 0.13 and 0.14 with the React package changes.
This feature release updates React Intl's dependency on react to support 0.11.2 up to 1.0.0 (#79), has updated locale data to fix zh-Hant (#78) plus adds support for new locales, adds select-ordinal argument support to messages, and allows a "now" date to be specified on <FormattedRelative> (#94).
React 0.13+ Support
React Intl has a hard dependency on React, but stays on the happy path in terms of which React features are used. The React team has also been great with their back-compat support, so we feel confident on the change to allow React Intl to automatically opt-into all future 0.x React releases.
There's a good discussion in #79 about whether we should move React to peerDependencies. What we've concluded is that the current situation of with this React Intl's dependency on React not being flexible enough to work with future React releases is temporary — It's a symptom of React being in a 0.x major version. Once React moves to 1.x this problem goes away; but for the time being we're confident in treating React's 0.x version as if it were 1.x.
Updated Locale Data
This release has vastly improved locale data in the following ways:
Added locale data for all leaf locales which differ from their root locale's data; e.g. "zh-Hant-TW" is not the same as "zh".
Properly de-duplicate data for all CLDR locales by correctly traversing a locale's hierarchy of ancestor locales.
Added data for the following languages:
aa, agq, bas, bh, ckb, dav, dje, dsb, dua, dv, dyo, ebu, ewo, guw, guz, hsb, ia, in, iu, iw, jbo, ji, jv, jw, kaj, kam, kcg, khq, ki, kln, kok, ksf, ku, lb, lu, luo, luy, mer, mfe, mgh, mo, mua, nah, nmg, no, nqo, nus, ny, pap, prg, qu, rn, rw, sbp, sh, sma, smi, smj, smn, sms, swc, syr, tk, tl, twq, vai, wa, wo, yav, yi, zgh
Added selectordinal Support for Messages
This release adds support for selectordinal arguments in messages, which are just like plural arguments, expect the ordinal pluralization rules are used; e.g., to display which birthday your about to have:
It's my {year, selectordinal,
one {#st}
</tr></table> ... (truncated)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps react-intl from 3.9.3 to 3.11.0.
Release notes
Sourced from react-intl's releases.
Changelog
Sourced from react-intl's changelog.
Commits
807f4e3
chore(release): 3.11.01745c21
fix: update formatjs deps4a3d552
chore: add node 139355d6d
Remove 8.x from CI since it's EOL33949d5
chore: fix build issue8c3c5c7
fix: add a parser for chunks emitted from formatHTMLMessage (#1550)58b774c
chore(devs-dep): upgrade deps95298b2
feat: Allow MessageDescriptor ID to benumber
(#1553)6868bad
chore: remove invariant and use intl-utilsa6d684b
chore(release): 3.10.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)