Jan-Erik Rediger
6c2fa1c0e4
Release v6.0.0
2022-05-19 13:32:49 +02:00
Jan-Erik Rediger
19a14a7604
Skip rate, denominators and numerators for JavaScript
2022-05-19 13:31:28 +02:00
Jan-Erik Rediger
e5c3990dbc
Generate denominator metrics correctly for Swift and Kotlin
2022-05-19 13:31:28 +02:00
Jan-Erik Rediger
def190b2d7
Generate Kotlin/Swift code for the new UniFFI-generated API
2022-05-19 13:31:28 +02:00
Travis Long
3596329565
[Bug 1765855] Glean parser missing extra args in Rust constructor generation ( #477 )
2022-04-22 07:10:42 -05:00
brizental
cfbf81153a
Bump to v5.1.2
2022-04-01 11:49:26 +02:00
Beatriz Rizental
ad05bdec71
Revert "Bug 1761791 - Fix issues with Swift template" ( #470 )
...
* Revert "Bug 1761791 - Fix issues with Swift template (#469 )"
This reverts commit 85066083d3
.
* Update CHANGELOG.md
2022-04-01 11:41:11 +02:00
brizental
130f5f94a1
Bump to version 5.1.1
2022-03-31 11:07:11 +02:00
Beatriz Rizental
85066083d3
Bug 1761791 - Fix issues with Swift template ( #469 )
...
* Make everything public on the Swift template
* Make pings static on Swift template
* Update CHANGELOG.md
2022-03-31 10:18:54 +02:00
brizental
7e41420aa3
Bump to version 5.1.0
2022-03-09 14:41:59 +01:00
Beatriz Rizental
e80c9b1b38
Implement build date support for JavaScript / TypeScript ( #456 )
2022-03-09 10:51:34 +01:00
Alessio Placitelli
fd23d588ce
Bump to version 5.0.1
2022-02-08 14:31:39 +01:00
Alessio Placitelli
7a1f2b2d06
Fix the expiration by version logic ( #450 )
...
* Fix the expiration by version logic
* Address review comments
2022-02-08 14:30:31 +01:00
Alessio Placitelli
20ee6f7c1b
Bump to 5.0.0
2022-02-08 09:35:56 +01:00
Alessio Placitelli
302abbec0b
Bug 1753194 - add support for expiring metrics by major version ( #446 )
...
* bonus - fix test documentation
* Support metrics expiration by major version
* Add a changelog entry
* Test that mixing expirations fails
This additionally changes the data parsing utils
to report a human-readable error in case a non-string
type is used as the expiration when expiration by
date is used.
* Address review feedback
2022-02-08 09:31:06 +01:00
Chris H-C
0f63148cf5
bug 1752576 - data-review knows emails, and when the list is empty
2022-02-04 14:00:01 -05:00
Jan-Erik Rediger
189844ce43
Error out early if no metric files are passed
...
This does not apply if `--allow-missing-files` is passed,
which is the default for the Glean Gradle plugin.
2022-02-01 16:49:49 +01:00
Travis Long
228e179b91
Bug 1677434 - Enable Rust code generation from the glean_parser ( #425 )
2022-01-14 09:29:21 -06:00
Jan-Erik Rediger
0d9a889e98
Remove C# support
...
It was dropped upstream in glean#16c929adf5d483969b605675d2cdac668812a756 end of 2021.
2022-01-14 11:32:42 +01:00
Jan-Erik Rediger
2c298dfea0
Bump to v4.4.0
2022-01-12 17:17:53 +01:00
Jan-Erik Rediger
9dd0bdde69
Generate build date at invocation time
2022-01-12 17:10:51 +01:00
Jan-Erik Rediger
c52e0e71a4
Reject files if they use `unit` by mistake
...
The time metric types use `time_unit`, not `unit`.
Easy mistake to made, we can catch that.
Note: `time_unit` is OPTIONAL for all three metric types.
This is not a problem for `memory_distribution`, because its
`memory_unit` is REQUIRED.
2022-01-12 17:02:59 +01:00
Chris H-C
8e2c38b977
bug 1745283 Support file-level tags
2022-01-12 10:51:42 -05:00
Jan-Erik Rediger
a920549e83
Bump to 4.3.1
2021-11-03 13:37:46 +01:00
Jan-Erik Rediger
ee37bb8517
Skip tags when generating code
2021-11-03 13:37:01 +01:00
Jan-Erik Rediger
4bf64a9234
Bump to 4.3.0
2021-11-03 10:09:58 +01:00
Michael Droettboom
9a5cf85334
Mark v4.2.0
2021-10-11 13:53:50 -04:00
Michael Droettboom
fc3cff3a61
Support Python 3.10 ( #398 )
...
* Support Python 3.10
* Add CHANGELOG
* Use next-gen docker images
* Don't specify all of semver
2021-10-06 14:49:11 -04:00
Michael Droettboom
e7d1153150
Add CHANGELOG
2021-10-04 12:59:03 +02:00
brizental
1fe5aed006
Bump to v4.1.1
2021-09-28 15:01:09 +02:00
Beatriz Rizental
bb2e469ccd
Bug 1702468 - Update private import paths on Javascript template ( #391 )
2021-09-28 14:56:47 +02:00
brizental
68d931de7c
Bump to v4.1.0
2021-09-16 17:45:45 +02:00
Beatriz Rizental
1d95d550ce
Add support for Node.js platform on JS / TS templates ( #390 )
2021-09-16 17:42:51 +02:00
Jan-Erik Rediger
86f1c05810
Fix URLs in changelog for old release
2021-09-14 13:14:03 +02:00
Jan-Erik Rediger
57983fad9a
Bump to v4.0.0
2021-08-20 12:48:52 +02:00
Jan-Erik Rediger
e4d8fe076b
Reserve the `default` ping name
...
It can't be used as a ping name, but it can be used in `send_in_pings`.
2021-08-19 15:59:49 +02:00
Jan-Erik Rediger
1c66cb2977
Add support for the text metric type
...
This applies the following additional restrictions:
1) Metrics of this type will need to be data collection category 3 or 4.
2) Metrics of this type will only be allowed for custom pings. Sending a text metric in built-in pings is forbidden.
3) Metrics of this type will only be allowed to have a ping or application lifetime. Other lifetimes will be forbidden.
Restrictions are applied through the jsonschema.
This leads to okayish error messages for 1) and 3)
and a suboptimal, but understandable error message for 2).
2021-08-19 10:45:33 +02:00
brizental
5d58a11b69
Bump to version 3.8.0
2021-08-18 15:49:10 +02:00
Beatriz Rizental
0939066112
Bug 1693487 - Define interfaces for event extras on Typescript template ( #373 )
...
* Define interfaces foe event extras on Typescript template
* Attend to review comments
2021-08-18 15:45:14 +02:00
Beatriz Rizental
f5cb058767
Expose ping reasons enum on JS/TS templates ( #365 )
2021-07-26 17:43:53 +02:00
brizental
d474ca6451
Bump to version 3.7.0
2021-07-13 15:34:16 +02:00
Beatriz Rizental
5c630b11ae
Bug 1719315 - Add support for the URL metric type ( #361 )
...
* Add support for the URL metric type
* Update CHANGELOG.md
2021-07-13 15:27:09 +02:00
jennshan
c73de44c4d
Bug 1703577 - Check for redundant words in ping names ( #355 )
...
Co-authored-by: Jenni Reuben <jennie.susan@gmail.com>
2021-07-08 11:29:15 +02:00
Jan-Erik Rediger
dca88dfb61
Bump to v3.6.0
2021-06-11 12:39:27 +02:00
Jan-Erik Rediger
f6915ad44f
Enable custom distribution without a `gecko_datapoint`
2021-06-11 12:38:39 +02:00
Chris H-C
86503856e8
bug 1704541 - Add command to generate data review request
2021-06-09 15:43:24 -04:00
brizental
5f0c4f4c9c
Bump to version 3.5.0
2021-06-03 15:04:46 +02:00
Beatriz Rizental
5328d5acec
Bug 1707896 - Transform generated folder into QML Module when building for Qt ( #342 )
2021-06-03 14:51:42 +02:00
Jan-Erik Rediger
fd7bf35b4b
Bump to version 3.4.0
2021-05-28 16:34:25 +02:00
Jan-Erik Rediger
10c1d89b08
For Kotlin skip generating `GleanBuildInfo.kt` when requested (with `with_buildinfo=false`)
...
This defaults to generating the build info, but that can be skipped,
e.g. for libraries, where that build info is not used anyway (and might
just not exist)
2021-05-28 16:31:53 +02:00
Jan-Erik Rediger
34b79cb303
Document new changes
2021-05-28 16:05:25 +02:00
Jan-Erik Rediger
12103877e8
Bump to version 3.3.2
2021-05-18 16:31:46 +02:00
Jan-Erik Rediger
21ef95ea0a
Fix return value of `ExtraKeys` protocol in Swift code
2021-05-18 16:31:18 +02:00
Jan-Erik Rediger
3d54522ab5
Bump to version 3.3.1
2021-05-18 14:54:01 +02:00
Jan-Erik Rediger
b0cf8f15a7
Ensure pings are correctly generated in Swift
2021-05-18 14:53:34 +02:00
Jan-Erik Rediger
e3533c72a8
Bump to version 3.3.0
2021-05-18 12:48:40 +02:00
Jan-Erik Rediger
af46f821d7
Generate new event API construct
...
When a metric of `type: event` includes any `type` annotation in its
extra keys list, the new object/struct-based API will be used.
Only three types are supported right now:
* string
* boolean
* quantity (an integer)
This is only implemented for Kotlin & Swift.
Python will need this in the Glean Python code base.
Glean.js will need its own implementation first.
FOG will need to implement something similar for its Rust, C++ and
JavaScript API.
2021-05-18 12:47:40 +02:00
brizental
04006cf155
Bump to version 3.2.0
2021-04-28 15:13:58 +02:00
Beatriz Rizental
9f67b16525
Add support for Qt in Javascript templates ( #319 )
2021-04-28 15:10:25 +02:00
William Lachance
31096a1bd9
Add option to add extra introductory text in markdown documentation ( #298 )
...
For example, you might want to specify that you can find a web-based
view of your documentation in the Glean dictionary, using something like
this:
glean_parser translate -f markdown --output out --option introduction_extra="For another view of these metrics, see the [Glean Dictionary](https://dictionary.protosaur.dev/apps/mozregression )"
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2021-04-27 17:14:33 -04:00
Alessio Placitelli
f7e69545bb
Bump to version 3.1.2
2021-04-21 10:07:25 +02:00
Alessio Placitelli
888401afb3
Remove the "Do not commit" from generated docs ( #315 )
...
This was mistakenly added but it's not required
for docs: we want them to be committed!
2021-04-19 18:29:16 +02:00
Alessio Placitelli
b4b5124191
Bump to version 3.1.1
2021-04-19 16:57:08 +02:00
Beatriz Rizental
9728e1c8da
Include imprt statement for labeled metric subtype in TS/JS templates ( #313 )
...
* Include imprt statement for labeled metric subtype in TS/JS templates
* Update tests/test_javascript.py
* Attend to review comments
* Fix lints
2021-04-19 16:55:21 +02:00
Beatriz Rizental
4ef3956f80
Update DO NOT EDIT comment to advise not to commit as well ( #314 )
2021-04-19 16:47:39 +02:00
Alessio Placitelli
6aa8d56933
Bump to version 3.1.0
2021-04-16 15:28:10 +02:00
Beatriz Rizental
65a8b524e5
Bug 1705671 - Add support for labeled metric types in JS and TS templates ( #312 )
2021-04-16 15:19:17 +02:00
Jan-Erik Rediger
8c587e7dbb
Release v3.0.0
2021-04-13 17:45:46 +02:00
Jan-Erik Rediger
43ba0ed0c1
Remove support for the JWE metric type
2021-04-13 17:42:05 +02:00
Michael Droettboom
dee1140e3c
Update schema to allow for "special" glean_* pings ( #301 )
...
* Update schema to allow for "special" glean_* pings
See https://github.com/mozilla/glean/pull/1572
* Move special case to `send_in_pings` only
2021-04-06 11:45:22 -04:00
Chris H-C
8522c49f57
bug 1702263 - Raise limit on statically-defined labels to 100.
2021-03-31 13:32:37 -04:00
brizental
f27649bb67
Update CHANGELOG for 2.5.0
2021-02-23 17:22:03 +01:00
Beatriz Rizental
a74a6c16c8
Bug 1692157 - Update Javascript templates and provide Typescript template ( #288 )
2021-02-23 16:30:16 +01:00
Chris H-C
782ec70439
bug 1645166 - Add support for `rate` metrics
...
Adds three new metric object model types:
* "rate" for rates that own both their numerator and denominator
* "numerator" for rates that have an external denominator
* "denominator" for counters that are external denominators
2021-02-23 09:10:11 -05:00
Michael Droettboom
24908a6734
Update CHANGELOG for 2.4.0
2021-02-18 12:58:47 -05:00
Michael Droettboom
7cfa4d6b0e
Add coverage reporting tool ( #272 )
2021-02-18 12:57:48 -05:00
brizental
c4fb43b2c4
Add 2.3.0 section
2021-02-17 17:00:50 +01:00
Beatriz Rizental
0865072196
Bug 1693323 - Leverage glean_namespace to specify glean environment in JS ( #281 )
2021-02-17 16:58:39 +01:00
Michael Droettboom
df56994c8e
Bug 1691116: Convert (most) rst files to markdown ( #273 )
2021-02-16 12:45:51 -05:00