Skip to content

Commit e570e6f

Browse files
committed
Merge branch 'release-v0.31.0' into release
2 parents 2177b64 + c8daf6a commit e570e6f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1766
-3065
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
pip install -r requirements.txt
157157
glean_parser translate src/App/metrics.yaml src/App/pings.yaml \
158158
-f javascript -o src/App/generated \
159-
--option platform=qt --option version="0.30"
159+
--option platform=qt --option version="0.31"
160160
- run:
161161
name: Run Qt sample tests
162162
command: |

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,6 @@ generated/
124124

125125
# This is the name of the Glean virtual environment
126126
.venv
127+
128+
# Temporary folder used on the benchmarks scripts
129+
benchmarks/size/tmp/

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# Unreleased changes
22

3-
[Full changelog](https://github.com/mozilla/glean.js/compare/v0.30.0...main)
3+
[Full changelog](https://github.com/mozilla/glean.js/compare/v0.31.0...main)
4+
5+
# v0.31.0 (2022-01-25)
6+
7+
[Full changelog](https://github.com/mozilla/glean.js/compare/v0.30.0...v0.31.0)
8+
9+
* [#1065](https://github.com/mozilla/glean.js/pull/1065): Delete minimal amount of data when invalid data is found while collecting ping.
10+
* Previous behaviour was to delete the whole ping when invalid data was found on the database,
11+
new behaviour only deletes the actually invalid data and leave the rest of the ping intact.
12+
* [#1065](https://github.com/mozilla/glean.js/pull/1065): Only import metric types into the library when they are used either by the user or Glean itself.
13+
* 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.
14+
* [#1046](https://github.com/mozilla/glean.js/pull/1046): Remove legacy X-Client-Type X-Client-Version from Glean pings.
15+
* [#1071](https://github.com/mozilla/glean.js/pull/1071): **BREAKING CHANGE**: Move the `testResetGlean` API from the Glean singletion and into it's own entry point `@mozilla/glean/testing`.
16+
* 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.
17+
* This lower the size of the Glean library, because testing functionality is not imported unless in a testing environment.
18+
* This change does not apply to QML. In this environment the API remains the same.
419

520
# v0.30.0 (2022-01-10)
621

0 commit comments

Comments
 (0)