Skip to content

feat: v20#305

Merged
wolfy1339 merged 16 commits intomainfrom
beta
Jul 11, 2023
Merged

feat: v20#305
wolfy1339 merged 16 commits intomainfrom
beta

Conversation

@wolfy1339
Copy link
Copy Markdown
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
Copy Markdown

@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!

Comment thread package.json Outdated
styfle

This comment was marked as resolved.

Comment thread .github/workflows/test.yml
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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