1 | # @firebase/messaging
|
2 |
|
3 | ## 0.9.1
|
4 |
|
5 | ### Patch Changes
|
6 |
|
7 | - [`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
|
8 |
|
9 | - Updated dependencies [[`a99943fe3`](https://github.com/firebase/firebase-js-sdk/commit/a99943fe3bd5279761aa29d138ec91272b06df39), [`b835b4cba`](https://github.com/firebase/firebase-js-sdk/commit/b835b4cbabc4b7b180ae38b908c49205ce31a422)]:
|
10 | - @firebase/util@1.4.0
|
11 | - @firebase/component@0.5.7
|
12 | - @firebase/installations@0.5.1
|
13 |
|
14 | ## 0.9.0
|
15 |
|
16 | ### Minor Changes
|
17 |
|
18 | - [`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
|
19 |
|
20 | ### Patch Changes
|
21 |
|
22 | - Updated dependencies [[`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6)]:
|
23 | - @firebase/installations@0.5.0
|
24 | - @firebase/messaging-interop-types@0.1.0
|
25 |
|
26 | ## 0.8.0
|
27 |
|
28 | ### Minor Changes
|
29 |
|
30 | - [`d0710d500`](https://github.com/firebase/firebase-js-sdk/commit/d0710d5006a07318213163127051eebf0c339383) [#5139](https://github.com/firebase/firebase-js-sdk/pull/5139) - Allows retrieval of `messageId` from `MessagePayload`.
|
31 |
|
32 | ### Patch Changes
|
33 |
|
34 | - Updated dependencies [[`bb6b5abff`](https://github.com/firebase/firebase-js-sdk/commit/bb6b5abff6f89ce9ec1bd66ff4e795a059a98eec), [`3c6a11c8d`](https://github.com/firebase/firebase-js-sdk/commit/3c6a11c8d0b35afddb50e9c3e0c4d2e30f642131)]:
|
35 | - @firebase/component@0.5.6
|
36 | - @firebase/util@1.3.0
|
37 | - @firebase/installations@0.4.32
|
38 |
|
39 | ## 0.7.15
|
40 |
|
41 | ### Patch Changes
|
42 |
|
43 | - Updated dependencies [[`a3cbe719b`](https://github.com/firebase/firebase-js-sdk/commit/a3cbe719b1bd733a5c4c15ee0d0e6388d512054c)]:
|
44 | - @firebase/util@1.2.0
|
45 | - @firebase/component@0.5.5
|
46 | - @firebase/installations@0.4.31
|
47 |
|
48 | ## 0.7.14
|
49 |
|
50 | ### Patch Changes
|
51 |
|
52 | - Updated dependencies [[`56a6a9d4a`](https://github.com/firebase/firebase-js-sdk/commit/56a6a9d4af2766154584a0f66d3c4d8024d74ba5)]:
|
53 | - @firebase/component@0.5.4
|
54 | - @firebase/installations@0.4.30
|
55 |
|
56 | ## 0.7.13
|
57 |
|
58 | ### Patch Changes
|
59 |
|
60 | - Updated dependencies [[`725ab4684`](https://github.com/firebase/firebase-js-sdk/commit/725ab4684ef0999a12f71e704c204a00fb030e5d)]:
|
61 | - @firebase/component@0.5.3
|
62 | - @firebase/installations@0.4.29
|
63 |
|
64 | ## 0.7.12
|
65 |
|
66 | ### Patch Changes
|
67 |
|
68 | - Updated dependencies [[`4c4b6aed9`](https://github.com/firebase/firebase-js-sdk/commit/4c4b6aed9757c9a7e75fb698a15e53274f93880b)]:
|
69 | - @firebase/component@0.5.2
|
70 | - @firebase/installations@0.4.28
|
71 |
|
72 | ## 0.7.11
|
73 |
|
74 | ### Patch Changes
|
75 |
|
76 | - Updated dependencies [[`5fbc5fb01`](https://github.com/firebase/firebase-js-sdk/commit/5fbc5fb0140d7da980fd7ebbfbae810f8c64ae19)]:
|
77 | - @firebase/component@0.5.1
|
78 | - @firebase/installations@0.4.27
|
79 |
|
80 | ## 0.7.10
|
81 |
|
82 | ### Patch Changes
|
83 |
|
84 | - Updated dependencies [[`c34ac7a92`](https://github.com/firebase/firebase-js-sdk/commit/c34ac7a92a616915f38d192654db7770d81747ae), [`ac4ad08a2`](https://github.com/firebase/firebase-js-sdk/commit/ac4ad08a284397ec966e991dd388bb1fba857467)]:
|
85 | - @firebase/component@0.5.0
|
86 | - @firebase/util@1.1.0
|
87 | - @firebase/installations@0.4.26
|
88 |
|
89 | ## 0.7.9
|
90 |
|
91 | ### Patch Changes
|
92 |
|
93 | - Updated dependencies [[`7354a0ed4`](https://github.com/firebase/firebase-js-sdk/commit/7354a0ed438f4e3df6577e4927e8c8f8f1fbbfda)]:
|
94 | - @firebase/util@1.0.0
|
95 | - @firebase/component@0.4.1
|
96 | - @firebase/installations@0.4.25
|
97 |
|
98 | ## 0.7.8
|
99 |
|
100 | ### Patch Changes
|
101 |
|
102 | - Updated dependencies [[`f24d8961b`](https://github.com/firebase/firebase-js-sdk/commit/f24d8961b3b87821413297688803fc85113086b3)]:
|
103 | - @firebase/component@0.4.0
|
104 | - @firebase/installations@0.4.24
|
105 |
|
106 | ## 0.7.7
|
107 |
|
108 | ### Patch Changes
|
109 |
|
110 | - Updated dependencies [[`de5f90501`](https://github.com/firebase/firebase-js-sdk/commit/de5f9050137acc9ed1490082e5aa429b5de3cb2a)]:
|
111 | - @firebase/util@0.4.1
|
112 | - @firebase/component@0.3.1
|
113 | - @firebase/installations@0.4.23
|
114 |
|
115 | ## 0.7.6
|
116 |
|
117 | ### Patch Changes
|
118 |
|
119 | - Updated dependencies [[`5c1a83ed7`](https://github.com/firebase/firebase-js-sdk/commit/5c1a83ed70bae979322bd8751c0885d683ce4bf3)]:
|
120 | - @firebase/component@0.3.0
|
121 | - @firebase/installations@0.4.22
|
122 |
|
123 | ## 0.7.5
|
124 |
|
125 | ### Patch Changes
|
126 |
|
127 | - Updated dependencies [[`ec95df3d0`](https://github.com/firebase/firebase-js-sdk/commit/ec95df3d07e5f091f2a7f7327e46417f64d04b4e)]:
|
128 | - @firebase/util@0.4.0
|
129 | - @firebase/component@0.2.1
|
130 | - @firebase/installations@0.4.21
|
131 |
|
132 | ## 0.7.4
|
133 |
|
134 | ### Patch Changes
|
135 |
|
136 | - Updated dependencies [[`6afe42613`](https://github.com/firebase/firebase-js-sdk/commit/6afe42613ed3d7a842d378dc1a09a795811db2ac)]:
|
137 | - @firebase/component@0.2.0
|
138 | - @firebase/installations@0.4.20
|
139 |
|
140 | ## 0.7.3
|
141 |
|
142 | ### Patch Changes
|
143 |
|
144 | - [`54a46f89c`](https://github.com/firebase/firebase-js-sdk/commit/54a46f89c1c45435c76412fa2ed296e986c2f6ab) [#3780](https://github.com/firebase/firebase-js-sdk/pull/3780) - Adds a timeout for `onBackgroundMessage` hook so that silent-push warnings won't show if `showNotification` is called inside the hook within 1s.
|
145 | This fixes the issue where the silent-push warning is displayed along with the message shown with [ServiceWorkerRegistration.showNotification](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification).
|
146 | - Updated dependencies [[`9cf727fcc`](https://github.com/firebase/firebase-js-sdk/commit/9cf727fcc3d049551b16ae0698ac33dc2fe45ada)]:
|
147 | - @firebase/util@0.3.4
|
148 | - @firebase/component@0.1.21
|
149 | - @firebase/installations@0.4.19
|
150 |
|
151 | ## 0.7.2
|
152 |
|
153 | ### Patch Changes
|
154 |
|
155 | - Updated dependencies [[`a5768b0aa`](https://github.com/firebase/firebase-js-sdk/commit/a5768b0aa7d7ce732279931aa436e988c9f36487), [`7d916d905`](https://github.com/firebase/firebase-js-sdk/commit/7d916d905ba16816ac8ac7c8748c83831ff614ce)]:
|
156 | - @firebase/component@0.1.20
|
157 | - @firebase/util@0.3.3
|
158 | - @firebase/installations@0.4.18
|
159 |
|
160 | ## 0.7.1
|
161 |
|
162 | ### Patch Changes
|
163 |
|
164 | - [`dc9892565`](https://github.com/firebase/firebase-js-sdk/commit/dc989256566b8379f475c722370ccbd8f47527c3) [#3710](https://github.com/firebase/firebase-js-sdk/pull/3710) - stops redirecting user to non-origin urls.
|
165 |
|
166 | - Updated dependencies [[`da1c7df79`](https://github.com/firebase/firebase-js-sdk/commit/da1c7df7982b08bbef82fcc8d93255f3e2d23cca), [`fb3b095e4`](https://github.com/firebase/firebase-js-sdk/commit/fb3b095e4b7c8f57fdb3172bc039c84576abf290)]:
|
167 | - @firebase/component@0.1.19
|
168 | - @firebase/util@0.3.2
|
169 | - @firebase/installations@0.4.17
|
170 |
|
171 | ## 0.7.0
|
172 |
|
173 | ### Minor Changes
|
174 |
|
175 | - [`29327b21`](https://github.com/firebase/firebase-js-sdk/commit/29327b2198391a9f1e545bcd1172a4b3e12a522c) [#3234](https://github.com/firebase/firebase-js-sdk/pull/3234) - Add `getToken(options:{serviceWorkerRegistration, vapidKey})`,`onBackgroundMessage`.
|
176 | Deprecate `setBackgroundMessageHandler`, `onTokenRefresh`, `useVapidKey`, `useServiceWorker`, `getToken`.
|
177 |
|
178 | Add Typing `MessagePayload`, `NotificationPayload`, `FcmOptions`.
|
179 |
|
180 | ### Patch Changes
|
181 |
|
182 | - Updated dependencies [[`d4ca3da0`](https://github.com/firebase/firebase-js-sdk/commit/d4ca3da0a59fcea1261ba69d7eb663bba38d3089), [`29327b21`](https://github.com/firebase/firebase-js-sdk/commit/29327b2198391a9f1e545bcd1172a4b3e12a522c)]:
|
183 | - @firebase/util@0.3.1
|
184 | - @firebase/messaging-types@0.5.0
|
185 | - @firebase/component@0.1.18
|
186 | - @firebase/installations@0.4.16
|
187 |
|
188 | ## 0.6.21
|
189 |
|
190 | ### Patch Changes
|
191 |
|
192 | - Updated dependencies [[`a87676b8`](https://github.com/firebase/firebase-js-sdk/commit/a87676b84b78ccc2f057a22eb947a5d13402949c)]:
|
193 | - @firebase/util@0.3.0
|
194 | - @firebase/component@0.1.17
|
195 | - @firebase/installations@0.4.15
|
196 |
|
197 | ## 0.6.20
|
198 |
|
199 | ### Patch Changes
|
200 |
|
201 | - [`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
|
202 |
|
203 | * [`17c628eb`](https://github.com/firebase/firebase-js-sdk/commit/17c628eb228c21ad1d4db83fdae08d1142a2b902) [#3312](https://github.com/firebase/firebase-js-sdk/pull/3312) Thanks [@Feiyang1](https://github.com/Feiyang1)! - Fixed an issue where we try to update token for every getToken() call because we don't save the updated token in the IndexedDB.
|
204 |
|
205 | - [`469c8bdf`](https://github.com/firebase/firebase-js-sdk/commit/469c8bdf18c4a22e99d595a9896af2f934df20fd) [#3221](https://github.com/firebase/firebase-js-sdk/pull/3221) Thanks [@zwu52](https://github.com/zwu52)! - Added support for `onMessage` so the internal callback can work with [Subscriber](https://rxjs.dev/api/index/class/Subscriber)
|
206 |
|
207 | - Updated dependencies [[`a754645e`](https://github.com/firebase/firebase-js-sdk/commit/a754645ec2be1b8c205f25f510196eee298b0d6e)]:
|
208 |
|
209 | - @firebase/component@0.1.16
|
210 | - @firebase/installations@0.4.14
|
211 |
|
212 | ## 0.6.11
|
213 |
|
214 | - [fixed] Fixed an issue introduced in firebase@7.7.0, when FCM switched to provide base64-encoded VAPID
|
215 | key to [PushManager](https://developer.mozilla.org/en-US/docs/Web/API/PushManager) for push subscription. For backward compatibility, the SDK has switched back to using VAPID key in type [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer).
|