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

feat: v20 #305

Merged
merged 16 commits into from
Jul 11, 2023
Merged

feat: v20 #305

merged 16 commits into from
Jul 11, 2023

Conversation

wolfy1339
Copy link
Member

BREAKING CHANGE: Drop support for NodeJS v14, v16

BREAKING CHANGE: Drop support for NodeJS v14, v16
@wolfy1339 wolfy1339 added Type: Feature New feature or request Type: Breaking change Used to note any change that requires a major version bump labels Jun 3, 2023
Copy link

@styfle styfle left a comment

Choose a reason for hiding this comment

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

Thanks!

package.json Outdated Show resolved Hide resolved
styfle

This comment was marked as resolved.

.github/workflows/test.yml Outdated Show resolved Hide resolved
Comment on lines +27 to +36
// To-Do: Figure out why the objects are not strictly equal
expect(JSON.stringify(error.response.data.errors)).toStrictEqual(
JSON.stringify([
{
resource: "Label",
code: "invalid",
field: "color",
},
]),
);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the same situation as in octokit/core.js#563

octokit/core.js#563 (comment)

This will need to be handled in a follow-up issue

Copy link
Member Author

Choose a reason for hiding this comment

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

 FAIL  test/scenarios/errors.test.ts
  ● api.github.com › (#684) errors-test

    expect(received).toStrictEqual(expected) // deep equality

    Expected: [{"code": "invalid", "field": "color", "resource": "Label"}]
    Received: serializes to the same string

      25 |           `Validation Failed: {"resource":"Label","code":"invalid","field":"color"}`,
      26 |         );
    > 27 |         expect(error.response.data.errors).toStrictEqual([
         |                                            ^
      28 |           {
      29 |             resource: "Label",
      30 |             code: "invalid",

      at test/scenarios/errors.test.ts:27:44

Copy link
Member

Choose a reason for hiding this comment

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

Addressed in octokit/core.js#588

@wolfy1339 wolfy1339 marked this pull request as ready for review July 10, 2023 22:30
@wolfy1339 wolfy1339 merged commit 5429dfd into main Jul 11, 2023
@wolfy1339 wolfy1339 deleted the beta branch July 11, 2023 14:08
@github-actions
Copy link
Contributor

🎉 This PR is included in version 20.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Type: Breaking change Used to note any change that requires a major version bump Type: Feature New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants