diff --git a/CHANGELOG.md b/CHANGELOG.md index c7af49d1ef..92641c17e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ [Full changelog](https://github.com/mozilla/glean/compare/v69.0.0...main) +* General + * Updated to `glean_parser` v20.1.0 ([#3539](https://github.com/mozilla/glean/issues/3539)) + # v69.0.0 (2026-06-22) [Full changelog](https://github.com/mozilla/glean/compare/v68.0.0...v69.0.0) diff --git a/Cargo.lock b/Cargo.lock index 2249265262..fdea4c906a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -560,7 +560,7 @@ dependencies = [ [[package]] name = "glean-build" -version = "20.0.0" +version = "20.1.0" dependencies = [ "tempfile", "xshell-venv", diff --git a/Makefile b/Makefile index 7c71592b16..6d168c1790 100644 --- a/Makefile +++ b/Makefile @@ -149,7 +149,7 @@ docs-python: build-python ## Build the Python documentation .PHONY: docs docs-rust docs-swift docs-metrics: setup-python ## Build the internal metrics documentation - $(GLEAN_PYENV)/bin/pip install glean_parser~=20.0 + $(GLEAN_PYENV)/bin/pip install glean_parser~=20.1 $(GLEAN_PYENV)/bin/glean_parser translate --allow-reserved \ -f markdown \ -o ./docs/user/user/collected-metrics \ diff --git a/glean-core/Cargo.toml b/glean-core/Cargo.toml index 912d5760bb..f4c859ea5b 100644 --- a/glean-core/Cargo.toml +++ b/glean-core/Cargo.toml @@ -21,7 +21,7 @@ include = [ rust-version = "1.90" [package.metadata.glean] -glean-parser = "20.0.0" +glean-parser = "20.1.0" [badges] circle-ci = { repository = "mozilla/glean", branch = "main" } diff --git a/glean-core/build/Cargo.toml b/glean-core/build/Cargo.toml index 37d3956762..0da347efcc 100644 --- a/glean-core/build/Cargo.toml +++ b/glean-core/build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "glean-build" -version = "20.0.0" +version = "20.1.0" edition = "2021" description = "Glean SDK Rust build helper" repository = "https://github.com/mozilla/glean" diff --git a/glean-core/build/src/lib.rs b/glean-core/build/src/lib.rs index 70e88ecb34..c7005cd45f 100644 --- a/glean-core/build/src/lib.rs +++ b/glean-core/build/src/lib.rs @@ -39,7 +39,7 @@ use std::{env, path::PathBuf}; use xshell_venv::{Result, Shell, VirtualEnv}; -const GLEAN_PARSER_VERSION: &str = "20.0.0"; +const GLEAN_PARSER_VERSION: &str = "20.1.0"; /// A Glean Rust bindings generator. pub struct Builder { diff --git a/glean-core/ios/sdk_generator.sh b/glean-core/ios/sdk_generator.sh index 9f4aaf30d6..bedfd79a2c 100755 --- a/glean-core/ios/sdk_generator.sh +++ b/glean-core/ios/sdk_generator.sh @@ -25,7 +25,7 @@ set -e -GLEAN_PARSER_VERSION=20.0 +GLEAN_PARSER_VERSION=20.1 # CMDNAME is used in the usage text below. # shellcheck disable=SC2034 diff --git a/glean-core/metrics.yaml b/glean-core/metrics.yaml index 985a7b4f30..7ef181a6fe 100644 --- a/glean-core/metrics.yaml +++ b/glean-core/metrics.yaml @@ -599,8 +599,6 @@ glean.error: expires: never send_in_pings: - all-pings - no_lint: - - COMMON_PREFIX invalid_label: type: labeled_counter @@ -618,8 +616,6 @@ glean.error: expires: never send_in_pings: - all-pings - no_lint: - - COMMON_PREFIX invalid_state: type: labeled_counter @@ -637,8 +633,6 @@ glean.error: expires: never send_in_pings: - all-pings - no_lint: - - COMMON_PREFIX invalid_overflow: type: labeled_counter @@ -656,8 +650,6 @@ glean.error: expires: never send_in_pings: - all-pings - no_lint: - - COMMON_PREFIX preinit_tasks_overflow: version: 1 @@ -679,8 +671,6 @@ glean.error: notification_emails: - glean-team@mozilla.com expires: never - no_lint: - - COMMON_PREFIX io: type: counter @@ -748,8 +738,6 @@ glean.upload: notification_emails: - glean-team@mozilla.com expires: never - no_lint: - - COMMON_PREFIX discarded_exceeding_pings_size: type: memory_distribution @@ -768,8 +756,6 @@ glean.upload: notification_emails: - glean-team@mozilla.com expires: never - no_lint: - - COMMON_PREFIX pending_pings_directory_size: type: memory_distribution @@ -789,8 +775,6 @@ glean.upload: notification_emails: - glean-team@mozilla.com expires: never - no_lint: - - COMMON_PREFIX deleted_pings_after_quota_hit: type: counter @@ -812,8 +796,6 @@ glean.upload: notification_emails: - glean-team@mozilla.com expires: never - no_lint: - - COMMON_PREFIX pending_pings_deleted: type: labeled_counter @@ -840,8 +822,6 @@ glean.upload: notification_emails: - glean-team@mozilla.com expires: never - no_lint: - - COMMON_PREFIX pending_pings: type: counter @@ -861,8 +841,6 @@ glean.upload: - glean-team@mozilla.com - jrediger@mozilla.com expires: never - no_lint: - - COMMON_PREFIX send_success: type: timing_distribution diff --git a/glean-core/python/glean/__init__.py b/glean-core/python/glean/__init__.py index 6ffc7a1bd5..bb95ab3ca8 100644 --- a/glean-core/python/glean/__init__.py +++ b/glean-core/python/glean/__init__.py @@ -31,7 +31,7 @@ __email__ = "glean-team@mozilla.com" -GLEAN_PARSER_VERSION = "20.0.0" +GLEAN_PARSER_VERSION = "20.1.0" parser_version = VersionInfo.parse(GLEAN_PARSER_VERSION) parser_version_next_major = parser_version.bump_major() diff --git a/glean-core/rlb-tests/metrics.yaml b/glean-core/rlb-tests/metrics.yaml index e7edd08203..68d7e4f73e 100644 --- a/glean-core/rlb-tests/metrics.yaml +++ b/glean-core/rlb-tests/metrics.yaml @@ -65,8 +65,6 @@ test.metrics: expires: never send_in_pings: - prototype - no_lint: - - COMMON_PREFIX sample_labeled_string: <<: *defaults @@ -82,8 +80,6 @@ test.metrics: expires: never send_in_pings: - prototype - no_lint: - - COMMON_PREFIX timings: <<: *defaults diff --git a/gradle-plugin/src/main/groovy/mozilla/telemetry/glean-gradle-plugin/GleanGradlePlugin.groovy b/gradle-plugin/src/main/groovy/mozilla/telemetry/glean-gradle-plugin/GleanGradlePlugin.groovy index 0e3434ea88..0e9178a8d3 100644 --- a/gradle-plugin/src/main/groovy/mozilla/telemetry/glean-gradle-plugin/GleanGradlePlugin.groovy +++ b/gradle-plugin/src/main/groovy/mozilla/telemetry/glean-gradle-plugin/GleanGradlePlugin.groovy @@ -59,7 +59,7 @@ abstract class GleanMetricsYamlTransform implements TransformAction { // The version of glean_parser to install from PyPI. - private String GLEAN_PARSER_VERSION = "20.0" + private String GLEAN_PARSER_VERSION = "20.1" // The version of Miniconda is explicitly specified. // Miniconda3-4.5.12 is known to not work on Windows. private String MINICONDA_VERSION = "24.3.0-0" diff --git a/pyproject.toml b/pyproject.toml index cdc012ebc0..2f9eecc46f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ maintainers = [ dependencies = [ "semver>=2.13.0", - "glean_parser~=20.0", + "glean_parser~=20.1", ] [project.urls] diff --git a/samples/glean-sym-test/Cargo.lock b/samples/glean-sym-test/Cargo.lock index 7d4035a2b6..fe9f47e469 100644 --- a/samples/glean-sym-test/Cargo.lock +++ b/samples/glean-sym-test/Cargo.lock @@ -446,7 +446,7 @@ dependencies = [ [[package]] name = "glean-build" -version = "20.0.0" +version = "20.1.0" dependencies = [ "xshell-venv", ] diff --git a/samples/rapid-metrics/metrics.yaml b/samples/rapid-metrics/metrics.yaml index 655f2363f0..98f90f35b0 100644 --- a/samples/rapid-metrics/metrics.yaml +++ b/samples/rapid-metrics/metrics.yaml @@ -38,8 +38,6 @@ test.metrics: expires: never send_in_pings: - prototype - no_lint: - - COMMON_PREFIX sample_string: type: string @@ -54,8 +52,6 @@ test.metrics: expires: never send_in_pings: - prototype - no_lint: - - COMMON_PREFIX timings: type: timing_distribution @@ -71,8 +67,6 @@ test.metrics: expires: never send_in_pings: - prototype - no_lint: - - COMMON_PREFIX static_static: type: dual_labeled_counter diff --git a/samples/rust/metrics.yaml b/samples/rust/metrics.yaml index b0c7621366..cf3d528f09 100644 --- a/samples/rust/metrics.yaml +++ b/samples/rust/metrics.yaml @@ -69,8 +69,6 @@ test.metrics: expires: never send_in_pings: - prototype - no_lint: - - COMMON_PREFIX sample_labeled_string: <<: *defaults @@ -86,8 +84,6 @@ test.metrics: expires: never send_in_pings: - prototype - no_lint: - - COMMON_PREFIX timings: <<: *defaults