Skip to content

Commit 94946c9

Browse files
committed
Merge branch 'release-65.0.1' into release
2 parents 612132a + 39d5a5d commit 94946c9

File tree

12 files changed

+316
-57
lines changed

12 files changed

+316
-57
lines changed

.buildconfig.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
libraryVersion: 65.0.0
1+
libraryVersion: 65.0.1
22
groupId: org.mozilla.telemetry
33
projects:
44
glean:

CHANGELOG.md

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

3-
[Full changelog](https://github.com/mozilla/glean/compare/v65.0.0...main)
3+
[Full changelog](https://github.com/mozilla/glean/compare/v65.0.1...main)
4+
5+
# v65.0.1 (2025-08-21)
6+
7+
[Full changelog](https://github.com/mozilla/glean/compare/v65.0.0...v65.0.1)
8+
9+
* Kotlin
10+
* Lock access to the internal dispatcher to ensure correct order of operations.
11+
Previously a race condition could lead to early metric recordings throwing an exception and crashing the application ([#3228](https://github.com/mozilla/glean/pull/3228))
412

513
# v65.0.0 (2025-08-18)
614

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DEPENDENCIES.md

Lines changed: 214 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,217 @@ The following text applies to code linked from these dependencies:
660660

661661
The following text applies to code linked from these dependencies:
662662

663+
* [winapi 0.3.9]( https://github.com/retep998/winapi-rs )
664+
665+
```
666+
Apache License
667+
Version 2.0, January 2004
668+
http://www.apache.org/licenses/
669+
670+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
671+
672+
1. Definitions.
673+
674+
"License" shall mean the terms and conditions for use, reproduction,
675+
and distribution as defined by Sections 1 through 9 of this document.
676+
677+
"Licensor" shall mean the copyright owner or entity authorized by
678+
the copyright owner that is granting the License.
679+
680+
"Legal Entity" shall mean the union of the acting entity and all
681+
other entities that control, are controlled by, or are under common
682+
control with that entity. For the purposes of this definition,
683+
"control" means (i) the power, direct or indirect, to cause the
684+
direction or management of such entity, whether by contract or
685+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
686+
outstanding shares, or (iii) beneficial ownership of such entity.
687+
688+
"You" (or "Your") shall mean an individual or Legal Entity
689+
exercising permissions granted by this License.
690+
691+
"Source" form shall mean the preferred form for making modifications,
692+
including but not limited to software source code, documentation
693+
source, and configuration files.
694+
695+
"Object" form shall mean any form resulting from mechanical
696+
transformation or translation of a Source form, including but
697+
not limited to compiled object code, generated documentation,
698+
and conversions to other media types.
699+
700+
"Work" shall mean the work of authorship, whether in Source or
701+
Object form, made available under the License, as indicated by a
702+
copyright notice that is included in or attached to the work
703+
(an example is provided in the Appendix below).
704+
705+
"Derivative Works" shall mean any work, whether in Source or Object
706+
form, that is based on (or derived from) the Work and for which the
707+
editorial revisions, annotations, elaborations, or other modifications
708+
represent, as a whole, an original work of authorship. For the purposes
709+
of this License, Derivative Works shall not include works that remain
710+
separable from, or merely link (or bind by name) to the interfaces of,
711+
the Work and Derivative Works thereof.
712+
713+
"Contribution" shall mean any work of authorship, including
714+
the original version of the Work and any modifications or additions
715+
to that Work or Derivative Works thereof, that is intentionally
716+
submitted to Licensor for inclusion in the Work by the copyright owner
717+
or by an individual or Legal Entity authorized to submit on behalf of
718+
the copyright owner. For the purposes of this definition, "submitted"
719+
means any form of electronic, verbal, or written communication sent
720+
to the Licensor or its representatives, including but not limited to
721+
communication on electronic mailing lists, source code control systems,
722+
and issue tracking systems that are managed by, or on behalf of, the
723+
Licensor for the purpose of discussing and improving the Work, but
724+
excluding communication that is conspicuously marked or otherwise
725+
designated in writing by the copyright owner as "Not a Contribution."
726+
727+
"Contributor" shall mean Licensor and any individual or Legal Entity
728+
on behalf of whom a Contribution has been received by Licensor and
729+
subsequently incorporated within the Work.
730+
731+
2. Grant of Copyright License. Subject to the terms and conditions of
732+
this License, each Contributor hereby grants to You a perpetual,
733+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
734+
copyright license to reproduce, prepare Derivative Works of,
735+
publicly display, publicly perform, sublicense, and distribute the
736+
Work and such Derivative Works in Source or Object form.
737+
738+
3. Grant of Patent License. Subject to the terms and conditions of
739+
this License, each Contributor hereby grants to You a perpetual,
740+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
741+
(except as stated in this section) patent license to make, have made,
742+
use, offer to sell, sell, import, and otherwise transfer the Work,
743+
where such license applies only to those patent claims licensable
744+
by such Contributor that are necessarily infringed by their
745+
Contribution(s) alone or by combination of their Contribution(s)
746+
with the Work to which such Contribution(s) was submitted. If You
747+
institute patent litigation against any entity (including a
748+
cross-claim or counterclaim in a lawsuit) alleging that the Work
749+
or a Contribution incorporated within the Work constitutes direct
750+
or contributory patent infringement, then any patent licenses
751+
granted to You under this License for that Work shall terminate
752+
as of the date such litigation is filed.
753+
754+
4. Redistribution. You may reproduce and distribute copies of the
755+
Work or Derivative Works thereof in any medium, with or without
756+
modifications, and in Source or Object form, provided that You
757+
meet the following conditions:
758+
759+
(a) You must give any other recipients of the Work or
760+
Derivative Works a copy of this License; and
761+
762+
(b) You must cause any modified files to carry prominent notices
763+
stating that You changed the files; and
764+
765+
(c) You must retain, in the Source form of any Derivative Works
766+
that You distribute, all copyright, patent, trademark, and
767+
attribution notices from the Source form of the Work,
768+
excluding those notices that do not pertain to any part of
769+
the Derivative Works; and
770+
771+
(d) If the Work includes a "NOTICE" text file as part of its
772+
distribution, then any Derivative Works that You distribute must
773+
include a readable copy of the attribution notices contained
774+
within such NOTICE file, excluding those notices that do not
775+
pertain to any part of the Derivative Works, in at least one
776+
of the following places: within a NOTICE text file distributed
777+
as part of the Derivative Works; within the Source form or
778+
documentation, if provided along with the Derivative Works; or,
779+
within a display generated by the Derivative Works, if and
780+
wherever such third-party notices normally appear. The contents
781+
of the NOTICE file are for informational purposes only and
782+
do not modify the License. You may add Your own attribution
783+
notices within Derivative Works that You distribute, alongside
784+
or as an addendum to the NOTICE text from the Work, provided
785+
that such additional attribution notices cannot be construed
786+
as modifying the License.
787+
788+
You may add Your own copyright statement to Your modifications and
789+
may provide additional or different license terms and conditions
790+
for use, reproduction, or distribution of Your modifications, or
791+
for any such Derivative Works as a whole, provided Your use,
792+
reproduction, and distribution of the Work otherwise complies with
793+
the conditions stated in this License.
794+
795+
5. Submission of Contributions. Unless You explicitly state otherwise,
796+
any Contribution intentionally submitted for inclusion in the Work
797+
by You to the Licensor shall be under the terms and conditions of
798+
this License, without any additional terms or conditions.
799+
Notwithstanding the above, nothing herein shall supersede or modify
800+
the terms of any separate license agreement you may have executed
801+
with Licensor regarding such Contributions.
802+
803+
6. Trademarks. This License does not grant permission to use the trade
804+
names, trademarks, service marks, or product names of the Licensor,
805+
except as required for reasonable and customary use in describing the
806+
origin of the Work and reproducing the content of the NOTICE file.
807+
808+
7. Disclaimer of Warranty. Unless required by applicable law or
809+
agreed to in writing, Licensor provides the Work (and each
810+
Contributor provides its Contributions) on an "AS IS" BASIS,
811+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
812+
implied, including, without limitation, any warranties or conditions
813+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
814+
PARTICULAR PURPOSE. You are solely responsible for determining the
815+
appropriateness of using or redistributing the Work and assume any
816+
risks associated with Your exercise of permissions under this License.
817+
818+
8. Limitation of Liability. In no event and under no legal theory,
819+
whether in tort (including negligence), contract, or otherwise,
820+
unless required by applicable law (such as deliberate and grossly
821+
negligent acts) or agreed to in writing, shall any Contributor be
822+
liable to You for damages, including any direct, indirect, special,
823+
incidental, or consequential damages of any character arising as a
824+
result of this License or out of the use or inability to use the
825+
Work (including but not limited to damages for loss of goodwill,
826+
work stoppage, computer failure or malfunction, or any and all
827+
other commercial damages or losses), even if such Contributor
828+
has been advised of the possibility of such damages.
829+
830+
9. Accepting Warranty or Additional Liability. While redistributing
831+
the Work or Derivative Works thereof, You may choose to offer,
832+
and charge a fee for, acceptance of support, warranty, indemnity,
833+
or other liability obligations and/or rights consistent with this
834+
License. However, in accepting such obligations, You may act only
835+
on Your own behalf and on Your sole responsibility, not on behalf
836+
of any other Contributor, and only if You agree to indemnify,
837+
defend, and hold each Contributor harmless for any liability
838+
incurred by, or claims asserted against, such Contributor by reason
839+
of your accepting any such warranty or additional liability.
840+
841+
END OF TERMS AND CONDITIONS
842+
843+
APPENDIX: How to apply the Apache License to your work.
844+
845+
To apply the Apache License to your work, attach the following
846+
boilerplate notice, with the fields enclosed by brackets "{}"
847+
replaced with your own identifying information. (Don't include
848+
the brackets!) The text should be enclosed in the appropriate
849+
comment syntax for the file format. We also recommend that a
850+
file or class name and description of purpose be included on the
851+
same "printed page" as the copyright notice for easier
852+
identification within third-party archives.
853+
854+
Copyright {yyyy} {name of copyright owner}
855+
856+
Licensed under the Apache License, Version 2.0 (the "License");
857+
you may not use this file except in compliance with the License.
858+
You may obtain a copy of the License at
859+
860+
http://www.apache.org/licenses/LICENSE-2.0
861+
862+
Unless required by applicable law or agreed to in writing, software
863+
distributed under the License is distributed on an "AS IS" BASIS,
864+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
865+
See the License for the specific language governing permissions and
866+
limitations under the License.
867+
868+
```
869+
## Apache License 2.0
870+
<span id="Apache-2.0"></span>
871+
872+
The following text applies to code linked from these dependencies:
873+
663874
* [crc32fast 1.3.2]( https://github.com/srijs/rust-crc32fast )
664875
* [humantime 2.1.0]( https://github.com/tailhook/humantime )
665876

@@ -3452,6 +3663,7 @@ The following text applies to code linked from these dependencies:
34523663
* [thiserror 2.0.12]( https://github.com/dtolnay/thiserror )
34533664
* [tinyvec_macros 0.1.0]( https://github.com/Soveu/tinyvec_macros )
34543665
* [unicode-ident 1.0.16]( https://github.com/dtolnay/unicode-ident )
3666+
* [winapi-x86_64-pc-windows-gnu 0.4.0]( https://github.com/retep998/winapi-rs )
34553667
* [xshell-macros 0.2.2]( https://github.com/matklad/xshell )
34563668

34573669
```
@@ -4394,9 +4606,9 @@ SOFTWARE.
43944606

43954607
The following text applies to code linked from these dependencies:
43964608

4397-
* [glean-core 65.0.0]( https://github.com/mozilla/glean )
4609+
* [glean-core 65.0.1]( https://github.com/mozilla/glean )
43984610
* [glean-build 17.2.0]( https://github.com/mozilla/glean )
4399-
* [glean 65.0.0]( https://github.com/mozilla/glean )
4611+
* [glean 65.0.1]( https://github.com/mozilla/glean )
44004612
* [zeitstempel 0.1.2]( https://github.com/badboy/zeitstempel )
44014613

44024614
```

docs/dev/android/development-with-mozilla-central.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,66 @@ Make sure to use the correct path pointing to your Glean checkout.
5050
>
5151
> See [Replacing the Glean Gradle plugin in mozilla-central](gradle-plugin-in-mc.md).
5252
> For replacing `glean_parser` in a local build, see [Substituting `glean_parser`](glean-parser-substitution.md).
53+
54+
## Manual `mavenLocal()`
55+
56+
If the [Substituting projects](#substituting-projects) does not work you can manually switch to using `mavenLocal()`.
57+
58+
In the Glean repository:
59+
60+
1. Bump the version: `bin/prepare-release.sh 65.1.0`
61+
* Only increase the minor version to ensure it works transitively
62+
1. Publish the Gradle project locally: `./gradlew publishToMavenLocal`
63+
1. Check that the packages are available in `~/.m2/repository`
64+
65+
In `mozilla-central`:
66+
67+
1. In `gradle.properties` remove the line `org.gradle.configuration-cache=true`
68+
* Alternatively use `--no-build-cache --no-configuration-cache` on all Gradle invocations when building Fenix/Focus
69+
1. In `gradle/libs.versions.toml` change the version of `mozilla-glean`
70+
1. In the top-level `build.gradle` add `mavenLocal()` to the `repositories` block under `allprojects`, e.g.
71+
```gradle
72+
allprojects {
73+
repositories {
74+
mavenLocal()
75+
}
76+
}
77+
```
78+
1. Further down in the top-level `build.gradle` disable the check in `verifyGleanVersion`, e.g.
79+
```gradle
80+
@TaskAction
81+
void verifyGleanVersion() {
82+
}
83+
```
84+
85+
Now you can build Fenix or Focus, for example with `./mach gradle fenix:assembleFenixDebug`.
86+
After changes in the Glean repository publish a new package using `./gradlew publishToMavenLocal` and rebuild Fenix.
87+
88+
## Try runs with development versions of Glean
89+
90+
Publish Glean to the local maven repository as above.
91+
92+
In `mozilla-central`:
93+
94+
1. Create a directory: `mkdir -p third_party/kotlin`
95+
1. Add the local packages: `cp -a ~/.m2/repository/* third_party/kotlin`
96+
1. Commit the new files: `git add third_party/kotlin && git commit -m "dev glean from local repo"`
97+
1. Change the version number in `gradle/libs.versions.toml`
98+
1. Add the following under `repositories `to the top-level `build.gradle` and nested `build.gradle` files:
99+
```gradle
100+
maven {
101+
url uri("${gradle.mozconfig.topsrcdir}/third_party/kotlin")
102+
}
103+
```
104+
105+
The nested `build.gradle` files are:
106+
107+
* `mobile/android/fenix/build.gradle`
108+
* `mobile/android/focus-android/build.gradle`
109+
* `mobile/android/android-components/build.gradle`
110+
111+
You can now launch try tasks with the modified Glean.
112+
113+
After changes in the Glean repository publish a new package using `./gradlew publishToMavenLocal`,
114+
then copy the files again with `cp -a ~/.m2/repository/* third_party/kotlin`.
115+
Commit the changes and push to try again.

glean-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "glean-core"
3-
version = "65.0.0"
3+
version = "65.0.1"
44
authors = ["Jan-Erik Rediger <jrediger@mozilla.com>", "The Glean Team <glean-team@mozilla.com>"]
55
description = "A modern Telemetry library"
66
repository = "https://github.com/mozilla/glean"

0 commit comments

Comments
 (0)