Skip to content

@discordjs/collection@2.0.0

Compare
Choose a tag to compare
@vladfrangu vladfrangu released this 12 Nov 19:20
· 230 commits to main since this release
418032a

Documentation

Features

  • Return entries instead of values in toJSON method (#9345) (defeee5)
  • Align some methods with the Change By Copy proposal (#9207) (65966ae)
    • BREAKING CHANGE: The sorted method has been renamed to toSorted
  • Align some methods with the Set Methods proposal (#8890) (3b8df63)
    • BREAKING CHANGE: The intersect method has been renamed to intersection
    • BREAKING CHANGE: The difference method has been renamed to symmetricDifference
    • BREAKING CHANGE: The subtract method has been renamed to difference
  • Support findLast and reduceRight methods (#9573) (ac64508)