Togo
Togo
Apply for the betaSign in

Changelog

Changelog

What changed, and when it reached production.

  1. plugin.togohq 1.0.0

    The first release of the Solar2D plugin, providing a comprehensive Lua API for integrating with Togo services

    • Solar2D plugin

    New

    • plugin.togohq: Provides a Lua API for Togo services, including methods like init, track, identify, setPersonProperties, reset, setConsent, getConsent, and flush.
    • The Android plugin integrates with the Togo Android SDK, handling Lua callbacks on the Lua thread.
    • The iOS plugin integrates with the Togo iOS SDK, converting Lua values and handling callbacks on the main thread.
    • A sample Solar2D game demonstrates the plugin's capabilities, with scripts for local installation and testing.
    • The plugin includes a stub for the Solar2D Simulator, allowing development without native execution.

    Improved

    • Semantic versioning. The public API is now stable: from this version on, a breaking change ships only in a new major version.
  2. ai.togohq:sdk-android 1.1.0

    Version 1.1.0 introduces TogoWrapper for SDK customization and improves error handling for wrapper SDKs

    • Android SDK

    New

    • TogoWrapper.set() allows a wrapper SDK to set its name and version for every event, enhancing SDK customization.

    Improved

    • The documentation now includes TogoWrapper as part of the SDK's public surface, detailing its usage and limitations.

    Fixed

    • Improved error handling in SdkIdentity.wrapper to refuse unknown wrapper names and null values with a log line.
  3. Togo v0.3.42

    Setup playbook improvements for SDK installations

    • API

    New

    • The setup playbook now includes instructions for installing the Solar2D plugin and links to its reference page.
    • The setup playbook now includes installation instructions and reference links for the iOS and Android SDKs.

    Fixed

    • The setup playbook now provides the full URL for the iOS SDK's Swift package, ensuring compatibility with Swift Package Manager.
    • The setup playbook correctly specifies where each SDK accepts the onError parameter, tailored to each platform's requirements.
  4. @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.
  5. @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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.

  10. 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.
  11. 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.
  12. @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.
  13. @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.
  14. 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.
  15. @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.
  16. 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.
  17. @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.

  18. @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.