segmentio / analytics-next

Segment Analytics.js 2.0
https://segment.com/docs/connections/sources/catalog/libraries/website/javascript
MIT License
403 stars 136 forks source link

Node: deprecate `maxEventsInBatch` in favor of `flushAt` #1015

Closed silesky closed 9 months ago

silesky commented 9 months ago

Deprecate maxEventsInBatch in favor of flushAt. 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: https://github.com/segmentio/segment-docs/pull/5808

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: 91493c073f577a2777894c4da884c59881bb678b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------------- | ----- | | @segment/analytics-node | Minor |

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