Releases: giraugh/tools
Releases · giraugh/tools
v2.3.1
v2.3.0
v2.2.0
v2.1.0
v2.0.0
Major Changes
-
9334ab0: Change return of
groupArrayBy
to an object of groups.This allows for more flexibility when working with groups. To migrate existing code that uses groupArrayBy, simply wrap the call with
Object.values()
// If you had this before const usersByRole = groupArrayBy(users, (user) => user.role); // Change it to this const usersByRole = Object.values(groupArrayBy(users, (user) => user.role));