Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 #23

Open
11 tasks
CMEONE opened this issue Oct 28, 2021 · 2 comments
Open
11 tasks

v2 #23

CMEONE opened this issue Oct 28, 2021 · 2 comments
Milestone

Comments

@CMEONE
Copy link
Member

CMEONE commented Oct 28, 2021

For v2, we are planning a breaking change to organize methods into subcategories (.array, .object, .string, and .pad).

  • Update the code to add .array category (stringToArray => array.fromString and string.toArray, duplicateArray => array.duplicate, deepDuplicateArray => array.deepDuplicate, differenceOfArrays => array.difference, sumOfArrays => array.sum, mergeArrays => array.merge, shuffleArray => array.shuffle, reverseArray => array.reverse, chunkArray => array.chunk, average => array.average, flattenArray => array.flatten, deepFlattenArray => array.deepFlatten, fillArray => array.fill, partitionArray => array.partition)
  • Update the code to add .object category (duplicateObject => object.duplicate, deepDuplicateObject => object.deepDuplicate, differenceOfObjects => object.difference, mergeObjects => object.merge, partitionObject => object.partition)
  • Update the code to add .string category (stringToArray => string.toArray and array.fromString, capitalize => string.capitalize, escape => string.escape, unescape => string.unescape)
  • Update the code to add .pad category (pad => pad.string, padStart => pad.stringStart, padEnd => pad.stringEnd, padArray => pad.array, padArrayStart => pad.arrayStart, padArrayEnd => pad.arrayEnd)
  • Reorganize test cases for .array category
  • Reorganize test cases for .string category
  • Reorganize test cases for .pad category
  • Make minor modifications to the README for .array category
  • Make minor modifications to the README for .string category
  • Make minor modifications to the README for .pad category
  • Create migration guide from v1 to v2
@CMEONE CMEONE added this to the v2 milestone Oct 28, 2021
@CMEONE CMEONE pinned this issue Oct 28, 2021
@CMEONE
Copy link
Member Author

CMEONE commented Oct 28, 2021

All commits for v2 should target the v2-staging branch.

@winniecarole
Copy link

Hi I would like to solve this issue .Can I try it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants