Releases: mozilla/glean_parser
Releases · mozilla/glean_parser
v6.0.1
v6.0.0
- BUGFIX: Add missing
extra_args
to Rust constructor generation (bug 1765855) - Breaking change:
glean_parser
now generates metrics compatible with the UniFFI-powered Glean SDK.
This is not backwards-compatible with previous versions. - Generate Rate, Denominator and Numerator metrics for Kotlin and Swift
- Explicitly skip Rate, Denominator and Numerator metrics for JavaScript.
These will cause a build failure by default, but can be turned into warnings on request.
Use-s fail_rates=false
to enable warning-only mode.
v5.1.2
v5.1.1
- BUGFIX: Fix issues with Swift templates (bug 1749494)
- Make metrics and pings all
public
- Make pings
static
- Make metrics and pings all
v5.1.0
- Add support for build info generation for JavaScript and Typescript targets (bug 1749494)
v5.0.1
- Fix the logic for the metric expiration by version (bug 1753194)
v5.0.0
- Remove C# support (#436).
- Add support for Rust code generation (bug 1677434)
- Report an error if no files are passed (bug 1751730)
- [data-review] Report an error if no metrics match provided bug number (bug 1752576)
- [data-review] Include notification_emails in list of those responsible (bug 1752576)
- Add support for expiring metrics by the provided major version (bug 1753194)
v4.4.0
-
Support global file-level tags in metrics.yaml (bug 1745283)
-
Glinter: Reject metric files if they use
unit
by mistake. It should betime_unit
(#432). -
Automatically generate a build date when generating build info (#431).
Enabled for Kotlin and Swift.
This can be changed with thebuild_date
command line option.
build_date=0
will use a static unix epoch time.
build_date=2022-01-03T17:30:00
will parse the ISO8601 string to use (as a UTC timestamp).
Other values will throw an error.Example:
glean_parser translate --format kotlin --option build_date=2021-11-01T01:00:00 path/to/metrics.yaml
v4.3.1
v4.3.0
- Support tags in glean parser (bug 1734011)