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

Deprecate Array.prototype functions #6140

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

distantnative
Copy link
Member

@distantnative distantnative commented Jan 13, 2024

This PR …

Refactored

  • New this.$helper.array. functions: fromObject, sortBy, split, wrap

Deprecated

  • Array.fromObject() has been deprecated. Use this.$helper.array.fromObject() instead.
  • Array.wrap() has been deprecated. Use this.$helper.array.wrap() instead.
  • myArray.sortBy() has been deprecated. Use this.$helper.array.sortBy(myArray) instead.
  • myArray.split() has been deprecated. Use this.$helper.array.split(myArray) instead.

Ready?

  • Unit tests for fixed bug/feature
  • In-code documentation (wherever needed)
  • Tests and checks all pass

For review team

  • Add changes to release notes draft in Notion

@distantnative distantnative added the type: refactoring ♻️ Is about bad code; cleans up code label Jan 13, 2024
@distantnative distantnative added this to the 4.1.0 milestone Jan 13, 2024
@distantnative distantnative requested a review from a team January 13, 2024 09:52
@distantnative distantnative self-assigned this Jan 13, 2024
@distantnative distantnative merged commit 1966ecb into develop-minor Jan 15, 2024
4 checks passed
@distantnative distantnative deleted the fix/array-prototype-functions branch January 15, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactoring ♻️ Is about bad code; cleans up code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants