github mozilla/glean v39.0.0

latest releases: v65.1.1, v65.1.0, v65.0.3...
4 years ago

Full changelog

  • General
    • Add new event extras API to all implementations. See below for details (#1603)
    • Updated glean_parser version to 3.4.0 (#1603)
  • Rust
    • Breaking Change: Allow event extras to be passed as an object.
      This replaces the old HashMap-based API.
      Values default to string.
      See the event documentation for details.
      (#1603)
      Old code:

      let mut extra = HashMap::new();
      extra.insert(SomeExtra::Key1, "1".into());
      extra.insert(SomeExtra::Key2, "2".into());
      metric.record(extra);
      

      New code:

      let extra = SomeExtra {
          key1: Some("1".into()),
          key2: Some("2".into()),
      };
      metric.record(extra);
      
  • Android
    • Deprecation: The old event recording API is replaced by a new one, accepting a typed object (#1603).
      See the event documentation for details.
    • Skip build info generation for libraries (#1654)
  • Python
    • Deprecation: The old event recording API is replaced by a new one, accepting a typed object (#1603).
      See the event documentation for details.
  • Swift
    • Deprecation: The old event recording API is replaced by a new one, accepting a typed object (#1603).
      See the event documentation for details.

Don't miss a new glean release

NewReleases is sending notifications on new releases.