#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.
#984: BUGFIX: Return correct upload result in case an error happens while building a ping request.
#988: BUGFIX: Enforce rate limitation at upload time, not at ping submission time.
Note: This change required a big refactoring of the internal uploading logic.
#994: Automatically restart ping upload once the rate limit window is ended.
Prior to this change, ping uploading would only be resumed once the .submit() API was called again, even if Glean was not throttled anymore.
Note: this change does not apply to QML. We used the setTimeout/clearTimeout APIs in this feature and those are not available on the QML platform. Follow Bug 1743140 for updates.
#1015: BUGFIX: Make attempting to call the setUploadEnabled API before initializing Glean a no-op.
#1016: BUGFIX: Make shutdown a no-op in case Glean is not initialized.
#981: Update rate limits for ping submission from 15 pings/minute to 40 pings/minute.
#967: BREAKING CHANGE: Remove debug option from Glean configuration option.
The Glean.setDebugViewTag, Glean.setSourceTags and Glean.setLogPings should be used instead. Note that these APIs can safely be called prior to initialization.
v0.26.0 (2021-11-19)
#965: Attempt to infer the Python virtualenv folder from the environment before falling back to the default .venv.
Users may provide a folder name through the VIRTUAL_ENV environment variable.
#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-Type X-Client-Version from Glean pings.
#1071: BREAKING CHANGE: Move the testResetGlean API from the Glean singletion 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.
#984: BUGFIX: Return correct upload result in case an error happens while building a ping request.
#988: BUGFIX: Enforce rate limitation at upload time, not at ping submission time.
Note: This change required a big refactoring of the internal uploading logic.
#994: Automatically restart ping upload once the rate limit window is ended.
Prior to this change, ping uploading would only be resumed once the .submit() API was called again, even if Glean was not throttled anymore.
Note: this change does not apply to QML. We used the setTimeout/clearTimeout APIs in this feature and those are not available on the QML platform. Follow Bug 1743140 for updates.
#1015: BUGFIX: Make attempting to call the setUploadEnabled API before initializing Glean a no-op.
#1016: BUGFIX: Make shutdown a no-op in case Glean is not initialized.
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.31.0.
Release notes
Sourced from
@mozilla/glean
's releases.... (truncated)
Changelog
Sourced from
@mozilla/glean
's changelog.... (truncated)
Commits
e570e6f
Merge branch 'release-v0.31.0' into releasec8daf6a
Bumped version to 0.31.0335fb0b
Merge pull request #1123 from mozilla/dependabot/npm_and_yarn/glean/typescrip...5a86be8
Bump@typescript-eslint/parser
from 5.10.0 to 5.10.1 in /gleaneb7a954
Merge pull request #1126 from mozilla/dependabot/npm_and_yarn/glean/jose-4.4.05af75f3
Merge pull request #1124 from mozilla/dependabot/npm_and_yarn/glean/types/nod...e7f9e7b
Merge pull request #1125 from mozilla/dependabot/npm_and_yarn/glean/webpack-c...7936b08
Merge pull request #1127 from mozilla/dependabot/npm_and_yarn/glean/typescrip...bedce7f
Bump@typescript-eslint/eslint-plugin
from 5.10.0 to 5.10.1 in /gleana07afbc
Bump jose from 4.3.9 to 4.4.0 in /gleanDependabot 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)