Changelog

tc39/ecma262 · · 9 commits

JSON.parse gets source-text context

ES2027 title bump lands alongside a new JSON parse record, raw JSON detection, and source-text-aware reviver support.

JSON.parse gains source-text-aware reviver context (gibson0421bc43d5)

JSON.parse now tracks the original parse record and passes a third reviver argument with source text for primitive values when the property is unmodified. The new machinery also adds JSON.isRawJSON and updates JSON.stringify/CreateDefaultExportSyntheticModule plumbing to use the parsed record’s value explicitly.

ECMAScript 2027 becomes the new main draft (ljharbd093df5)

The spec metadata, intro, and scope now refer to ECMAScript 2027 instead of 2026, and the project-editor roster is updated for the new edition. This is the annual edition rollover and signals the spec is now tracking the next language release.

Other misc changes

  • April Fools editorial styling tweak for the published spec page (michaelficarra919978a)
  • Editorial/spec wording and autolink fixes: [[AsyncEvaluationOrder]], ReturnIfAbrupt, Abstract Closure capitalization, enum denotation, and JSON internalize alias naming (nicolo-ribaudo0248456, michaelficarra20b75f8, gibson042213d3b9, michaelficarrac92ca55, gibson042e63c83d)
  • PR preview comment text updated to say “preview” (gibson0421795e9f)