Skip to content

Releases: mozilla/glean_parser

v1.8.1

01 Oct 07:38
Compare
Choose a tag to compare
  • BUGFIX: memory_unit is now passed to the Kotlin generator.

v1.8.0

01 Oct 07:38
Compare
Choose a tag to compare
  • A new parser config, do_not_disable_expired, was added to turn off the
    feature that expired metrics are automatically disabled. This is useful if you
    want to retain the disabled value that is explicitly in the metrics.yaml
    file.

  • glinter will now report about superfluous no_lint entries.

v1.7.0

01 Oct 07:39
Compare
Choose a tag to compare
  • A "glinter" tool is now included to find common mistakes in metric naming and setup.
    This check is run during translate and warnings will be displayed.
    ⚠ These warnings will be treated as errors in a future revision.

v1.6.1: Proper indentation and a static (#106)

17 Sep 16:55
8028e12
Compare
Choose a tag to compare
Proper indentation and a static

v1.6.0: Generate a lookup table for Gecko categorical histograms (#104)

17 Sep 13:01
674c5e9
Compare
Choose a tag to compare
* Generate a lookup table for Gecko categorical histograms

This adds a function to look up labeled counters that
will represent Gecko categorical histograms.

* Add an entry to HISTORY.rst

v1.5.1

10 Sep 08:53
39a54a6
Compare
Choose a tag to compare
Remove warnings in the generated Kotlin template (#97)

v1.5.0: Add support for Gecko scalars (#96)

10 Sep 07:39
a42467c
Compare
Choose a tag to compare
* Rename the Gecko output file for Kotlin

This additionally changes the function to get
the Glean type from the Gecko histogram name
from `get` to `getHistogram`.

* Move scalars out of the histograms mapping

* Bonus: fix import ordering in ktlint

* Don't declare functions as 'operator'

* Extend test coverage

* Make flake8 happy

* Make black happy this time :)

v1.4.2: Don't clear the output dir when generating markdown (#92)

04 Sep 15:24
a52b8cd
Compare
Choose a tag to compare
* Don't clear the output dir when generating markdown

* Don't use distutils.dir_utils

* Fix a typo

v1.4.0: Enable the generation of Markdown docs for Glean metrics and pings (#89)

27 Aug 17:02
3ed199f
Compare
Choose a tag to compare
* Add a second data review to the core.yaml test file

* Add the Markdown outputter and template

This allows to produce human-readable docs
from Glean registry files.

* Add the Kotlin outputter to the translate unit

* Add test coverage for the markdown outputter

* Make flake8 and black happy

* Bonus: remove the double definition of 'description'

* Don't break the table for multiline extra keys description

* Fetch ping information for custom pings from pings.yaml

* Add a disclaimer to the Markdown template

* Bonus: mention that jinja templates are not auto generated

* Remove dead code

v1.1.0: Merge pull request #81 from mdboom/all_pings

08 Aug 13:03
69c9549
Compare
Choose a tag to compare
1569765: Add check for special case of "all_pings"