Togo
Togo
Apply for the betaSign in

Changelog

Changelog

What changed, and when it reached production.

  1. @togohq/sdk-node 2.5.0

    Version 2.5.0 introduces new limits on event and property names and improves serverless function warnings

    • Node.js SDK

    New

    • Event and Property Name Length: Event and property names can now be up to 255 characters, allowing for greater flexibility and compatibility with other tools.
    • Serverless Warning: A warning is now logged when the timer sends in a serverless function, helping to identify potential data loss issues.

    Improved

    • onError now includes the property name for reports about unusable names and cuts, providing more detailed error information.

    Fixed

    • Serverless Warning Logic: The serverless warning now requires two timer sends with no flush between, correcting previous behavior.
    • Memory Usage: Only the IDs of evicted events are held until they are reported, reducing memory usage during outages.
  2. @togohq/sdk-browser 2.5.0

    Version 2.5.0 introduces web autocapture and improves event handling

    • Browser SDK

    New

    • Web Autocapture: Automatically captures $page_viewed and $page_left events with visible time and scroll depth.

    Improved

    • AutocaptureOptions is now exported from the package entry point, simplifying type imports.

    Fixed

    • Autocapture: Disabled clients now correctly stop autocapture, preventing unnecessary event listeners.
    • Autocapture: Correctly handles scroll events from elements like carousels, ensuring accurate page depth measurement.
    • Autocapture: Ensures a view ended by a path change retains its own scroll depth.
    • Autocapture: New views in single-page apps no longer start with the previous page's scroll depth.
    • The page-close batch now skips oversized events instead of stopping, ensuring other events are sent.
    • A full queue no longer evicts events that are currently uploading, preventing false loss reports.
    • The page-close send now operates independently of ongoing uploads, ensuring events are sent before page unload.
    • Unserializable events are dropped at track() to prevent blocking subsequent batches.
  3. Togo v0.3.36

    New default for person property copying and improved event definition editing

    • Dashboard
    • API
    • Ingestion
    • MCP

    New

    • A new person property's "Copy onto this person's events" checkbox now starts ticked by default in the dashboard.
    • The dashboard now includes an Issues tab displaying open issue counts on the registry and Overview, helping users track and manage issues more effectively.

    Improved

    • Members can now edit every definition field and a person's values directly in the dashboard, aligning with agent capabilities over MCP.
  4. ai.togohq:sdk-android 1.0.0

    The first release of the Android SDK introduces core features for app lifecycle management and event tracking

    • Android SDK

    New

    • Togo.setup() initializes the SDK with configuration options, setting up the app for event tracking and lifecycle management.
    • track() allows tracking of custom events, storing them in a durable queue for reliable delivery.
    • identify() and setPersonProperties() manage user identity and properties, supporting personalized user experiences.
    • setConsent() and getConsent() manage user consent for data collection, ensuring compliance with privacy regulations.
    • flush() sends queued events to the server, ensuring data is transmitted efficiently.
    • The SDK manages app lifecycle events, automatically tracking app installs, updates, and session starts.
    • A durable queue stores events on disk, ensuring data persistence across app restarts.
    • The SDK supports a 256 KiB event size limit and an 8 MiB queue size, managing data efficiently.
    • The SDK is compatible with Android 5.0 (API 21) and later, supporting a wide range of devices.
    • Semantic versioning is followed from this release onward, ensuring predictable versioning.

    Improved

    • Semantic versioning. The public API is now stable: from this version on, a breaking change ships only in a new major version.
  5. togohq/sdk-ios 1.0.0

    The first release of the Togo iOS SDK, providing event tracking and user identification capabilities

    • iOS SDK

    New

    • Togo.setup() initializes the SDK with configuration options, setting up event tracking and user identification.
    • Togo.track() allows tracking of custom events with properties, supporting up to 256 properties per event.
    • Togo.identify() sets a unique user identifier, associating events with a specific user.
    • Togo.setPersonProperties() updates user profile properties, including typed fields for email and name.
    • Togo.setConsent() manages user consent states, affecting data collection and storage.
    • Togo.getConsent() retrieves the current consent state of the user.
    • Togo.getAnonymousId() returns the anonymous identifier used for tracking before user identification.
    • Togo.getDeviceId() provides the device identifier used in event tracking.
    • Togo.getSessionId() retrieves the current session identifier, if sessions are enabled.
    • Togo.flush() sends all queued events to the server immediately.
    • The SDK supports offline event queuing, persisting events until they can be sent.
    • Events are batched and sent with a 256 KiB limit per event and an 8 MiB queue limit.
    • The SDK includes a privacy manifest declaring collected data types and purposes.
    • A minimal example app demonstrates SDK setup and event tracking.
    • The SDK follows semantic versioning from this release onwards.

    Improved

    • Semantic versioning. The public API is now stable: from this version on, a breaking change ships only in a new major version.
  6. TogoHq.Sdk 1.0.0

    The first release of TogoHq.Sdk for .NET provides robust event tracking and serverless function integration

    • .NET SDK

    Breaking

    • Property Management: Supports typed Email and Name properties, with reserved property key handling.

    New

    • TogoClient: Provides core functionalities including Track, SetPersonProperties, FlushAsync, and DisposeAsync for event tracking.
    • Azure Functions Integration: The TogoHq.Sdk.Functions.Worker package supports Azure Functions with isolated worker integration.
    • Serverless Environment Support: Warns when the timer sends in a serverless function, ensuring efficient resource usage.
    • Event Size Limits: Enforces a 256 KiB event limit and a 32 MiB queue limit, with evicted events reported.
    • OnError Reporting: Reports every loss with detailed error codes, aiding in debugging and error tracking.
    • AppVersion and AppBuild Options: Allows setting application version and build information in event batches.
    • Environment Configuration: Disables the client for invalid endpoint configurations, ensuring correct data routing.

    Improved

    • Semantic versioning. The public API is now stable: from this version on, a breaking change ships only in a new major version.

    Migration

    Replace PersonPropertyOperations with PersonPropertyUpdate for property management.

    Before
    client.SetPersonProperties(new PersonPropertyOperations { Email = user.email });
    After
    client.SetPersonProperties(new PersonPropertyUpdate { Email = user.email });

    The old form stops working in 1.0.0.

  7. Togo v0.3.30

    Support for longer event and property names and improved Live View display

    • Dashboard
    • API

    New

    • Event and property names can now be up to 255 characters long, allowing for more descriptive naming.
    • The dashboard's Event registry and the MCP get_event tool now list the new reserved property $manufacturer, which can be used for grouping and filtering queries.

    Improved

    • Live View now truncates long customer names and values in the middle, shows the full value on hover, and allows copying in one click.
  8. Togo v0.3.29

    Enforcement of size limits and improved handling of oversized events

    • Ingestion

    New

    • Requests exceeding the 5 MiB limit are now processed through R2, and events over 256 KiB are refused with an event_too_large error.
    • Events with more than 256 properties are now enqueued with the first 256 properties, and the dropped properties are forwarded to the inspector.

    Improved

    • Property values that exceed the maximum length are now truncated and enqueued instead of being refused, with the truncated keys forwarded to the inspector.
  9. @togohq/sdk-browser 2.4.0

    Version 2.4.0 reports property names Togo cannot use

    • Browser SDK

    New

    • A property name over 64 characters, with a control character, or containing an email address is reported through onError as property_name_invalid (or person_property_name_invalid on a profile write). Togo could not query it.

    Improved

    • With a live key, such a property is now dropped and the rest of the event is sent. With a test key it is sent as well, so verify_tracking reports it.
    • With a test key, a property name starting with $ is now reported through onError as property_reserved too.
  10. @togohq/sdk-node 2.4.0

    Version 2.4.0 reports property names Togo cannot use

    • Node.js SDK

    New

    • A property name over 64 characters, with a control character, or containing an email address is reported through onError as property_name_invalid (or person_property_name_invalid on a profile write). Togo could not query it.

    Improved

    • With a live key, such a property is now dropped and the rest of the event is sent. With a test key it is sent as well, so verify_tracking reports it, and a property name starting with $ is now reported as property_reserved too.
  11. Togo v0.3.25

    Event and property names now displayed exactly as sent

    • Dashboard
    • API
    • MCP

    New

    • The dashboard now displays event and property names exactly as sent by the client, without deriving keys or showing display names over them. This affects the Event Registry, Live View, Person Stream, and Experiment Results.

    Improved

    • The OAuth consent page has been redesigned to be more scannable, with a clearer layout and improved access choice presentation.
  12. @togohq/sdk-browser 2.3.0

    Version 2.3.0 introduces new app lifecycle events and device information capabilities

    • Browser SDK

    New

    • device.manufacturer is now included in the batch envelope, allowing for more precise device identification. This field is optional and is bounded at 64 characters.
    • New reserved events $app_installed, $app_updated, and $app_opened have been defined, with specific sources that can send each event.
    • init({ appVersion, appBuild }) now supports sending app version and build information once per upload. Each value must be between 1 and 64 characters.
    • The batch envelope now includes optional app and device objects, with fields such as version, build, os, osVersion, model, and deviceType. Each string is bounded at 64 characters.
  13. Togo v0.3.18

    App version and build on events, and reserved events offered by platform

    • Ingestion
    • Dashboard
    • MCP

    New

    • A batch can carry an optional app object (version, build) and device object (os, osVersion, model, deviceType). Every event in the batch records them, and you can break down and filter by $app_version and $app_build.

    Improved

    • The Event registry and list_events offer the reserved events your project can have, based on the platforms its traffic comes from, before any of them is sent.

    Fixed

    • The Event registry and the MCP tools now agree on which reserved events a project can have, and a query on an offered event that was never sent says so instead of returning an empty result.
    • A native app's device details are no longer overwritten by a guess from the User-Agent, and a field the app did not send stays empty.
  14. @togohq/sdk-node 2.2.0

    Version 2.2.0 updates error and diagnostic codes in `onError`, requiring changes to error handlers

    • Node.js SDK

    Breaking

    • BREAKING: onError codes envelope_too_many_properties and shutdown_undelivered are now envelope_properties_too_many and shutdown_flush_failed. Update handlers that switch on these names.

    Migration

    Update onError handlers to use the new error code names.

    Before
    onError((error) => {
      if (error.code === 'envelope_too_many_properties') {
        handleTooManyProperties();
      }
    });
    After
    onError((error) => {
      if (error.code === 'envelope_properties_too_many') {
        handleTooManyProperties();
      }
    });

    The old form stops working in 2.2.0.

  15. @togohq/sdk-browser 2.2.0

    Version 2.2.0 updates error and diagnostic codes for improved clarity

    • Browser SDK

    Breaking

    • BREAKING: Error and diagnostic codes have been renamed for consistency and clarity. For example, invalid_property_type is now property_value_wrong_type, and shutdown_undelivered is now shutdown_flush_failed. Update any handlers that switch on these codes to use the new names.

    Migration

    Update error and diagnostic code handlers to use the new code names.

    Before
    onError: (e) => {
      if (e.code === 'shutdown_undelivered') {
        handleShutdownError();
      }
    };
    After
    onError: (e) => {
      if (e.code === 'shutdown_flush_failed') {
        handleShutdownError();
      }
    };

    The old form stops working in 2.2.0.

  16. Togo v0.3.15

    Breaking changes to error and diagnostic codes

    • Dashboard
    • API
    • Ingestion

    Breaking

    • The onError codes envelope_too_many_properties and shutdown_undelivered are now envelope_properties_too_many and shutdown_flush_failed. Update any handler that switches on these names to use the new ones.

    Fixed

    • The install screen now correctly re-reads the organization's status before the Continue button is used, preventing a misleading 'No data yet' banner.

    Migration

    Update onError code handlers to use new code names.

    Before
    switch (error.code) { case 'envelope_too_many_properties': handleTooMany(); break; case 'shutdown_undelivered': handleShutdown(); break; }
    After
    switch (error.code) { case 'envelope_properties_too_many': handleTooMany(); break; case 'shutdown_flush_failed': handleShutdown(); break; }

    The old form stops working in 0.3.15.

  17. Togo v0.3.14

    Improved handling of test and live events in the Dashboard

    • Dashboard

    Improved

    • Live View now guides users through connecting Togo first and then prompts for installation if no events have been received.

    Fixed

    • The Overview page now correctly omits an unreadable date for test events, preventing 'arrived on Invalid Date' from displaying.
    • The Overview page now accurately displays when the first test event arrived and explains why the Live View can be empty.
    • Live View now correctly prompts for installation only after a live event has arrived, rather than any event.
  18. Togo v0.3.13

    Improved onboarding and install instructions visibility

    • Dashboard
    • API
    • MCP

    Improved

    • The Overview page now consistently shows install instructions until the project's first live event is received, ensuring clarity during the onboarding process.
    • The install screen now waits for a test key event before querying Live View, reducing unnecessary polling and improving efficiency.
    • The install banner now accurately reflects the newest event status, even if it was refused, providing clearer feedback during setup.
    • Install steps now display an error message if they cannot load, instead of appearing to load indefinitely.
    • The install banner now counts only the most severe diagnostics, providing more accurate feedback on issues to address.
  19. Togo v0.3.11

    Enhanced people management and live event tracking

    • Dashboard
    • API
    • MCP

    New

    • The People list now includes 'Country' and 'Platform' columns, and the person page shows 'Last seen on' with platform, OS, device type, and country.
    • A person's events are now grouped by session on their page, with the ability to watch events live as they arrive.
    • The 'People' section in the dashboard now allows searching for recently active identified people and viewing a person's detailed page with identity, profile, and activity summary.

    Improved

    • Anonymous visitors' pages now survive reloads and shared links by using a random visitor ID in the URL.

    Fixed

    • Anonymous ID searches no longer incorrectly count mistyped IDs as matches.
    • A failed search no longer incorrectly triggers a search event on the next page load.
    • Rejected events for a person now appear in the 'Watch live' feature.
    • A person's page now displays times in a brief format, with full details on hover.