- #1156
9ece2726
Thanks @mrmckeb! - Improves support for TypeScript'sexactOptionalPropertyTypes
by allowingundefined
to be passed to optional properties.
- Updated dependencies [
c45d445b
,9ece2726
]:- @segment/[email protected]
- Updated dependencies [
5647624c
]:- @segment/[email protected]
- Updated dependencies [
e884b61
,e884b61
]:- @segment/[email protected]
- Updated dependencies [
3c37def
,1635e42
]:- @segment/[email protected]
-
#1043
95fd2fd
Thanks @silesky! - This ensures backward compatibility with analytics-node by modifying '@segment/analytics-core'. Specifically, the changes prevent the generation of a messageId if it is already set. This adjustment aligns with the behavior outlined in analytics-node's source code here.While this is a core release, only the node library is affected, as the browser has its own EventFactory atm.
- Updated dependencies [
95fd2fd
,d212633
]:- @segment/[email protected]
- @segment/[email protected]
- #935
833ade8
Thanks @MichaelGHSeg! - Removing support for Node.js 14 and 16 as they are EOL
-
#935
833ade8
Thanks @MichaelGHSeg! - Support for Segment OAuth2OAuth2 must be enabled from the Segment dashboard. You will need a PEM format private/public key pair. Once you've uploaded your public key, you will need the OAuth Client Id, the Key Id, and your private key. You can set these in the new OAuthSettings type and provide it in your Analytics configuration.
Note: This introduces a breaking change only if you have implemented a custom HTTPClient. HTTPClientRequest
data: Record<string, any>
has changed tobody: string
. Processing data into a string now occurs before calls tomakeRequest
- #1008
e57960e
Thanks @danieljackins! - Change segmentio to destination type
- #1015
8fbe1a0
Thanks @silesky! - DeprecatemaxEventsInBatch
in favor of our commonly used:flushAt
. The purpose is to establish consistency between our SDKs, regardless of language.
- Updated dependencies [
7b93e7b
]:- @segment/[email protected]
- @segment/[email protected]
- Updated dependencies [
d9b47c4
,d9b47c4
]:- @segment/[email protected]
- @segment/[email protected]
-
#974
c879377
Thanks @silesky! - Refactor to get createDeferred from @segment/analytics-generic-utils lib -
Updated dependencies [
c879377
]:- @segment/[email protected]
- Updated dependencies [
897f4cc
]:- @segment/[email protected]
-
#946
edfb8b5
Thanks @danieljackins! - Include sentAt field in payload -
Updated dependencies [
ee855ba
]:- @segment/[email protected]