chore(release): version package - #44
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
trakoo@2.0.0
Major Changes
Move the SDK-backed providers into their own packages so installing one provider never involves another provider's SDK (#43)
Core declared every provider SDK as an optional peer. npm checks an optional peer whenever that package is already installed, so an OpenPanel user who had
posthog-node@4for unrelated reasons could not install trakoo at all (ERESOLVE ... peerOptional posthog-node@"^5.9.0"). The PostHog config types re-exported fromtrakoo/clientandtrakoo/serveralso failed to resolve underskipLibCheck: falseunless PostHog was installed.Core now declares no provider SDK. Install the adapter for each SDK-backed provider next to its SDK:
trakoo/providers/client,trakoo/providers/server,trakoo/client,trakoo/server@trakoo/posthog/client,@trakoo/posthog/servertrakoo/providers/client,trakoo/providers/server@trakoo/openpanel/client,@trakoo/openpanel/servertrakoo/providers/server@trakoo/bento/servertrakoo/providers/server@trakoo/emitkit/serverThe provider config types moved with their providers:
PostHogClientConfig,PostHogConfig,PostHogOptions,OpenPanelClientConfig,OpenPanelServerConfig, the OpenPanel delivery-failure types,BentoServerConfig,BentoAnalyticsOptionsandEmitKitServerConfig. Bento's browser provider, Pirsch, Visitors and the proxy need no SDK and stay intrakoo/providers/*.BaseAnalyticsProvideris now also exported from the roottrakooentry.Patch Changes
trakooinstead ofstacksee-analytics. (#43)@trakoo/bento@1.0.0
Major Changes
First release of the Bento server provider as its own package, moved out of trakoo core. Import
BentoServerProviderfrom@trakoo/bento/server; Bento's browser provider stays intrakoo/providers/client. Supports@bentonow/bento-node-sdk0.2 and 2.x. (#43)Changes from the trakoo 1.x provider:
identify()updates the subscriber's fields with$update_fieldsinstead of sending$subscribe, which subscribed the person to marketing email and re-ran subscribe automations on every call. Call Bento'sV1.addSubscriber()directly to subscribe someone.track()sends the event time as Bento's eventdate.Patch Changes
019013c,019013c]:@trakoo/emitkit@1.0.0
Major Changes
First release of the EmitKit provider as its own package, moved out of trakoo core. Import
EmitKitServerProviderfrom@trakoo/emitkit/server. (#43)Changes from the trakoo 1.x provider:
@emitkit/js3.deviceandservermetadata, so it no longer appears in the EmitKit feed and its notifications.emailtrait is no longer sent as an alias, which EmitKit rejected.source: "trakoo"instead of"stacksee-analytics".Patch Changes
019013c,019013c]:@trakoo/openpanel@1.0.0
Major Changes
First release of the OpenPanel providers as their own package, moved out of trakoo core. Import
OpenPanelClientProviderfrom@trakoo/openpanel/clientandOpenPanelServerProviderfrom@trakoo/openpanel/server. (#43)Changes from the trakoo 1.x providers:
device.userAgentthrough when the request has no user agent header, so a client could trigger this. Adevice.ipthat cannot be sent is removed from the event'sdeviceproperties, as a valid one already was, instead of being stored there.waitForProfileordisabledcould previously queue events on the shared client and attribute one request's events to another user.Patch Changes
019013c,019013c]:@trakoo/posthog@1.0.0
Major Changes
First release of the PostHog providers as their own package, moved out of trakoo core. Import
PostHogClientProviderfrom@trakoo/posthog/clientandPostHogServerProviderfrom@trakoo/posthog/server. (#43)Changes from the trakoo 1.x providers:
"anonymous"person. Each gets its own distinct ID and$process_person_profile: false, as PostHog recommends, so anonymous traffic stops accumulating on a single person and unique-user counts change.context.server, falling back tocontext.device) as$ipand$raw_user_agent, the page as$current_url(page.url, falling back topage.path), and the campaign asutm_source,utm_mediumandutm_campaign. GeoIP runs on events that carry a visitor IP unlessdisableGeoipis set. The IP is no longer stored inside thedeviceproperty.timestampproperty.https://us.i.posthog.com, instead of the legacyhttps://app.posthog.com. EU projects still sethost.$current_urlinstead of replacing it with the path from the lastpageView().Patch Changes
019013c,019013c]: