Skip to content

Commit 953be3c

Browse files
committed
Merge branch 'release-v5.0.2' into release
2 parents 2d546f2 + 96dbc32 commit 953be3c

Some content is hidden

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

47 files changed

+11045
-1970
lines changed

.circleci/config.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,12 @@ jobs:
9797
- run:
9898
name: Build library
9999
command: npm --prefix ./glean run build
100+
- run:
101+
name: Install JavaScript documentation dependencies
102+
command: npm --prefix ./documentation install
100103
- run:
101104
name: Build docs
102-
command: npm --prefix ./glean run build:docs
105+
command: npm --prefix ./documentation run build
103106

104107
browser-compat-smoke-tests:
105108
docker:
@@ -138,22 +141,22 @@ jobs:
138141
- "ea:d2:3c:e1:09:cf:1a:1d:85:d6:6e:1d:52:0a:58:41"
139142
- run:
140143
name: Install JavaScript dependencies
141-
command: npm --prefix ./glean install
144+
command: npm --prefix ./documentation install
142145
- run:
143146
name: Build documentation
144-
command: npm --prefix ./glean run build:docs
147+
command: npm --prefix ./documentation run build
145148
- run:
146149
name: Disable jekyll builds
147-
command: touch glean/dist/docs/.nojekyll
150+
command: touch documentation/dist/.nojekyll
148151
- run:
149152
name: Show contents
150-
command: ls -R glean/dist/docs
153+
command: ls -R documentation/dist
151154
- run:
152155
name: Setup SSH key and deploy docs to gh-pages branch
153156
command: |
154157
git config user.email "[email protected]"
155158
git config user.name "dataops-ci-bot"
156-
npm --prefix ./glean run publish:docs
159+
npm --prefix ./documentation run publish:docs
157160
158161
publish:
159162
docker:
@@ -240,9 +243,10 @@ workflows:
240243
context: data-sre-gleanjs
241244
filters:
242245
branches:
243-
ignore: /.*/
244-
tags:
245-
only: /^v.*/
246+
only:
247+
- main
248+
- release
249+
- /^release-.*/
246250
- publish:
247251
context: data-sre-gleanjs
248252
filters:

.dictionary

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
personal_ws-1.1 en 82
22
API's
33
APIs
4+
Astro
45
BUGFIX
56
BrowserStack
67
CLI
@@ -17,14 +18,18 @@ JSDoc
1718
JWK
1819
LocalStorage
1920
MPL
21+
Nodejs
22+
Nextjs
2023
PingType
2124
PlatformInfo
25+
Programmatically
2226
QML
2327
QuantityMetricType
2428
README
2529
SDK
2630
SDK's
2731
SDKs
32+
SPAs
2833
TODO
2934
TimespanMetricType
3035
TypeScript
@@ -37,6 +42,7 @@ benchmarking
3742
boolean
3843
booleans
3944
brizental
45+
brosa
4046
changelog
4147
chutten
4248
ci
@@ -45,10 +51,13 @@ config
4551
datetime
4652
deserialize
4753
deserializing
54+
dev
4855
dexter
4956
enqueued
5057
enum
58+
dashboarding
5159
falsy
60+
favicons
5261
firefox
5362
getters
5463
gzip
@@ -61,20 +70,26 @@ js
6170
json
6271
linter
6372
linters
73+
localStorage
6474
md
6575
mdroettboom
6676
mozilla
6777
npm
78+
pre
6879
prerelease
6980
queueing
7081
runtime
7182
schemas
83+
sendbeacon
84+
sendBeacon
85+
sessionStorage
7286
setRawNanos
7387
setUploadEnabled
7488
ssr
7589
timespan
7690
travis
7791
unminified
92+
uploadEnabled
7893
uploader
7994
uploaders
8095
url

CHANGELOG.md

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

