← Back to release summary

Deprecate getters of Intl Locale Info

Category
JavaScript
Type
Feature removal
Status
Origin trial (Chrome 143)
Intent stage
None

Summary

Intl Locale Info API is a Stage 3 ECMAScript TC39 proposal to enhance the Intl.Locale object by exposing Locale information, such as week data (first day in a week, weekend start day, weekend end day, minimun day in the first week), and text direction hour cycle used in the locale. https://github.com/tc39/proposal-intl-locale-info We ship our implementation in m99 (https://chromestatus.com/feature/5566859262820352 ) . But later on the propose made some change in Stage 3 and move several getters to functions. We need to remove the deprecated getters and relaunch the renamed functions

Motivation

Intl Locale Info API advanced to Stage 3 in Stage 3 in 2021-04 TC39 and v8 ship with that in m99 But in 2022-11 TC39 meeting , TC39 decide to change getters to functions and the spec change merged in Jan 31, 2023 https://github.com/tc39/proposal-intl-locale-info/pull/67 Since Mozilla have not yet launched any thing of this spec yet and Safari update their implementation in September 18, 2023 in Version 17. We believe this deprecation should be safe. The new functions is already launched in m130 as in https://chromestatus.com/feature/5122839207477248

Standards & signals

Docs: https://docs.google.com/document/d/1BSpa-LKE69LL1g5CHZ3G06XEfffauwS24atfSUQiIDY/edit

Samples: https://github.com/tc39/proposal-intl-locale-info

View on chromestatus.com