Closed Bug 1792650 Opened 1 year ago Closed 6 months ago

Ship Object.groupBy and Map.groupBy

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
relnote-firefox --- 119+
firefox119 --- fixed

People

(Reporter: yulia, Assigned: evilpie)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

No description provided.
Keywords: dev-doc-needed
Severity: -- → N/A
Priority: -- → P3
Blocks: 1841517
Summary: Ship Array.{group, groupToMap} → Ship Object.groupBy and Map.groupBy

This is now shipping in Chrome. Is our implementation up to date and shippable?

(In reply to Tom S [:evilpie] from comment #1)

This is now shipping in Chrome. Is our implementation up to date and shippable?

Yes, I think so. Bug 1841518 updated it to match the current spec text.

Assignee: nobody → evilpies

Depends on D188229

Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/cb89bc7df1c9
Enable Object.groupBy and Map.groupBy by default. r=spidermonkey-reviewers,mgaudet
https://hg.mozilla.org/integration/autoland/rev/be325dcc5de7
Update tests. r=spidermonkey-reviewers,mgaudet
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5a72901f9845
Enable Object.groupBy and Map.groupBy by default. r=spidermonkey-reviewers,mgaudet
https://hg.mozilla.org/integration/autoland/rev/9451f52d9cd4
Update tests. r=spidermonkey-reviewers,mgaudet

Awesome! When's the next release scheduled, and for which version?

This is landing in Firefox 119. It looks like it should hit release on October 24. See the calendar here.

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Flags: needinfo?(evilpies)

:evilpie is this something you would like to nominate for a release note? https://wiki.mozilla.org/Release_Management/Release_Notes_Nomination

Flags: needinfo?(evilpies)

Release Note Request (optional, but appreciated)
[Why is this notable]: New JavaScript feature
[Affects Firefox for Android]: yes
[Suggested wording]: Easier grouping of items in an array (and iterables) by using the methods Object.groupBy or Map.groupBy.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/groupBy https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/groupBy

relnote-firefox: --- → ?
Flags: needinfo?(evilpies)

FF119 docs work for this can be tracked in https://github.com/mdn/content/issues/29303 (Mostly just compatibility data and removing experimental tagging in MDN docs).

Added to 119 beta release notes (https://www.mozilla.org/en-US/firefox/119.0beta/releasenotes/) as well as the Draft release notes for 119

You need to log in before you can comment on or make changes to this bug.