12.0.0-rc.4
Pre-release
Pre-release
💥 Breaking Change
- Fix some
Intlbindings (Intl.Collator.supportedLocalesOf,Intl.DateTimeFormat.supportedLocalesOf,Intl.ListFormat.supportedLocalesOf,Intl.NumberFormat.supportedLocalesOf,Intl.PluralRules.supportedLocalesOf,Intl.RelativeTimeFormat.supportedLocalesOf,Intl.Segmenter.supportedLocalesOf) which returnarray<string>and not their corresponding main typet. Also removeIntl.PluralRules.selectBigIntandIntl.PluralRules.selectRangeBigIntwhich don't work in many JS runtimes. #7995
🐛 Bug fix
- Fix fatal compiler error that occurred when an
%ffiextension point contained invalid JavaScript. #7998
💅 Polish
- Dedicated error messages for old Reason array literal syntax (
[|and|]), and for the old pipe (|>). Primarly intended to help LLMs that might try to use old code patterns. #8010