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

fix!: core-7-deprecations #1045

Merged
merged 31 commits into from
Apr 10, 2024
Merged

fix!: core-7-deprecations #1045

merged 31 commits into from
Apr 10, 2024

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Apr 2, 2024

[DO NOT MERGE] Verifying these deprecations are unused by our code, in case changes need to be made to consume core-7

What does this PR do?

  • see the v6=>v7 migration doc for more details
  • removes deprecated stuff
  • usability and type enhancements for SfError
  • fix code flagged by https://eslint.org/docs/latest/rules/no-param-reassign
  • some changes to messages for the es2022 error changes (namedError => sfError)
  • swap jsforce
  • migration doc
  • interface => type (mostly, a few eslint comments)
  • top-level exports (we can expand these over time without it being a breaking change)

What issues does this PR fix or reference?

@W-15387805@

Base automatically changed from sm/v4-prep to main April 4, 2024 16:25
@mshanemc mshanemc marked this pull request as ready for review April 9, 2024 17:52
cristiand391
cristiand391 previously approved these changes Apr 9, 2024
shetzel
shetzel previously approved these changes Apr 9, 2024
name: this.name,
message: this.message ?? this.name,
exitCode: this.exitCode,
actions: this.actions,
...(this.context ? { context: this.context } : {}),
...(this.data ? { data: this.data } : {}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still can't type this better than JsonMap?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, we can!

@mshanemc mshanemc dismissed stale reviews from shetzel and cristiand391 via d104d0a April 9, 2024 21:44
shetzel
shetzel previously approved these changes Apr 9, 2024
@mshanemc mshanemc requested a review from a team as a code owner April 10, 2024 12:20
@mshanemc mshanemc merged commit 515011c into main Apr 10, 2024
29 of 67 checks passed
@mshanemc mshanemc deleted the sm/core-7-deprecations branch April 10, 2024 12:42
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

Successfully merging this pull request may close these issues.

4 participants