3-
[Full changelog](https://github.com/mozilla/glean.js/compare/v5.0.1...main)
3+
[Full changelog](https://github.com/mozilla/glean.js/compare/v5.0.2...main)
4+
5+
# v5.0.2 (2024-05-23)
6+
7+
[Full changelog](https://github.com/mozilla/glean.js/compare/v5.0.1...v5.0.2)
8+
9+
* [#1935](https://github.com/mozilla/glean.js/pull/1935): **BREAKING CHANGE**: Remove `migrateFromLegacyStorage` capability and configuration option. If your project currently sets the `migrateFromLegacyStorage` value, this will no longer work.
10+
* [#1942](https://github.com/mozilla/glean.js/pull/1942): Bumped `glean_parser` version to `14.1.2`.
411

512
# v5.0.1 (2024-04-30)
613

@@ -28,7 +35,7 @@ This is the official release based on the v5.0.0-pre.0 release.
2835

2936
[Full changelog](https://github.com/mozilla/glean.js/compare/v4.0.0...v4.1.0-pre.0)
3037

31-
* [#1866](https://github.com/mozilla/glean.js/pull/1866): Added a new uploader that falls back to `fetch` if `navigator.sendBeacon` fails.
38+
* [#1866](https://github.com/mozilla/glean.js/pull/1866): Added a new uploader that falls back to `fetch` if `navigator.sendBeacon` fails.
3239
* [#1876](https://github.com/mozilla/glean.js/pull/1876): **BREAKING CHANGE**: `navigator.sendBeacon` with fallback to `fetch` (see #1866) is now the default uploader. This can be changed manually.
3340
* [#1850](https://github.com/mozilla/glean.js/pull/1850): Automatically record basic session information (`session_id` & `session_count`) for web properties.
3441

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,26 @@
88

99
All documentation is available online:
1010

11+
### [The Glean.js Docs](https://mozilla.github.io/glean.js/)
12+
13+
If you are using Glean.js in your project, this is the place to go.
14+
1115
### [The Glean Book](https://mozilla.github.io/glean/)
1216

13-
If you are using Glean.js in your project, this is the place to go.
14-
It contains user guides on getting started and other topics, as well as reference to Glean APIs.
17+
The Glean Book contains general information on the Glean ecosystem and about the SDKs on other platforms, as well as reference to Glean APIs (which are common to all the platforms).
1518

1619
### [Glean.js developer documentation](https://github.com/mozilla/glean.js/tree/main/docs)
1720

1821
If you want to contribute to the Glean.js code base this is the place to go.
1922

20-
### [Glean.js internal reference](https://mozilla.github.io/glean.js/)
21-
22-
If you are looking for detailed documentation on the Glean APIs (internal or external) this is the place to go.
23-
24-
_This documentation is auto generated from the doc comments throughout the Glean.js code base and
25-
the Glean book should be preferred over this documentation whenever possible._
26-
2723
## Contact
2824

2925
To contact us you can:
3026

3127
* Find us in the [#glean channel on chat.mozilla.org](https://chat.mozilla.org/#/room/#glean:mozilla.org).
3228
* To report issues or request changes, file a bug in [Bugzilla in Data Platform & Tools :: Glean SDK](https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=normal&bug_status=NEW&bug_type=defect&cf_fx_iteration=---&cf_fx_points=---&cf_status_firefox100=---&cf_status_firefox101=---&cf_status_firefox99=---&cf_status_firefox_esr91=---&cf_tracking_firefox100=---&cf_tracking_firefox101=---&cf_tracking_firefox99=---&cf_tracking_firefox_esr91=---&component=Glean%3A%20SDK&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-721=X&flag_type-737=X&flag_type-799=X&flag_type-800=X&flag_type-803=X&flag_type-936=X&flag_type-947=X&form_name=enter_bug&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=Unspecified&priority=P3&product=Data%20Platform%20and%20Tools&rep_platform=Unspecified&status_whiteboard=%5Bglean-sdk%3Am%3F%5D%5Bglean-js%5D&target_milestone=---&version=unspecified).
3329
* Send an email to *[email protected]*.
34-
* The Glean SDKs team is: *:dexter*, *:janerik*, *:travis_*, *:chutten*.
30+
* The Glean SDKs team is: *:dexter*, *:janerik*, *:travis_*, *:chutten*, *:brosa*.
3531

3632
## Credits
3733

0 commit comments

Comments
 (0)