1 | # @firebase/analytics
|
2 |
|
3 | ## 0.8.0
|
4 |
|
5 | ### Minor Changes
|
6 |
|
7 | - [`1d3a34d7d`](https://github.com/firebase/firebase-js-sdk/commit/1d3a34d7da5bf3c267d014efb587e03c46ff3064) [#6376](https://github.com/firebase/firebase-js-sdk/pull/6376) - Add function `setConsent()` to set the applicable end user "consent" state.
|
8 |
|
9 | * [`69e2ee064`](https://github.com/firebase/firebase-js-sdk/commit/69e2ee064e0729d8da823f1e60f6fb7f3bbe5700) [#6367](https://github.com/firebase/firebase-js-sdk/pull/6367) - Add function `setDefaultEventParameters()` to set data that will be logged on every Analytics SDK event
|
10 |
|
11 | ### Patch Changes
|
12 |
|
13 | - Updated dependencies [[`b12af44a5`](https://github.com/firebase/firebase-js-sdk/commit/b12af44a5c7500e1192d6cc1a4afc4d77efadbaf)]:
|
14 | - @firebase/util@1.6.3
|
15 | - @firebase/component@0.5.17
|
16 | - @firebase/installations@0.5.12
|
17 |
|
18 | ## 0.7.11
|
19 |
|
20 | ### Patch Changes
|
21 |
|
22 | - [`835f1d46a`](https://github.com/firebase/firebase-js-sdk/commit/835f1d46a6780535bc660ef7dc23293350d5fe43) [#6357](https://github.com/firebase/firebase-js-sdk/pull/6357) - Fix typo in GtagConfigParams
|
23 |
|
24 | - Updated dependencies [[`efe2000fc`](https://github.com/firebase/firebase-js-sdk/commit/efe2000fc499e2c85c4e5e0fef6741ff3bad2eb0)]:
|
25 | - @firebase/util@1.6.2
|
26 | - @firebase/component@0.5.16
|
27 | - @firebase/installations@0.5.11
|
28 |
|
29 | ## 0.7.10
|
30 |
|
31 | ### Patch Changes
|
32 |
|
33 | - [`2cd1cc76f`](https://github.com/firebase/firebase-js-sdk/commit/2cd1cc76f2a308135cd60f424fe09084a34b5cb5) [#6307](https://github.com/firebase/firebase-js-sdk/pull/6307) (fixes [#6300](https://github.com/firebase/firebase-js-sdk/issues/6300)) - fix: add type declarations to exports field
|
34 |
|
35 | - Updated dependencies [[`2cd1cc76f`](https://github.com/firebase/firebase-js-sdk/commit/2cd1cc76f2a308135cd60f424fe09084a34b5cb5)]:
|
36 | - @firebase/component@0.5.15
|
37 | - @firebase/installations@0.5.10
|
38 | - @firebase/logger@0.3.3
|
39 | - @firebase/util@1.6.1
|
40 |
|
41 | ## 0.7.9
|
42 |
|
43 | ### Patch Changes
|
44 |
|
45 | - Updated dependencies [[`9c5c9c36d`](https://github.com/firebase/firebase-js-sdk/commit/9c5c9c36da80b98b73cfd60ef2e2965087e9f801)]:
|
46 | - @firebase/util@1.6.0
|
47 | - @firebase/installations@0.5.9
|
48 | - @firebase/component@0.5.14
|
49 |
|
50 | ## 0.7.8
|
51 |
|
52 | ### Patch Changes
|
53 |
|
54 | - Updated dependencies [[`e9e5f6b3c`](https://github.com/firebase/firebase-js-sdk/commit/e9e5f6b3ca9d61323b22f87986d9959f5297ec59)]:
|
55 | - @firebase/util@1.5.2
|
56 | - @firebase/component@0.5.13
|
57 | - @firebase/installations@0.5.8
|
58 |
|
59 | ## 0.7.7
|
60 |
|
61 | ### Patch Changes
|
62 |
|
63 | - Updated dependencies [[`3198d58dc`](https://github.com/firebase/firebase-js-sdk/commit/3198d58dcedbf7583914dbcc76984f6f7df8d2ef)]:
|
64 | - @firebase/util@1.5.1
|
65 | - @firebase/component@0.5.12
|
66 | - @firebase/installations@0.5.7
|
67 |
|
68 | ## 0.7.6
|
69 |
|
70 | ### Patch Changes
|
71 |
|
72 | - Updated dependencies [[`2d672cead`](https://github.com/firebase/firebase-js-sdk/commit/2d672cead167187cb714cd89b638c0884ba58f03), [`ddeff8384`](https://github.com/firebase/firebase-js-sdk/commit/ddeff8384ab8a927f02244e2591db525fd58c7dd)]:
|
73 | - @firebase/installations@0.5.6
|
74 | - @firebase/util@1.5.0
|
75 | - @firebase/component@0.5.11
|
76 |
|
77 | ## 0.7.5
|
78 |
|
79 | ### Patch Changes
|
80 |
|
81 | - Updated dependencies [[`3b481f572`](https://github.com/firebase/firebase-js-sdk/commit/3b481f572456e1eab3435bfc25717770d95a8c49)]:
|
82 | - @firebase/util@1.4.3
|
83 | - @firebase/component@0.5.10
|
84 | - @firebase/installations@0.5.5
|
85 |
|
86 | ## 0.7.4
|
87 |
|
88 | ### Patch Changes
|
89 |
|
90 | - [`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a) [#5708](https://github.com/firebase/firebase-js-sdk/pull/5708) (fixes [#1487](https://github.com/firebase/firebase-js-sdk/issues/1487)) - Update build scripts to work with the exports field
|
91 |
|
92 | - Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
|
93 | - @firebase/component@0.5.9
|
94 | - @firebase/installations@0.5.4
|
95 | - @firebase/logger@0.3.2
|
96 | - @firebase/util@1.4.2
|
97 |
|
98 | ## 0.7.3
|
99 |
|
100 | ### Patch Changes
|
101 |
|
102 | - [`2322b6023`](https://github.com/firebase/firebase-js-sdk/commit/2322b6023c628cd9f4f4172767c17d215dd91684) [#5693](https://github.com/firebase/firebase-js-sdk/pull/5693) - Add exports field to all packages
|
103 |
|
104 | - Updated dependencies [[`2322b6023`](https://github.com/firebase/firebase-js-sdk/commit/2322b6023c628cd9f4f4172767c17d215dd91684)]:
|
105 | - @firebase/component@0.5.8
|
106 | - @firebase/installations@0.5.3
|
107 | - @firebase/logger@0.3.1
|
108 | - @firebase/util@1.4.1
|
109 |
|
110 | ## 0.7.2
|
111 |
|
112 | ### Patch Changes
|
113 |
|
114 | - [`93795c780`](https://github.com/firebase/firebase-js-sdk/commit/93795c7801d6b28ccbbe5855fd2f3fc377b1db5f) [#5596](https://github.com/firebase/firebase-js-sdk/pull/5596) - report build variants for packages
|
115 |
|
116 | - Updated dependencies [[`93795c780`](https://github.com/firebase/firebase-js-sdk/commit/93795c7801d6b28ccbbe5855fd2f3fc377b1db5f)]:
|
117 | - @firebase/installations@0.5.2
|
118 |
|
119 | ## 0.7.1
|
120 |
|
121 | ### Patch Changes
|
122 |
|
123 | - [`b835b4cba`](https://github.com/firebase/firebase-js-sdk/commit/b835b4cbabc4b7b180ae38b908c49205ce31a422) [#5506](https://github.com/firebase/firebase-js-sdk/pull/5506) - checking isSupported led to runtime errors in certain environments
|
124 |
|
125 | - Updated dependencies [[`a99943fe3`](https://github.com/firebase/firebase-js-sdk/commit/a99943fe3bd5279761aa29d138ec91272b06df39), [`b835b4cba`](https://github.com/firebase/firebase-js-sdk/commit/b835b4cbabc4b7b180ae38b908c49205ce31a422)]:
|
126 | - @firebase/logger@0.3.0
|
127 | - @firebase/util@1.4.0
|
128 | - @firebase/component@0.5.7
|
129 | - @firebase/installations@0.5.1
|
130 |
|
131 | ## 0.7.0
|
132 |
|
133 | ### Minor Changes
|
134 |
|
135 | - [`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6) [#5345](https://github.com/firebase/firebase-js-sdk/pull/5345) (fixes [#5015](https://github.com/firebase/firebase-js-sdk/issues/5015)) - Release modularized SDKs
|
136 |
|
137 | ### Patch Changes
|
138 |
|
139 | - Updated dependencies [[`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6)]:
|
140 | - @firebase/installations@0.5.0
|
141 |
|
142 | ## 0.6.18
|
143 |
|
144 | ### Patch Changes
|
145 |
|
146 | - Updated dependencies [[`bb6b5abff`](https://github.com/firebase/firebase-js-sdk/commit/bb6b5abff6f89ce9ec1bd66ff4e795a059a98eec), [`3c6a11c8d`](https://github.com/firebase/firebase-js-sdk/commit/3c6a11c8d0b35afddb50e9c3e0c4d2e30f642131)]:
|
147 | - @firebase/component@0.5.6
|
148 | - @firebase/util@1.3.0
|
149 | - @firebase/installations@0.4.32
|
150 |
|
151 | ## 0.6.17
|
152 |
|
153 | ### Patch Changes
|
154 |
|
155 | - Updated dependencies [[`bd50d8310`](https://github.com/firebase/firebase-js-sdk/commit/bd50d83107be3d87064f72800c608abc94ae3456)]:
|
156 | - @firebase/analytics-types@0.6.0
|
157 |
|
158 | ## 0.6.16
|
159 |
|
160 | ### Patch Changes
|
161 |
|
162 | - Updated dependencies [[`a3cbe719b`](https://github.com/firebase/firebase-js-sdk/commit/a3cbe719b1bd733a5c4c15ee0d0e6388d512054c)]:
|
163 | - @firebase/util@1.2.0
|
164 | - @firebase/component@0.5.5
|
165 | - @firebase/installations@0.4.31
|
166 |
|
167 | ## 0.6.15
|
168 |
|
169 | ### Patch Changes
|
170 |
|
171 | - Updated dependencies [[`02586c975`](https://github.com/firebase/firebase-js-sdk/commit/02586c9754318b01a0051561d2c7c4906059b5af)]:
|
172 | - @firebase/analytics-types@0.5.0
|
173 |
|
174 | ## 0.6.14
|
175 |
|
176 | ### Patch Changes
|
177 |
|
178 | - Updated dependencies [[`56a6a9d4a`](https://github.com/firebase/firebase-js-sdk/commit/56a6a9d4af2766154584a0f66d3c4d8024d74ba5)]:
|
179 | - @firebase/component@0.5.4
|
180 | - @firebase/installations@0.4.30
|
181 |
|
182 | ## 0.6.13
|
183 |
|
184 | ### Patch Changes
|
185 |
|
186 | - Updated dependencies [[`725ab4684`](https://github.com/firebase/firebase-js-sdk/commit/725ab4684ef0999a12f71e704c204a00fb030e5d)]:
|
187 | - @firebase/component@0.5.3
|
188 | - @firebase/installations@0.4.29
|
189 |
|
190 | ## 0.6.12
|
191 |
|
192 | ### Patch Changes
|
193 |
|
194 | - Updated dependencies [[`4c4b6aed9`](https://github.com/firebase/firebase-js-sdk/commit/4c4b6aed9757c9a7e75fb698a15e53274f93880b)]:
|
195 | - @firebase/component@0.5.2
|
196 | - @firebase/installations@0.4.28
|
197 |
|
198 | ## 0.6.11
|
199 |
|
200 | ### Patch Changes
|
201 |
|
202 | - Updated dependencies [[`5fbc5fb01`](https://github.com/firebase/firebase-js-sdk/commit/5fbc5fb0140d7da980fd7ebbfbae810f8c64ae19)]:
|
203 | - @firebase/component@0.5.1
|
204 | - @firebase/installations@0.4.27
|
205 |
|
206 | ## 0.6.10
|
207 |
|
208 | ### Patch Changes
|
209 |
|
210 | - Updated dependencies [[`c34ac7a92`](https://github.com/firebase/firebase-js-sdk/commit/c34ac7a92a616915f38d192654db7770d81747ae), [`ac4ad08a2`](https://github.com/firebase/firebase-js-sdk/commit/ac4ad08a284397ec966e991dd388bb1fba857467)]:
|
211 | - @firebase/component@0.5.0
|
212 | - @firebase/util@1.1.0
|
213 | - @firebase/installations@0.4.26
|
214 |
|
215 | ## 0.6.9
|
216 |
|
217 | ### Patch Changes
|
218 |
|
219 | - Updated dependencies [[`7354a0ed4`](https://github.com/firebase/firebase-js-sdk/commit/7354a0ed438f4e3df6577e4927e8c8f8f1fbbfda)]:
|
220 | - @firebase/util@1.0.0
|
221 | - @firebase/component@0.4.1
|
222 | - @firebase/installations@0.4.25
|
223 |
|
224 | ## 0.6.8
|
225 |
|
226 | ### Patch Changes
|
227 |
|
228 | - Updated dependencies [[`f24d8961b`](https://github.com/firebase/firebase-js-sdk/commit/f24d8961b3b87821413297688803fc85113086b3)]:
|
229 | - @firebase/component@0.4.0
|
230 | - @firebase/installations@0.4.24
|
231 |
|
232 | ## 0.6.7
|
233 |
|
234 | ### Patch Changes
|
235 |
|
236 | - Updated dependencies [[`de5f90501`](https://github.com/firebase/firebase-js-sdk/commit/de5f9050137acc9ed1490082e5aa429b5de3cb2a)]:
|
237 | - @firebase/util@0.4.1
|
238 | - @firebase/component@0.3.1
|
239 | - @firebase/installations@0.4.23
|
240 |
|
241 | ## 0.6.6
|
242 |
|
243 | ### Patch Changes
|
244 |
|
245 | - Updated dependencies [[`5c1a83ed7`](https://github.com/firebase/firebase-js-sdk/commit/5c1a83ed70bae979322bd8751c0885d683ce4bf3)]:
|
246 | - @firebase/component@0.3.0
|
247 | - @firebase/installations@0.4.22
|
248 |
|
249 | ## 0.6.5
|
250 |
|
251 | ### Patch Changes
|
252 |
|
253 | - Updated dependencies [[`ec95df3d0`](https://github.com/firebase/firebase-js-sdk/commit/ec95df3d07e5f091f2a7f7327e46417f64d04b4e)]:
|
254 | - @firebase/util@0.4.0
|
255 | - @firebase/component@0.2.1
|
256 | - @firebase/installations@0.4.21
|
257 |
|
258 | ## 0.6.4
|
259 |
|
260 | ### Patch Changes
|
261 |
|
262 | - Updated dependencies [[`6afe42613`](https://github.com/firebase/firebase-js-sdk/commit/6afe42613ed3d7a842d378dc1a09a795811db2ac)]:
|
263 | - @firebase/component@0.2.0
|
264 | - @firebase/installations@0.4.20
|
265 |
|
266 | ## 0.6.3
|
267 |
|
268 | ### Patch Changes
|
269 |
|
270 | - [`74bf52009`](https://github.com/firebase/firebase-js-sdk/commit/74bf52009b291a62deabfd865084d4e0fcacc483) [#4458](https://github.com/firebase/firebase-js-sdk/pull/4458) - Fixed a behavior causing `gtag` to be downloaded twice on Firebase Analytics initialization. This did not seem to affect the functionality of Firebase Analytics but adds noise to the logs when users are trying to debug.
|
271 |
|
272 | ## 0.6.2
|
273 |
|
274 | ### Patch Changes
|
275 |
|
276 | - Updated dependencies [[`9cf727fcc`](https://github.com/firebase/firebase-js-sdk/commit/9cf727fcc3d049551b16ae0698ac33dc2fe45ada)]:
|
277 | - @firebase/util@0.3.4
|
278 | - @firebase/component@0.1.21
|
279 | - @firebase/installations@0.4.19
|
280 |
|
281 | ## 0.6.1
|
282 |
|
283 | ### Patch Changes
|
284 |
|
285 | - Updated dependencies [[`a5768b0aa`](https://github.com/firebase/firebase-js-sdk/commit/a5768b0aa7d7ce732279931aa436e988c9f36487), [`7d916d905`](https://github.com/firebase/firebase-js-sdk/commit/7d916d905ba16816ac8ac7c8748c83831ff614ce)]:
|
286 | - @firebase/component@0.1.20
|
287 | - @firebase/util@0.3.3
|
288 | - @firebase/installations@0.4.18
|
289 |
|
290 | ## 0.6.0
|
291 |
|
292 | ### Minor Changes
|
293 |
|
294 | - [`d4db75ff8`](https://github.com/firebase/firebase-js-sdk/commit/d4db75ff81388430489bd561ac2247fe9e0b6eb5) [#3836](https://github.com/firebase/firebase-js-sdk/pull/3836) (fixes [#3573](https://github.com/firebase/firebase-js-sdk/issues/3573)) - Analytics now warns instead of throwing if it detects a browser environment where analytics does not work.
|
295 |
|
296 | ## 0.5.0
|
297 |
|
298 | ### Minor Changes
|
299 |
|
300 | - [`fb3b095e4`](https://github.com/firebase/firebase-js-sdk/commit/fb3b095e4b7c8f57fdb3172bc039c84576abf290) [#2800](https://github.com/firebase/firebase-js-sdk/pull/2800) - Analytics now dynamically fetches the app's Measurement ID from the Dynamic Config backend
|
301 | instead of depending on the local Firebase config. It will fall back to any `measurementId`
|
302 | value found in the local config if the Dynamic Config fetch fails.
|
303 |
|
304 | ### Patch Changes
|
305 |
|
306 | - Updated dependencies [[`da1c7df79`](https://github.com/firebase/firebase-js-sdk/commit/da1c7df7982b08bbef82fcc8d93255f3e2d23cca), [`fb3b095e4`](https://github.com/firebase/firebase-js-sdk/commit/fb3b095e4b7c8f57fdb3172bc039c84576abf290), [`fb3b095e4`](https://github.com/firebase/firebase-js-sdk/commit/fb3b095e4b7c8f57fdb3172bc039c84576abf290)]:
|
307 | - @firebase/component@0.1.19
|
308 | - @firebase/util@0.3.2
|
309 | - @firebase/analytics-types@0.4.0
|
310 | - @firebase/installations@0.4.17
|
311 |
|
312 | ## 0.4.2
|
313 |
|
314 | ### Patch Changes
|
315 |
|
316 | - [`2a0d254f`](https://github.com/firebase/firebase-js-sdk/commit/2a0d254fa58e607842fc0380c8cfa7bbbb69df75) [#3555](https://github.com/firebase/firebase-js-sdk/pull/3555) - Added Browser Extension check for Firebase Analytics. `analytics.isSupported()` will now return `Promise<false>` for extension environments.
|
317 |
|
318 | - Updated dependencies [[`d4ca3da0`](https://github.com/firebase/firebase-js-sdk/commit/d4ca3da0a59fcea1261ba69d7eb663bba38d3089)]:
|
319 | - @firebase/util@0.3.1
|
320 | - @firebase/component@0.1.18
|
321 | - @firebase/installations@0.4.16
|
322 |
|
323 | ## 0.4.1
|
324 |
|
325 | ### Patch Changes
|
326 |
|
327 | - [`a87676b8`](https://github.com/firebase/firebase-js-sdk/commit/a87676b84b78ccc2f057a22eb947a5d13402949c) [#3472](https://github.com/firebase/firebase-js-sdk/pull/3472) - - Fix an error where an analytics PR included a change to `@firebase/util`, but
|
328 | the util package was not properly included in the changeset for a patch bump.
|
329 |
|
330 | - `@firebase/util` adds environment check methods `isIndexedDBAvailable`
|
331 | `validateIndexedDBOpenable`, and `areCookiesEnabled`.
|
332 |
|
333 | - Updated dependencies [[`a87676b8`](https://github.com/firebase/firebase-js-sdk/commit/a87676b84b78ccc2f057a22eb947a5d13402949c)]:
|
334 | - @firebase/util@0.3.0
|
335 | - @firebase/component@0.1.17
|
336 | - @firebase/installations@0.4.15
|
337 |
|
338 | ## 0.4.0
|
339 |
|
340 | ### Minor Changes
|
341 |
|
342 | - [`02419ce8`](https://github.com/firebase/firebase-js-sdk/commit/02419ce8470141f012d9ce425a6a4a4aa912e480) [#3165](https://github.com/firebase/firebase-js-sdk/pull/3165) - Issue 2393 fix - analytics module
|
343 |
|
344 | - Added a public method `isSupported` to Analytics module which returns true if current browser context supports initialization of analytics module.
|
345 | - Added runtime checks to Analytics module that validate if cookie is enabled in current browser and if current browser environment supports indexedDB functionalities.
|
346 |
|
347 | ## 0.3.9
|
348 |
|
349 | ### Patch Changes
|
350 |
|
351 | - [`a754645e`](https://github.com/firebase/firebase-js-sdk/commit/a754645ec2be1b8c205f25f510196eee298b0d6e) [#3297](https://github.com/firebase/firebase-js-sdk/pull/3297) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependency typescript to v3.9.5
|
352 |
|
353 | - Updated dependencies [[`a754645e`](https://github.com/firebase/firebase-js-sdk/commit/a754645ec2be1b8c205f25f510196eee298b0d6e)]:
|
354 | - @firebase/component@0.1.16
|
355 | - @firebase/installations@0.4.14
|
356 | - @firebase/logger@0.2.6
|