Skip to content

Conversation

@pquentin
Copy link
Member

We sometimes want to make breaking changes but have to wait until the next major version. To not forget about those, this commit introduces an UpdateForV10 JSDoc tag that can be used in any comment. There are a few benefits of using JSDoc instead of a simple TODO comment:

  • With the allowlist of tags in our ESLint config, we can't make typos
  • We enforce a proper description to explain why the breaking change needs to be made

Note that this tag has the same name as the Elasticsearch UpdateForV10 annotation, which will prove useful when the Elasticsearch specification becomes part of the Elasticsearch repository in the future.

Since we're now using https://github.com/gajus/eslint-plugin-jsdoc, this pull request also applies a number of useful fixes.

We sometimes want to make breaking changes but have to wait until the next major version. To not forget about those, this commit introduces an UpdateForV10 JSDoc tag that can be used in any commment. There are a few benefits of using JSDoc instead of a simple TODO comment: * With the allowlist of tags in our eslint config, we can't make typos * We enforce a proper description to explain why the breaking change needs to be made Note that this tag has the same name as the Elasticsearch UpdateForV10 annotation, as we'll migrate to Elasticsearch in the future.
@github-actions
Copy link
Contributor

Following you can find the validation changes against the target branch for the APIs.

No changes detected.

You can validate these APIs yourself by using the make validate target.

Copy link
Member

@JoshMock JoshMock left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment