#1220: Refactor virtual environment behavior to support virtual environments that aren't in the project root.
This means it's possible to run Glean with a virtual environment created by virtualenv or pyenv-virtualenv without causing a Glean-specific .venv directory to be created in a project that is using Glean.
#1130: BUGFIX: Guarantee event timestamps
cannot be negative numbers.
Timestamps were observed to be negative in a few occurrences, for platforms that do not provide the performance.now API, namely QML, and in which we fallback to the Date.now API.
If event timestamps are negative pings are rejected by the pipeline.
#1132: Retry ping request on network error with keepalive: false. This is sometimes an issue on Chrome browsers below v81.
When offline Glean will not attempt to install glean_parser.
#1178: Enable running the glean command with as many or as little arguments as wanted.
Previously the command could only be run with 3 commands, even though all glean_parser commands would have been valid commands for the glean CLI.
#1210: Show comprehensive error message when missing storage permissions for Glean on web extensions.
#1223: Add --glean-parser-version command to CLI to allow users to retrieve the glean_parser version without installing glean_parser.
#1228: BUGFIX: Apply debug features before sending pings at initialize.
glean_parser: v5.0.1
v0.31.0 (2022-01-25)
#1065: Delete minimal amount of data when invalid data is found while collecting ping.
Previous behaviour was to delete the whole ping when invalid data was found on the database,
new behaviour only deletes the actually invalid data and leave the rest of the ping intact.
#1065: Only import metric types into the library when they are used either by the user or Glean itself.
Previously the code required to deserialize metric data from the database was always imported by the library even if the metric type was never used by the client. This effort will decrease the size of the Glean.js bundles that don't import all the metric types.
#1046: Remove legacy X-Client-TypeX-Client-Version headers from Glean pings.
#1071: BREAKING CHANGE: Move the testResetGlean API from the Glean singleton and into it's own entry point @mozilla/glean/testing.
In order to use this API one must import it through import { testResetGlean } from "@mozilla/glean/testing" instead of using it from the Glean singleton directly.
This lower the size of the Glean library, because testing functionality is not imported unless in a testing environment.
This change does not apply to QML. In this environment the API remains the same.
#1220: Refactor virtual environment behavior to support virtual environments that aren't in the project root.
This means it's possible to run Glean with a virtual environment created by virtualenv or pyenv-virtualenv without causing a Glean-specific .venv directory to be created in a project that is using Glean.
#1130: BUGFIX: Guarantee event timestamps
cannot be negative numbers.
Timestamps were observed to be negative in a few occurrences, for platforms that do not provide the performance.now API, namely QML, and in which we fallback to the Date.now API.
If event timestamps are negative pings are rejected by the pipeline.
#1132: Retry ping request on network error with keepalive: false. This is sometimes an issue on Chrome browsers below v81.
#1065: Delete minimal amount of data when invalid data is found while collecting ping.
Previous behavior was to delete the whole ping when invalid data was found on the database,
new behavior only deletes the actually invalid data and leave the rest of the ping intact.
#1065: Only import metric types into the library when they are used either by the user or Glean itself.
Previously the code required to deserialize metric data from the database was always imported by the library even if the metric type was never used by the client. This effort will decrease the size of the Glean.js bundles that don't import all the metric types.
#1046: Remove legacy X-Client-Type X-Client-Version from Glean pings.
#1071: BREAKING CHANGE: Move the testResetGlean API from the Glean singleton and into it's own entry point @mozilla/glean/testing.
In order to use this API one must import it through import { testResetGlean } from "@mozilla/glean/testing" instead of using it from the Glean singleton directly.
This lower the size of the Glean library, because testing functionality is not imported unless in a testing environment.
This change does not apply to QML. In this environment the API remains the same.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
No Taskcluster jobs started for this pull request
```js
The `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request.
```
Bumps @mozilla/glean from 0.18.1 to 0.32.0.
Release notes
Sourced from
@mozilla/glean
's releases.... (truncated)
Changelog
Sourced from
@mozilla/glean
's changelog.... (truncated)
Commits
992c136
Merge branch 'release-fix-publish-script' into releaseca3e0fb
Change CI images for publish and docs-deploy to include pythona485ff4
Merge pull request #1234 from mozilla/release-v0.32.01f7edc5
Merge branch 'release-v0.32.0' into release2a7b5d3
Bumped version to 0.32.018f5ade
Merge pull request #1228 from brizental/1749293-debug-at-init5c9e135
Attend to review commentsdc88cb2
Update CHANGELOG3fa11fa
Apply debug features before sending pings at init88d3c09
Merge pull request #1231 from mozilla/dependabot/npm_and_yarn/glean/tests/uni...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)