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

fix(deps): update dependency babel-plugin-react-intl to v8 #222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
babel-plugin-react-intl ^3.0.1 -> ^8.0.0 age adoption passing confidence

Release Notes

formatjs/formatjs (babel-plugin-react-intl)

v8.2.25

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.24

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.23

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.22

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.21

Compare Source

v8.2.20

Compare Source

v8.2.19

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.18

Compare Source

Bug Fixes

v8.2.17

Compare Source

Bug Fixes

v8.2.16

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.15

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.14

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.13

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.12

Compare Source

Bug Fixes
  • babel-plugin-react-intl: lock down monorepo dep version (652daa7)

v8.2.11

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.10

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.9

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.8

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.7

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.6

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.5

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.4

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.3

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.2

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.1

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.2.0

Compare Source

Features

v8.1.11

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.1.10

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.1.9

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v8.1.8

Compare Source

Note: Version bump only for package @​formatjs/intl-relativetimeformat

v8.1.7

Compare Source

Bug Fixes

v8.1.6

Compare Source

Note: Version bump only for package @​formatjs/intl-relativetimeformat

v8.1.5

Compare Source

Note: Version bump only for package @​formatjs/intl-relativetimeformat

v8.1.4

Compare Source

v8.1.3

Compare Source

Note: Version bump only for package @​formatjs/intl-numberformat

v8.1.2

Compare Source

Note: Version bump only for package @​formatjs/intl-numberformat

v8.1.1

Compare Source

Bug Fixes

v8.1.0

Compare Source

Features

v8.0.1

Compare Source

Note: Version bump only for package @​formatjs/intl-numberformat

v8.0.0

Compare Source

Features
BREAKING CHANGES

v7.9.4

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.9.3

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.9.2

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.9.1

Compare Source

Bug Fixes
  • babel-plugin-react-intl: tweak overrideIdFn signature in options (4fd8163)

v7.9.0

Compare Source

Bug Fixes
  • babel-plugin-react-intl: default idInterpolationPattern to [contenthash:5] (1530f78)
Features
  • babel-plugin-react-intl: introduce idInterpolationPattern option (61eb96e)

v7.8.3

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.8.2

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.8.1

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.8.0

Compare Source

Features
  • babel-plugin-react-intl: add workspaceRoot option, fix #​1649 (16df60b)

v7.7.3

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.7.2

Compare Source

v7.7.1

Compare Source

v7.7.0

Compare Source

v7.5.28

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.27

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.26

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.25

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.24

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.23

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.22

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.21

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.20

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.18

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.17

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.16

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.15

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.14

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.13

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.12

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.11

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.10

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.9

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.8

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.7

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.6

Compare Source

Bug Fixes

v7.5.5

Compare Source

Note: Version bump only for package babel-plugin-react-intl

v7.5.4

Compare Source

7.5.4 (2020-04-28)

Note: Version bump only for package babel-plugin-react-intl

v7.5.3

Compare Source

v7.5.2

Compare Source

v7.5.1

Compare Source

v7.5.0

Compare Source

Features

v7.4.3

Compare Source

Note: Version bump only for package @​formatjs/intl-numberformat

v7.4.2

Compare Source

Note: Version bump only for package @​formatjs/intl-listformat

v7.4.1

Compare Source

Note: Version bump only for package @​formatjs/intl-listformat

v7.4.0

Compare Source

Features

v7.3.0

Compare Source

Features

v7.2.1

Compare Source

v7.2.0

Compare Source

v7.1.0

Compare Source

Features

v7.0.0

Compare Source

Features
BREAKING CHANGES
  1. Reduce size of the locale-data and normalize them to around 3 - 6KB
    each. This tremendously helps popular languages like en or zh where
    previous locale-data was around 20K.
  2. Normalize our CLDR processing pipeline.
  3. Get rid of runtime data unpacking which helps runtime performance.

v6.2.0

Compare Source

Bug Fixes
Features

v6.1.0

Compare Source

Features

v6.0.1

Compare Source

Note: Version bump only for package react-intl

v6.0.0

Compare Source

v5.1.18

Compare Source

v5.1.17

Compare Source

v5.1.16

Compare Source

v5.1.15

Compare Source

v5.1.14

Compare Source

v5.1.13

Compare Source

v5.1.12

Compare Source

Note: Version bump only for package @​formatjs/cli

v5.1.11

Compare Source

Note: Version bump only for package @​formatjs/cli

