Releases: mozilla/glean.js
Releases · mozilla/glean.js
v0.30.0 (2022-01-10)
- #1045: BUGFIX: Provide informative error message when unable to access database in QML.
- #1077: BUGFIX: Do not clear lifetime metrics before submitting
deletion-requestping on initialize.- This bug causes malformed
deletion-requestpings in Glean is initialized withuploadEnabled=false.
- This bug causes malformed
glean_parser: v4.1.1
v0.29.0 (2022-01-04)
v0.28.0 (2021-12-08)
- #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/clearTimeoutAPIs in this feature and those are not available on the QML platform. Follow Bug 1743140 for updates.
- Prior to this change, ping uploading would only be resumed once the
- #1015: BUGFIX: Make attempting to call the
setUploadEnabledAPI before initializing Glean a no-op. - #1016: BUGFIX: Make shutdown a no-op in case Glean is not initialized.
glean_parser: v4.1.1
v0.27.0 (2021-11-22)
- #981: Update rate limits for ping submission from 15 pings/minute to 40 pings/minute.
- #967: BREAKING CHANGE: Remove
debugoption from Glean configuration option.- The
Glean.setDebugViewTag,Glean.setSourceTagsandGlean.setLogPingsshould be used instead. Note that these APIs can safely be called prior to initialization.
- The
glean_parser: v4.1.1
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_ENVenvironment variable. - If the user is inside an active virtualenv the
VIRTUAL_ENVenvironment variable is already set by Python. See: https://docs.python.org/3/library/venv.html.
- Users may provide a folder name through the
- #968: Add runtime arguments type checking to
Glean.setUploadEnabledAPI. - #970: BUGFIX: Guarantee uploading is immediatelly resumed if the uploader has been stopped due to any of the uploading limits being hit.
glean_parser: v4.1.1
v0.25.0 (2021-11-15)
v0.24.0 (2021-11-04)
- #856: Expose the
@mozilla/glean/webentry point for using Glean.js in websites. - #856: Implement the
PlatformInfomodule for the web platform.- Out of
os,os_version,architectureandlocale, on the web platform, we can only retriveosandlocaleinformation. The other information will default to the known valueUnknownfor all pings coming from this platform.
- Out of
- #856: Expose the
@mozilla/glean/webentry point for using Glean.js in websites. - #908: BUGFIX: Guarantee internal
uploadEnabledstate always has a value.- When
uploadEnabledwas set tofalseand then Glean was restarted with it stillfalse, the internaluploadEnabledstate was not being set. That should not cause particularly harmful behaviour, sinceundefinedis still a "falsy" value. However, this would create a stream of loud and annoying log messages.
- When
- #898: Implement the
Storagemodule for the web platform.
glean_parser: v4.1.1
v0.23.0 (2021-10-12)
- #755: Only allow calling of
test*functions in "test mode".- Glean is put in "test mode" once the
Glean.testResetGleanAPI called.
- Glean is put in "test mode" once the
- #799: Make sure Glean does not do anything else in case initialization errors.
- This may happen in case there is an error creating the databases. Mostly an issue on Qt/QML where we use a SQLite database which can throw errors on initialization.
- #799: Provide stack traces when logging errors.
- #811: Apply various fixes to the Qt entry point file.
- Expose
ErrorType. This is only useful for testing purposes; - Fix version of
QtQuick.LocalStorageplugin; - Fix the way to access the lib from inside the
shutdownmethod. Previous to this fix, it is not possible to use theshutdownmethod; - Expose the
Glean.testRestGleanAPI.
- Expose
- #822: Fix API reference docs build step.
- #825: Accept
architectureandosVersionas initialization parameters in Qt. In Qt these values are not easily available from the environment.
glean_parser: v4.1.1
v0.22.0 (2021-10-06)
- #796: Support setting the
app_channelmetric.- As described in "Release channels".
glean_parser: v4.1.1