-
Notifications
You must be signed in to change notification settings - Fork 135
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
Node: deprecate maxEventsInBatch
in favor of flushAt
#1015
Conversation
🦋 Changeset detectedLatest commit: 91493c0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
maxEventsInBach
to flushAt
maxEventsInBach
to flushAt
maxEventsInBatch
in favor of flushAt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, just a few comments.
.changeset/fifty-trains-act.md
Outdated
@@ -0,0 +1,5 @@ | |||
--- | |||
'@segment/analytics-node': major |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to coordinate with @MichaelGHSeg to add the breaking changes he needs to make for oauth so they both get included when we bump this (if you haven't coordinated already)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some internet research and the SemVar specification specifically says to bump the minor version for deprecation, so updated!
7ce0d51
to
03b3f90
Compare
Deprecate
maxEventsInBatch
in favor offlushAt
. The purpose is to establish consistency between our SDKs, regardless of language.(Basically, let's go back to the original naming of maxEventsInBatch)
Docs Change: segmentio/segment-docs#5808