v5.1.10

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v5.1.9

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v5.1.8

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v5.1.7

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v5.1.6

Compare Source

Note: Version bump only for package @​formatjs/cli

v5.1.5

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v5.1.4

Compare Source

Note: Version bump only for package @​formatjs/cli

v5.1.3

Compare Source

Bug Fixes

v5.1.2

Compare Source

Note: Version bump only for package @​formatjs/cli

v5.1.1

Compare Source

Note: Version bump only for package @​formatjs/cli

v5.1.0

Compare Source

v5.0.0

Compare Source

Features
  • intl-messageformat: make FormatXMLElementFn non-variadic (f2963bf)
  • react-intl: fail fast when intl Provider is missing (42fa3c1)
  • react-intl: merge chunks in FormatXMLElementFn (1b5892f), closes #​1623
BREAKING CHANGES
  • react-intl: This also comes from Dropbox internal developer feedback. FormattedMessage has a default English renderer that masks Provider setup issues which causes them to not be handled during testing phase.
  • intl-messageformat: This effectively change the signature for formatter
    function from (...chunks) => any to (chunks) => any. This solves a
    couple of issues:
  1. We received user feedback that variadic function is not as ergonomic
  2. Right now there's not way to distinguish between 2 chunks that have
    the same tag, e.g <b>on</b> and <b>on</b>. The function would
    receive 2 chunks that are identical. By consoliding to the 1st param we
    can reserve additional params to provide mode metadata in the future
  • react-intl: This turns rich text formatting callback function to
    non-variadic. So (...chunks) => React.ReactNode becomes (chunks) => React.ReactNode. This solves a couple of issues:
  1. We receive feedback that variadic callback fn is not ergonomic
  2. This solves the missing key issue when we render rich text
  3. This allows us to utilize extra param to distinguish when 2 React
    element are exactly the same except for their indices, e.g <b>one</b> and <b>one</b> and you want to render them differently

v4.3.0

Compare Source

Features

v4.1.21

Compare Source

v4.1.20

Compare Source

v4.1.19

Compare Source

v4.1.18

Compare Source

v4.1.17

Compare Source

v4.1.16

Compare Source

v4.1.15

Compare Source

v4.1.14

Compare Source

v4.1.13

Compare Source

v4.1.12

Compare Source

v4.1.11

Compare Source

v4.1.10

Compare Source

v4.1.9

Compare Source

v4.1.8

Compare Source

v4.1.7

Compare Source

v4.1.6

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v4.1.5

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v4.1.4

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v4.1.3

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v4.1.2

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v4.1.0

Compare Source

⚠ BREAKING CHANGES
  • Introduce ReactIntlErrorCode so we can distinguish and log things differently (5b2b034)

  • onError method signature has changed to

onError(err: ReactIntlError | FormatError): void

v4.0.1

Compare Source

Note: Version bump only for package @​formatjs/intl-pluralrules

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • This release contains subtle changes to the way we handle embedded HTML Message:
  1. All tags specified must have corresponding values and will throw
    error if it's missing, e.g:
new IntlMessageFormat("a<b>strong</b>").format({ b: (...chunks) => <strong>chunks</strong> })
  1. We don't allow formatting self-closing tags because we already use ICU {placeholder} syntax for that.
  2. XML/HTML tags are escaped using apostrophe just like other ICU constructs.
  3. Remove dependency on DOMParser and restrictions on void element like <link>. This effectively means you don't need to polyfill DOMParser in Node anymore.
  4. FormattedHTMLMessage & intl.formatHTMLMessage have been removed since FormattedMessage now fully supports embedded HTML tag.
Why are we doing those changes?
  • FormattedHTMLMessage & intl.formatHTMLMessage were originally created when React was fairly new. These components helped ease migration over from raw HTML to JSX. Given that current popularity of React right now and the fact that FormattedMessage allow rendering embedded HTML tag, this is no longer needed.
  • Initially during the 1st iteration of embedded HTML support, we allow any tag that doesn’t have a corresponding formatter to be rendered as raw HTML. We’ve received feedbacks internally that allowing embedded HTML tag to be rendered as-is without sanitization is a XSS security risk. Therefore, in order to allow raw HTML tag you have to opt-in by escaping them using apostrophe. We will update our linter to check for this as well.
Features
  • Upgrade intl-messageformat & intl-messageformat-parser, remove FormattedHTMLMessage (fae69e9)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants