Project

General

Profile

Refactor #30665

Refactor #29606: Upgrade react-intl to 3.0

use the browser native intl and stop providing polyfills

Added by Avi Sharvit almost 2 years ago. Updated 29 days ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-

Description

1. The `intl` polyfills are no longer maintained: https://github.com/andyearnshaw/Intl.js
2. `react-intl` dropped their polyfills in v3 because "these APIs are all stable and being implemented in modern browsers".
See `react-intl` upgrade guide: https://formatjs.io/docs/react-intl/upgrade-guide-3x

Therefore it make sense relying on the native intl.


Related issues

Blocks Foreman - Refactor #34392: Use child functions from react-intlNew

Associated revisions

Revision dbea2484 (diff)
Added by Avi Sharvit 6 months ago

Fixes #30665 - drop the intl polyfills

drop the intl polyfills and rely on the browser native intl
drop the old javascript webpack-vendor file as it only contain polyfills

History

#1 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7910 added

#2 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 3.2.0 added

#3 Updated by Avi Sharvit 6 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Ondřej Ezr 4 months ago

  • Fixed in Releases deleted (3.2.0)
  • Pull request https://github.com/theforeman/foreman/pull/8991 added

#5 Updated by Ondřej Ezr 4 months ago

  • Status changed from Closed to New

#6 Updated by Ondřej Ezr 4 months ago

#7 Updated by The Foreman Bot 29 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9198 added

Also available in: Atom PDF