Releases: mozilla/glean
Releases · mozilla/glean
v51.0.1
v50.1.3
v51.0.0
- 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 alltest_get_num_recorded_errors
methods (#2088)
Errors default to themetrics
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)
- Remove
- 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
- General
- Update UniFFI to version 0.19.3
- Fix rust-beta-tests linting
v50.1.1
v50.1.0
- General
- Updated to
glean_parser
v6.1.1 (#2092)
- Updated to
- Swift
- Kotlin
- Implement the text metric (#2073)
- Rust
- Derive
serde::{Deserialize, Serialize}
onLifetime
andCommonMetricData
(bug 1772156)
- Derive
v50.0.1
v50.0.0
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 returnsnil
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.
UsetestGetValue
with not-null checks.
- Kotlin
testGetValue
on all metric types now returnsnull
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. UsetestGetValue
with not-null checks.- On
TimingDistributionMetric
,CustomDistributionMetric
,MemoryDistributionMetric
theaccumulateSamples
method now takes aList<Long>
instead ofLongArray
.
UselistOf
instead oflongArrayOf
or call.toList
TimingDistributionMetricType.start
now always returns a validTimerId
,TimingDistributionMetricType.stopAndAccumulate
always requires aTimerId
.- Python
test_get_value
on all metric types now returnsNone
when no data is recorded instead of throwing an exception.test_has_value
on all metric types was removed.
Usetest_get_value
with not-null checks.
v44.2.0
- 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)
- The
- Kotlin
- iOS
setSourceTags
is now a public API (#2035)
- Rust
- Implemented
try_get_num_recorded_errors
for Boolean in Rust Language Bindings (#2049)
- Implemented