Releases: mozilla/glean.js
Releases · mozilla/glean.js
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
debug
option from Glean configuration option.- The
Glean.setDebugViewTag
,Glean.setSourceTags
andGlean.setLogPings
should 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_ENV
environment variable. - If the user is inside an active virtualenv the
VIRTUAL_ENV
environment 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.setUploadEnabled
API. - #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/web
entry point for using Glean.js in websites. - #856: Implement the
PlatformInfo
module for the web platform.- Out of
os
,os_version
,architecture
andlocale
, on the web platform, we can only retriveos
andlocale
information. The other information will default to the known valueUnknown
for all pings coming from this platform.
- Out of
- #856: Expose the
@mozilla/glean/web
entry point for using Glean.js in websites. - #908: BUGFIX: Guarantee internal
uploadEnabled
state always has a value.- When
uploadEnabled
was set tofalse
and then Glean was restarted with it stillfalse
, the internaluploadEnabled
state was not being set. That should not cause particularly harmful behaviour, sinceundefined
is still a "falsy" value. However, this would create a stream of loud and annoying log messages.
- When
- #898: Implement the
Storage
module 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.testResetGlean
API 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.LocalStorage
plugin; - Fix the way to access the lib from inside the
shutdown
method. Previous to this fix, it is not possible to use theshutdown
method; - Expose the
Glean.testRestGlean
API.
- Expose
- #822: Fix API reference docs build step.
- #825: Accept
architecture
andosVersion
as 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_channel
metric.- As described in "Release channels".
glean_parser: v4.1.1
v0.21.1
v0.21.0
v0.20.0 (2021-09-17)
v0.19.0 (2021-09-03)
- #526: Implement mechanism to sort events reliably throughout restarts.
- A new event (
glean.restarted
) will be included in the events payload of pings, in case there
was a restart in the middle of the ping measurement window.
- A new event (
- #534: Expose
Uploader
base class through@mozilla/glean/<platform>/uploader
entry point. - #580: Limit size of pings database to 250 pings or 10MB.
- #580: BUGFIX: Pending pings at startup up are uploaded from oldest to newest.
- #607: Record an error when incoherent timestamps are calculated for events after a restart.
- #630: Accept booleans and numbers as event extras.
- #647: Implement the Text metric type.
- #658: Implement rate limiting for ping upload.
- Only up to 15 ping submissions every 60 seconds are now allowed.
- #658: BUGFIX: Unblock ping uploading jobs after the maximum of upload failures are hit for a given uploading window.
- #661: Include unminified version of library on Qt/QML builds.
- #681: BUGFIX: Fix error in scanning events database upon initialization on Qt/QML.
- This bug prevents the changes introduced in #526 from working properly in Qt/QML.
- #692: BUGFIX: Ensure events database is initialized at a time Glean is already able to record metrics.
- This bug also prevents the changes introduced in #526 from working properly in all platforms.