Skip to content

Releases: mozilla/glean

v51.0.1

26 Jul 08:21
Compare
Choose a tag to compare
  • General
    • BUGFIX: Set the following client_info fields correctly again: android_sdk_version, device_manufacturer, device_model, locale. These were never set in Glean v50.0.0 to v51.0.0 (#2131)

v50.1.3

26 Jul 09:33
Compare
Choose a tag to compare

Full changelog

  • General
    • BUGFIX: Set the following client_info fields correctly again: android_sdk_version, device_manufacturer, device_model, locale. These were never set in Glean v50.0.0 to v51.0.0 (#2131)

v51.0.0

22 Jul 16:13
Compare
Choose a tag to compare

Full changelog

  • General
    • Remove testHasValue from all implementations.
      testGetValue always returns a null value
      (null, nil, None depending on the language) and does not throw an exception (#2087).
    • BREAKING CHANGE: Dropped ping_name argument from all test_get_num_recorded_errors methods (#2088)
      Errors default to the metrics ping, so that's what is queried internally.
    • BREAKING: Disable safe-mode everywhere. This causes all clients to migrate from LMDB to safe-mode storage (#2123)
  • Kotlin
    • Fix the Glean Gradle Plugin to work with Android Gradle Plugin v7.2.1 (#2114)
  • Rust
    • Add a method to construct an Event with runtime-known allowed extra keys. (bug 1767037)

v50.1.2

08 Jul 18:24
Compare
Choose a tag to compare

Full changelog

  • General
    • Update UniFFI to version 0.19.3
    • Fix rust-beta-tests linting

v50.1.1

17 Jun 09:45
Compare
Choose a tag to compare

Full changelog

  • Kotlin
    • Fix bug in Glean Gradle plugin by using correct quoting in embedded Python script (#2097)
    • Fix bug in Glean Gradle plugin by removing references to Linux paths (#2098)

v50.1.0

15 Jun 10:19
Compare
Choose a tag to compare

Full changelog

  • General
    • Updated to glean_parser v6.1.1 (#2092)
  • Swift
    • Dropped usage of Carthage for internal dependencies (#2089)
    • Implement the text metric (#2073)
  • Kotlin
    • Implement the text metric (#2073)
  • Rust
    • Derive serde::{Deserialize, Serialize} on Lifetime and CommonMetricData (bug 1772156)

v50.0.1

25 May 09:36
Compare
Choose a tag to compare

Full changelog

  • General
    • Updated to glean_parser v6.0.1
  • Python
    • Remove duplicate log initialization and prevent crash (#2064)

v50.0.0

20 May 11:07
Compare
Choose a tag to compare

Full changelog

This release is a major refactoring of the internals and contains several breaking changes to exposed APIs.
Exposed functionality should be unaffected.
See below for details.

  • General
    • Switch to UniFFI-defined and -generated APIs for all 3 foreign-language SDKs
    • The task dispatcher has been moved to Rust for all foreign-language SDKs
    • Updated to glean_parser v6.0.0
  • Swift
    • testGetValue on all metric types now returns nil when no data is recorded instead of throwing an exception.
    • testGetValue on metrics with more complex data now return new objects for inspection.
      See the respective documentation for details.
    • testHasValue on all metric types is deprecated.
      It is currently still available as extension methods.
      Use testGetValue with not-null checks.
  • Kotlin
    • testGetValue on all metric types now returns null when no data is recorded instead of throwing an exception.
    • testGetValue on metrics with more complex data now return new objects for inspection.
      See the respective documentation for details.
    • testHasValue on all metric types is deprecated.
      It is currently still available as extension methods and thus require an additional import. Use testGetValue with not-null checks.
    • On TimingDistributionMetric, CustomDistributionMetric, MemoryDistributionMetric the accumulateSamples method now takes a List<Long> instead of LongArray.
      Use listOf instead of longArrayOf or call .toList
  • TimingDistributionMetricType.start now always returns a valid TimerId, TimingDistributionMetricType.stopAndAccumulate always requires a TimerId.
  • Python
    • test_get_value on all metric types now returns None when no data is recorded instead of throwing an exception.
    • test_has_value on all metric types was removed.
      Use test_get_value with not-null checks.

v44.2.0

16 May 15:44
Compare
Choose a tag to compare

Full changelog

  • General
    • The glean.error.preinit_tasks_overflow metric now reports only the number of overflowing tasks.
      It is marked as version 1 in the definition now. (#2026)
  • Kotlin
    • (Development only) Allow to override the used glean_parser in the Glean Gradle Plugin (#2029)
    • setSourceTags is now a public API (#2035))
  • iOS
    • setSourceTags is now a public API (#2035)
  • Rust
    • Implemented try_get_num_recorded_errors for Boolean in Rust Language Bindings (#2049)

v44.1.1

14 Apr 17:12
Compare
Choose a tag to compare
  • Rust
    • Raise the global dispatcher queue limit from 100 to 1000 tasks. (bug 1764549)
  • iOS
    • Enable expiry by version in the sdk_generator.sh script (#2013)