Skip to content

v39.0.0

Compare
Choose a tag to compare
@badboy badboy released this 31 May 12:35
· 2245 commits to release since this release

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.