1 | # Change Log
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
6 | ## [1.5.4](https://github.com/Shopify/app-bridge/compare/v1.5.3...v1.5.4) (2019-05-29)
|
7 |
|
8 | **Note:** Version bump only for package @shopify/app-bridge
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | ## [1.5.3](https://github.com/Shopify/app-bridge/compare/v1.5.2...v1.5.3) (2019-05-24)
|
15 |
|
16 |
|
17 | ### Features
|
18 |
|
19 | * modal auto sizing ([b1b21a1](https://github.com/Shopify/app-bridge/commit/b1b21a1))
|
20 | * modal auto sizing ([#892](https://github.com/Shopify/app-bridge/issues/892)) ([4620eec](https://github.com/Shopify/app-bridge/commit/4620eec))
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | ## [1.5.2](https://github.com/Shopify/app-bridge/compare/v1.5.1...v1.5.2) (2019-05-24)
|
27 |
|
28 | **Note:** Version bump only for package @shopify/app-bridge
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | ## [1.5.1](https://github.com/Shopify/app-bridge/compare/v1.5.0...v1.5.1) (2019-05-24)
|
35 |
|
36 | **Note:** Version bump only for package @shopify/app-bridge
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | # [1.5.0](https://github.com/Shopify/app-bridge/compare/v1.4.2...v1.5.0) (2019-05-23)
|
43 |
|
44 | **Note:** Version bump only for package @shopify/app-bridge
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 | ## [1.4.2](https://github.com/Shopify/app-bridge/compare/v1.4.2-alpha.0...v1.4.2) (2019-05-23)
|
51 |
|
52 | **Note:** Version bump only for package @shopify/app-bridge
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 | ## [1.4.2-alpha.0](https://github.com/Shopify/app-bridge/compare/v1.4.1...v1.4.2-alpha.0) (2019-05-23)
|
59 |
|
60 |
|
61 | ### Features
|
62 |
|
63 | * add context save bar action set ([3633682](https://github.com/Shopify/app-bridge/commit/3633682))
|
64 | * add contextual save bar action set ([#931](https://github.com/Shopify/app-bridge/issues/931)) ([8ef8792](https://github.com/Shopify/app-bridge/commit/8ef8792))
|
65 | * **host:** add contextual save bar reducer and feature permission ([5fa5e6c](https://github.com/Shopify/app-bridge/commit/5fa5e6c))
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 | ## [1.4.1](https://github.com/Shopify/app-bridge/compare/v1.4.0...v1.4.1) (2019-05-23)
|
72 |
|
73 | **Note:** Version bump only for package @shopify/app-bridge
|
74 |
|
75 |
|
76 |
|
77 |
|
78 |
|
79 | # [1.4.0](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.8...v1.4.0) (2019-05-23)
|
80 |
|
81 | **Note:** Version bump only for package @shopify/app-bridge
|
82 |
|
83 |
|
84 |
|
85 |
|
86 |
|
87 | ## [1.3.1-alpha.8](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.7...v1.3.1-alpha.8) (2019-05-22)
|
88 |
|
89 | **Note:** Version bump only for package @shopify/app-bridge
|
90 |
|
91 |
|
92 |
|
93 |
|
94 |
|
95 | ## [1.3.1-alpha.7](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.6...v1.3.1-alpha.7) (2019-05-22)
|
96 |
|
97 | **Note:** Version bump only for package @shopify/app-bridge
|
98 |
|
99 |
|
100 |
|
101 |
|
102 |
|
103 | ## [1.3.1-alpha.6](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.5...v1.3.1-alpha.6) (2019-05-21)
|
104 |
|
105 | **Note:** Version bump only for package @shopify/app-bridge
|
106 |
|
107 |
|
108 |
|
109 |
|
110 |
|
111 | ## [1.3.1-alpha.5](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.4...v1.3.1-alpha.5) (2019-05-21)
|
112 |
|
113 |
|
114 | ### Added
|
115 |
|
116 | * **docs:** add docs for Feature Detection
|
117 | * **docs:** add docs for Point of Sale
|
118 |
|
119 |
|
120 |
|
121 |
|
122 | ## [1.3.1-alpha.4](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.3...v1.3.1-alpha.4) (2019-05-17)
|
123 |
|
124 |
|
125 | ### Bug Fixes
|
126 |
|
127 | * **message-transport:** add `frameWindow` to identify source of dispatch ([#885](https://github.com/Shopify/app-bridge/issues/885)) ([4558215](https://github.com/Shopify/app-bridge/commit/4558215))
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 | ## [1.3.1-alpha.3](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.2...v1.3.1-alpha.3) (2019-05-15)
|
134 |
|
135 |
|
136 | ### Features
|
137 |
|
138 | * **features request:** added Feature Request Action ([#917](https://github.com/Shopify/app-bridge/issues/917)) ([2124acf](https://github.com/Shopify/app-bridge/commit/2124acf))
|
139 |
|
140 |
|
141 |
|
142 |
|
143 |
|
144 | ## [1.3.1-alpha.2](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.1...v1.3.1-alpha.2) (2019-05-10)
|
145 |
|
146 | **Note:** Version bump only for package @shopify/app-bridge
|
147 |
|
148 |
|
149 |
|
150 |
|
151 |
|
152 | ## [1.3.1-alpha.1](https://github.com/Shopify/app-bridge/compare/v1.3.1-alpha.0...v1.3.1-alpha.1) (2019-05-10)
|
153 |
|
154 | **Note:** Version bump only for package @shopify/app-bridge
|
155 |
|
156 |
|
157 |
|
158 |
|
159 |
|
160 | ## [1.3.1-alpha.0](https://github.com/Shopify/app-bridge/compare/v1.3.1-next.2...v1.3.1-alpha.0) (2019-05-03)
|
161 |
|
162 | **Note:** Version bump only for package @shopify/app-bridge
|
163 |
|
164 |
|
165 |
|
166 |
|
167 |
|
168 | ## [1.3.1-next.2](https://github.com/Shopify/app-bridge/compare/v1.3.1-next.1...v1.3.1-next.2) (2019-05-03)
|
169 |
|
170 | **Note:** Version bump only for package @shopify/app-bridge
|
171 |
|
172 |
|
173 |
|
174 |
|
175 |
|
176 | <a name="1.3.1-next.1"></a>
|
177 | ## [1.3.1-next.1](https://github.com/Shopify/app-bridge/compare/v1.3.1-next.0...v1.3.1-next.1) (2019-05-02)
|
178 |
|
179 |
|
180 | ### Features
|
181 |
|
182 | * **fullscreen:** fix wrong group for fullscreen action interface ([b230791](https://github.com/Shopify/app-bridge/commit/b230791))
|
183 |
|
184 |
|
185 |
|
186 |
|
187 | <a name="1.3.1-next.0"></a>
|
188 | ## [1.3.1-next.0](https://github.com/Shopify/app-bridge/compare/v1.3.0...v1.3.1-next.0) (2019-05-02)
|
189 |
|
190 |
|
191 | ### Features
|
192 |
|
193 | * **fullscreen:** add fullscreen action ([1e1cf27](https://github.com/Shopify/app-bridge/commit/1e1cf27))
|
194 |
|
195 |
|
196 |
|
197 |
|
198 | <a name="1.3.0"></a>
|
199 | # [1.3.0](https://github.com/Shopify/app-bridge/compare/v1.3.0-next.0...v1.3.0) (2019-04-23)
|
200 |
|
201 |
|
202 |
|
203 |
|
204 | **Note:** Version bump only for package @shopify/app-bridge
|
205 |
|
206 | <a name="1.3.0-next.0"></a>
|
207 | # [1.3.0-next.0](https://github.com/Shopify/app-bridge/compare/v1.2.1-next.0...v1.3.0-next.0) (2019-04-18)
|
208 |
|
209 |
|
210 | ### Features
|
211 |
|
212 | * **app redirect:** notify host when apps subscribe to actions ([3363089](https://github.com/Shopify/app-bridge/commit/3363089))
|
213 | * **resource picker:** add actionVerb to options ([616f923](https://github.com/Shopify/app-bridge/commit/616f923))
|
214 |
|
215 |
|
216 |
|
217 |
|
218 | <a name="1.2.1-next.0"></a>
|
219 | ## [1.2.1-next.0](https://github.com/Shopify/app-bridge/compare/v1.2.0...v1.2.1-next.0) (2019-04-15)
|
220 |
|
221 |
|
222 | ### Features
|
223 |
|
224 | * **frameless:** add support for frameless mode on mobile ([#823](https://github.com/Shopify/app-bridge/issues/823)) ([a35b1cf](https://github.com/Shopify/app-bridge/commit/a35b1cf))
|
225 |
|
226 |
|
227 |
|
228 |
|
229 | <a name="1.2.0"></a>
|
230 | # [1.2.0](https://github.com/Shopify/app-bridge/compare/v1.2.0-next.3...v1.2.0) (2019-03-28)
|
231 |
|
232 |
|
233 |
|
234 |
|
235 | **Note:** Version bump only for package @shopify/app-bridge
|
236 |
|
237 | <a name="1.2.0-next.3"></a>
|
238 | # [1.2.0-next.3](https://github.com/Shopify/app-bridge/compare/v1.2.0-next.2...v1.2.0-next.3) (2019-03-25)
|
239 |
|
240 |
|
241 |
|
242 |
|
243 | **Note:** Version bump only for package @shopify/app-bridge
|
244 |
|
245 | <a name="1.2.0-next.2"></a>
|
246 | # [1.2.0-next.2](https://github.com/Shopify/app-bridge/compare/v1.2.0-next.1...v1.2.0-next.2) (2019-03-25)
|
247 |
|
248 |
|
249 |
|
250 |
|
251 | **Note:** Version bump only for package @shopify/app-bridge
|
252 |
|
253 | <a name="1.2.0-1"></a>
|
254 | # [1.2.0-1](https://github.com/Shopify/app-bridge/compare/v1.0.8-0...v1.2.0-1) (2019-03-25)
|
255 |
|
256 |
|
257 | ### Bug Fixes
|
258 |
|
259 | * **dev-build:** change the file names of the UMD build ([#799](https://github.com/Shopify/app-bridge/issues/799)) ([d5bc78f](https://github.com/Shopify/app-bridge/commit/d5bc78f))
|
260 |
|
261 |
|
262 | ### Features
|
263 |
|
264 | * **app communication:** enable context for message transports ([20d2df9](https://github.com/Shopify/app-bridge/commit/20d2df9))
|
265 | * **app communication:** gate features when app dispatch or subscribe ([543e0eb](https://github.com/Shopify/app-bridge/commit/543e0eb))
|
266 |
|
267 |
|
268 |
|
269 |
|
270 | <a name="1.2.0-0"></a>
|
271 | # [1.2.0-0](https://github.com/Shopify/app-bridge/compare/v1.1.2...v1.2.0-0) (2019-03-11)
|
272 |
|
273 |
|
274 | ### Features
|
275 |
|
276 | * **app communication:** enable context for message transports ([20d2df9](https://github.com/Shopify/app-bridge/commit/20d2df9))
|
277 | * **app communication:** gate features when app dispatch or subscribe ([543e0eb](https://github.com/Shopify/app-bridge/commit/543e0eb))
|
278 |
|
279 |
|
280 |
|
281 |
|
282 | <a name="1.1.2"></a>
|
283 | ## [1.1.2](https://github.com/Shopify/app-bridge/compare/v1.1.1...v1.1.2) (2019-03-08)
|
284 |
|
285 |
|
286 | ### Bug Fixes
|
287 |
|
288 | * **dev-build:** change the file names of the UMD build ([#799](https://github.com/Shopify/app-bridge/issues/799)) ([d5bc78f](https://github.com/Shopify/app-bridge/commit/d5bc78f))
|
289 |
|
290 |
|
291 |
|
292 |
|
293 | <a name="1.1.1"></a>
|
294 | ## [1.1.1](https://github.com/Shopify/app-bridge/compare/1.1.0...1.1.1) (2019-03-08)
|
295 |
|
296 | This release is to fix a faulty deploy.
|
297 |
|
298 |
|
299 | **Note:** Version bump only for package @shopify/app-bridge
|
300 |
|
301 | <a name="1.1.0"></a>
|
302 | # [1.1.0](https://github.com/Shopify/app-bridge/compare/v1.0.8-0...v1.1.0) (2019-03-08)
|
303 |
|
304 | This release is to fix a faulty deploy.
|
305 |
|
306 |
|
307 | **Note:** Version bump only for package @shopify/app-bridge
|
308 |
|
309 | <a name="1.0.8-0"></a>
|
310 | ## [1.0.8-0](https://github.com/Shopify/app-bridge/compare/v1.0.7...v1.0.8-0) (2019-03-04)
|
311 |
|
312 |
|
313 | ### Bug Fixes
|
314 |
|
315 | * Increase default toast duration from 3000 to 5000 ([e46a13e](https://github.com/Shopify/app-bridge/commit/e46a13e))
|
316 | * **cart:** added LineItem based discount to Cart and to the validator ([1ebeb0a](https://github.com/Shopify/app-bridge/commit/1ebeb0a))
|
317 | * **resource-picker:** set default option `showHidden` to `true` ([#723](https://github.com/Shopify/app-bridge/pull/723))
|
318 | * **client:** handle server side render instead of throwing an error ([#724](https://github.com/Shopify/app-bridge/pull/724))
|
319 |
|
320 | ### Features
|
321 |
|
322 | * **dev-build:** add development build with validator ([#702](https://github.com/Shopify/app-bridge/pull/702))
|
323 | * **interface:** actionWrapper adds clientInterface name and version ([bc20662](https://github.com/Shopify/app-bridge/commit/bc20662))
|
324 | * add dispatchClientEventHandler to host middleware ([#768](https://github.com/Shopify/app-bridge/issues/768)) ([1daa5ff](https://github.com/Shopify/app-bridge/commit/1daa5ff))
|
325 |
|
326 |
|
327 |
|
328 |
|
329 | <a name="1.0.7"></a>
|
330 | ## [1.0.7](https://github.com/Shopify/app-bridge/compare/v1.0.6...v1.0.7) (2019-02-01)
|
331 |
|
332 |
|
333 |
|
334 |
|
335 | **Note:** Version bump only for package @shopify/app-bridge
|
336 |
|
337 | <a name="1.0.6"></a>
|
338 | ## [1.0.6](https://github.com/Shopify/app-bridge/compare/v1.0.5...v1.0.6) (2019-02-01)
|
339 |
|
340 |
|
341 | ### Bug Fixes
|
342 |
|
343 | * **collection-picker:** export collection rule type ([#715](https://github.com/Shopify/app-bridge/issues/715)) ([bff0aba](https://github.com/Shopify/app-bridge/commit/bff0aba))
|
344 | * **resource-picker:** set default option `showHidden` to `true` ([#718](https://github.com/Shopify/app-bridge/issues/718)) ([825c2dc](https://github.com/Shopify/app-bridge/commit/825c2dc))
|
345 |
|
346 |
|
347 |
|
348 |
|
349 | <a name="1.0.5"></a>
|
350 | ## [1.0.5](https://github.com/Shopify/app-bridge/compare/v1.0.4...v1.0.5) (2019-01-30)
|
351 |
|
352 |
|
353 | ### Bug Fixes
|
354 |
|
355 | * **collection-picker:** update collection picker type ([#711](https://github.com/Shopify/app-bridge/issues/711)) ([bdd677a](https://github.com/Shopify/app-bridge/commit/bdd677a))
|
356 |
|
357 |
|
358 |
|
359 |
|
360 | <a name="1.0.4"></a>
|
361 | ## [1.0.4](https://github.com/Shopify/app-bridge/compare/v1.0.4-0...v1.0.4) (2019-01-18)
|
362 |
|
363 |
|
364 |
|
365 |
|
366 | **Note:** Version bump only for package @shopify/app-bridge
|
367 |
|
368 | <a name="1.0.4-0"></a>
|
369 | ## [1.0.4-0](https://github.com/Shopify/app-bridge/compare/v1.0.3...v1.0.4-0) (2019-01-18)
|
370 |
|
371 |
|
372 |
|
373 |
|
374 | **Note:** Version bump only for package @shopify/app-bridge
|
375 |
|
376 | <a name="1.0.3"></a>
|
377 | ## [1.0.3](https://github.com/Shopify/app-bridge/compare/v1.0.3-0...v1.0.3) (2019-01-07)
|
378 |
|
379 |
|
380 | ### Bug Fixes
|
381 |
|
382 | * set Button Group ActionType.UPDATE to APP::BUTTONGROUP::UPDATE ([2ba88e3](https://github.com/Shopify/app-bridge/commit/2ba88e3))
|
383 |
|
384 |
|
385 |
|
386 |
|
387 | <a name="1.0.3-0"></a>
|
388 | ## [1.0.3-0](https://github.com/Shopify/app-bridge/compare/v1.0.2...v1.0.3-0) (2018-12-22)
|
389 |
|
390 |
|
391 | ### Features
|
392 |
|
393 | * **camera:** add camera feature ([87dc86a](https://github.com/Shopify/app-bridge/commit/87dc86a))
|
394 |
|
395 |
|
396 |
|
397 |
|
398 | <a name="1.0.2"></a>
|
399 | ## [1.0.2](https://github.com/Shopify/app-bridge/compare/v1.0.2-0...v1.0.2) (2018-12-21)
|
400 |
|
401 |
|
402 | ### Bug Fixes
|
403 |
|
404 | * **feature-detection:** fix FeaturesAvailable type ([08f01bd](https://github.com/Shopify/app-bridge/commit/08f01bd))
|
405 |
|
406 |
|
407 |
|
408 |
|
409 | <a name="1.0.2-0"></a>
|
410 | ## [1.0.2-0](https://github.com/Shopify/app-bridge/compare/v1.0.1...v1.0.2-0) (2018-12-21)
|
411 |
|
412 |
|
413 |
|
414 |
|
415 | **Note:** Version bump only for package @shopify/app-bridge
|
416 |
|
417 | <a name="1.0.0"></a>
|
418 | # [1.0.0](https://github.com/Shopify/app-bridge/compare/v1.0.0-4...v1.0.0) (2018-12-20)
|
419 |
|
420 |
|
421 |
|
422 |
|
423 | **Note:** Version bump only for package @shopify/app-bridge
|
424 |
|
425 | <a name="1.0.0-4"></a>
|
426 | # [1.0.0-4](https://github.com/Shopify/app-bridge/compare/v1.0.0-3...v1.0.0-4) (2018-12-20)
|
427 |
|
428 |
|
429 | ### Bug Fixes
|
430 |
|
431 | * fix helpers for ts compatibility ([#656](https://github.com/Shopify/app-bridge/issues/656)) ([637474a](https://github.com/Shopify/app-bridge/commit/637474a))
|
432 | * make app.hooks optional and verify it exists before running hooks ([#658](https://github.com/Shopify/app-bridge/issues/658)) ([8423fbe](https://github.com/Shopify/app-bridge/commit/8423fbe))
|
433 |
|
434 |
|
435 |
|
436 |
|
437 | <a name="1.0.0-3"></a>
|
438 | # [1.0.0-3](https://github.com/Shopify/app-bridge/compare/v1.0.0-2...v1.0.0-3) (2018-12-19)
|
439 |
|
440 |
|
441 |
|
442 |
|
443 | **Note:** Version bump only for package @shopify/app-bridge
|
444 |
|
445 |
|
446 |
|
447 |
|
448 | <a name="1.0.0-2"></a>
|
449 | # [1.0.0-2](https://github.com/Shopify/app-bridge/compare/v1.0.0-1...v1.0.0-2) (2018-12-19)
|
450 |
|
451 |
|
452 | ### Bug Fixes
|
453 |
|
454 | * issue with TitleBar buttons unable to be manually updated ([959db99](https://github.com/Shopify/app-bridge/commit/959db99))
|
455 | * remove isDismissible option from Toast action ([#650](https://github.com/Shopify/app-bridge/issues/650)) ([806cb20](https://github.com/Shopify/app-bridge/commit/806cb20))
|
456 |
|
457 | ### Features
|
458 |
|
459 | * **error:** convert ButtonGroup to new validator ([d28d81d](https://github.com/Shopify/app-bridge/commit/d28d81d))
|
460 | * **error:** enable lifecycle hooks for Dispatch and Update ([264d992](https://github.com/Shopify/app-bridge/commit/264d992))
|
461 | * **features:** added feature detection ([dddc8c8](https://github.com/Shopify/app-bridge/commit/dddc8c8))
|
462 | * **validator:** implement optional modal validator ([0ab8366](https://github.com/Shopify/app-bridge/commit/0ab8366))
|
463 | * **validator:** implement optional validator for cart ([d127d83](https://github.com/Shopify/app-bridge/commit/d127d83))
|
464 | * **validator:** implement optional validator for navigation ([f407cbc](https://github.com/Shopify/app-bridge/commit/f407cbc))
|
465 | * **validator:** implement optional validator for Print ([d6fe732](https://github.com/Shopify/app-bridge/commit/d6fe732))
|
466 | * **validator:** implement optional validator for Toast and Loading ([8981e8c](https://github.com/Shopify/app-bridge/commit/8981e8c))
|
467 | * **validator:** move resource picker validation to middleware ([7ae4696](https://github.com/Shopify/app-bridge/commit/7ae4696))
|
468 | * **validator:** TitleBar ([f43d5f4](https://github.com/Shopify/app-bridge/commit/f43d5f4))
|
469 |
|
470 |
|
471 | ### BREAKING CHANGES
|
472 |
|
473 | * `isDismissible` option removed from Toast action
|
474 |
|
475 |
|
476 |
|
477 |
|
478 | <a name="1.0.0-1"></a>
|
479 | # [1.0.0-1](https://github.com/Shopify/app-bridge/compare/v1.0.0-0...v1.0.0-1) (2018-12-03)
|
480 |
|
481 |
|
482 | ### Bug Fixes
|
483 |
|
484 | * ensure window exists before accessing its methods and props ([443650d](https://github.com/Shopify/app-bridge/commit/443650d))
|
485 | * error handling for undefined shopOrigin and apiKey ([ffccd9a](https://github.com/Shopify/app-bridge/commit/ffccd9a))
|
486 | * **app-bridge:** add webpack config to gitignore exclusion ([e55dece](https://github.com/Shopify/app-bridge/commit/e55dece))
|
487 | * **app-bridge:** fix typescript lib generation for older clients ([451d300](https://github.com/Shopify/app-bridge/commit/451d300))
|
488 |
|
489 |
|
490 |
|
491 |
|
492 | <a name="1.0.0-0"></a>
|
493 | # [1.0.0-0](https://github.com/Shopify/app-bridge/compare/v0.1.2-2...v1.0.0-0) (2018-11-29)
|
494 |
|
495 |
|
496 | ### Bug Fixes
|
497 |
|
498 | * add additional config app config data ([6949603](https://github.com/Shopify/app-bridge/commit/6949603))
|
499 | * CI tasks and dev ([68f5210](https://github.com/Shopify/app-bridge/commit/68f5210))
|
500 | * do not lock origin when dispatching to apps ([c3af876](https://github.com/Shopify/app-bridge/commit/c3af876))
|
501 | * fix cart actions and tests ([#395](https://github.com/Shopify/app-bridge/issues/395)) ([d570be1](https://github.com/Shopify/app-bridge/commit/d570be1))
|
502 | * fix CHANGELOG ([#412](https://github.com/Shopify/app-bridge/issues/412)) ([adbbd64](https://github.com/Shopify/app-bridge/commit/adbbd64))
|
503 | * fix discount payload to support discountCode ([#518](https://github.com/Shopify/app-bridge/issues/518)) ([6f04b6e](https://github.com/Shopify/app-bridge/commit/6f04b6e))
|
504 | * restrict origin for post message ([bce7d3a](https://github.com/Shopify/app-bridge/commit/bce7d3a))
|
505 | * separate namespaces for umd entrypoints ([e9d987a](https://github.com/Shopify/app-bridge/commit/e9d987a))
|
506 | * Stop using alias to import client types to fix `actions` module ([09053f3](https://github.com/Shopify/app-bridge/commit/09053f3))
|
507 | * test cases ([a6a1597](https://github.com/Shopify/app-bridge/commit/a6a1597))
|
508 | * **host:** fix decorator throwing error on server side render ([6643f8a](https://github.com/Shopify/app-bridge/commit/6643f8a))
|
509 | * **host:** only initialize app after component has mounted ([737ff43](https://github.com/Shopify/app-bridge/commit/737ff43))
|
510 | * **resource picker:** add showVariants to payload ([f259358](https://github.com/Shopify/app-bridge/commit/f259358))
|
511 | * **resource picker:** correctly set local options ([89748bb](https://github.com/Shopify/app-bridge/commit/89748bb))
|
512 | * tests ([6c706f6](https://github.com/Shopify/app-bridge/commit/6c706f6))
|
513 | * update paths in the test app to be relative to the app origin ([e5fd908](https://github.com/Shopify/app-bridge/commit/e5fd908))
|
514 | * update the History action docs to be more accurate ([f9075da](https://github.com/Shopify/app-bridge/commit/f9075da))
|
515 |
|
516 |
|
517 | ### Features
|
518 |
|
519 | * add detailed collection interface ([d0eefed](https://github.com/Shopify/app-bridge/commit/d0eefed))
|
520 | * change POS cart actions to follow new dispatch pattern ([32a0c03](https://github.com/Shopify/app-bridge/commit/32a0c03))
|
521 | * **button:** add danger button style ([#424](https://github.com/Shopify/app-bridge/issues/424)) ([5cf58ed](https://github.com/Shopify/app-bridge/commit/5cf58ed))
|
522 | * **redirect:** add newContext to Redirect actions ([#425](https://github.com/Shopify/app-bridge/issues/425)) ([e8e9040](https://github.com/Shopify/app-bridge/commit/e8e9040))
|
523 | * **resource picker:** add cancel action ([8728614](https://github.com/Shopify/app-bridge/commit/8728614))
|
524 | * **resource picker:** show variant option ([19e63b7](https://github.com/Shopify/app-bridge/commit/19e63b7))
|
525 | * **toast:** changed Toast into Flash ([#457](https://github.com/Shopify/app-bridge/issues/457)) ([5d8aa15](https://github.com/Shopify/app-bridge/commit/5d8aa15))
|
526 | * sub-packages ([3f7575c](https://github.com/Shopify/app-bridge/commit/3f7575c))
|
527 | * support UMD library builds ([9480595](https://github.com/Shopify/app-bridge/commit/9480595))
|
528 |
|
529 |
|
530 |
|
531 |
|
532 | <a name="0.8.2"></a>
|
533 | ## [0.8.2](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.8.1...@shopify/app-bridge@0.8.2) (2018-11-13)
|
534 |
|
535 |
|
536 | ### Bug Fixes
|
537 |
|
538 | * fix discount payload to support discountCode ([#518](https://github.com/Shopify/app-bridge/issues/518)) ([6f04b6e](https://github.com/Shopify/app-bridge/commit/6f04b6e))
|
539 | * separate namespaces for umd entrypoints ([e9d987a](https://github.com/Shopify/app-bridge/commit/e9d987a))
|
540 |
|
541 |
|
542 |
|
543 |
|
544 | <a name="0.8.1"></a>
|
545 | ## [0.8.1](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.8.0...@shopify/app-bridge@0.8.1) (2018-11-01)
|
546 |
|
547 |
|
548 | ### Bug Fixes
|
549 |
|
550 | * **host:** fix decorator throwing error on server side render ([6643f8a](https://github.com/Shopify/app-bridge/commit/6643f8a))
|
551 |
|
552 |
|
553 |
|
554 |
|
555 | <a name="0.8.0"></a>
|
556 | # [0.8.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.7.3...@shopify/app-bridge@0.8.0) (2018-10-29)
|
557 |
|
558 |
|
559 | ### Bug Fixes
|
560 |
|
561 | * update the History action docs to be more accurate ([f9075da](https://github.com/Shopify/app-bridge/commit/f9075da))
|
562 |
|
563 |
|
564 | ### Features
|
565 |
|
566 | * **toast:** changed Toast into Flash ([#457](https://github.com/Shopify/app-bridge/issues/457)) ([5d8aa15](https://github.com/Shopify/app-bridge/commit/5d8aa15))
|
567 |
|
568 |
|
569 |
|
570 |
|
571 | <a name="0.7.3"></a>
|
572 | ## [0.7.3](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.7.2...@shopify/app-bridge@0.7.3) (2018-10-15)
|
573 |
|
574 |
|
575 | ### Bug Fixes
|
576 |
|
577 | * add additional config app config data ([6949603](https://github.com/Shopify/app-bridge/commit/6949603))
|
578 |
|
579 |
|
580 |
|
581 |
|
582 | <a name="0.7.2"></a>
|
583 | ## [0.7.2](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.7.1...@shopify/app-bridge@0.7.2) (2018-10-15)
|
584 |
|
585 |
|
586 | ### Bug Fixes
|
587 |
|
588 | * do not lock origin when dispatching to apps ([c3af876](https://github.com/Shopify/app-bridge/commit/c3af876))
|
589 |
|
590 |
|
591 |
|
592 |
|
593 | <a name="0.7.1"></a>
|
594 | ## [0.7.1](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.7.0...@shopify/app-bridge@0.7.1) (2018-10-15)
|
595 |
|
596 |
|
597 | ### Bug Fixes
|
598 |
|
599 | * restrict origin for post message ([bce7d3a](https://github.com/Shopify/app-bridge/commit/bce7d3a))
|
600 |
|
601 |
|
602 |
|
603 |
|
604 | <a name="0.7.0"></a>
|
605 | # [0.7.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.6.0...@shopify/app-bridge@0.7.0) (2018-10-12)
|
606 |
|
607 |
|
608 | ### Features
|
609 |
|
610 | * **button:** add danger button style ([#424](https://github.com/Shopify/app-bridge/issues/424)) ([5cf58ed](https://github.com/Shopify/app-bridge/commit/5cf58ed))
|
611 |
|
612 |
|
613 |
|
614 |
|
615 | <a name="0.6.0"></a>
|
616 | # [0.6.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.5.0...@shopify/app-bridge@0.6.0) (2018-10-12)
|
617 |
|
618 |
|
619 | ### Bug Fixes
|
620 |
|
621 | * **host:** only initialize app after component has mounted ([737ff43](https://github.com/Shopify/app-bridge/commit/737ff43))
|
622 | * update paths in the test app to be relative to the app origin ([e5fd908](https://github.com/Shopify/app-bridge/commit/e5fd908))
|
623 |
|
624 |
|
625 | ### Features
|
626 |
|
627 | * **redirect:** add newContext to Redirect actions ([#425](https://github.com/Shopify/app-bridge/issues/425)) ([e8e9040](https://github.com/Shopify/app-bridge/commit/e8e9040))
|
628 |
|
629 |
|
630 |
|
631 |
|
632 | <a name="0.5.0"></a>
|
633 | # [0.5.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.4.3...@shopify/app-bridge@0.5.0) (2018-10-11)
|
634 |
|
635 |
|
636 | ### Features
|
637 |
|
638 | * **resource picker:** add cancel action ([8728614](https://github.com/Shopify/app-bridge/commit/8728614))
|
639 |
|
640 |
|
641 |
|
642 |
|
643 | <a name="0.4.3"></a>
|
644 | ## [0.4.3](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.4.1...@shopify/app-bridge@0.4.3) (2018-10-10)
|
645 |
|
646 |
|
647 | ### Bug Fixes
|
648 |
|
649 | * **resource picker:** correctly set local options ([89748bb](https://github.com/Shopify/app-bridge/commit/89748bb))
|
650 |
|
651 |
|
652 |
|
653 |
|
654 | <a name="0.4.2"></a>
|
655 | ## [0.4.2](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.4.1...@shopify/app-bridge@0.4.2) (2018-10-10)
|
656 |
|
657 |
|
658 | ### Bug Fixes
|
659 |
|
660 | * **resource picker:** correctly set local options ([89748bb](https://github.com/Shopify/app-bridge/commit/89748bb))
|
661 |
|
662 |
|
663 |
|
664 |
|
665 | <a name="0.4.1"></a>
|
666 | ## [0.4.1](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.4.0...@shopify/app-bridge@0.4.1) (2018-10-10)
|
667 |
|
668 |
|
669 | ### Bug Fixes
|
670 |
|
671 | * **resource picker:** add showVariants to payload ([f259358](https://github.com/Shopify/app-bridge/commit/f259358))
|
672 |
|
673 |
|
674 |
|
675 |
|
676 | <a name="0.4.0"></a>
|
677 | # [0.4.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.3.0...@shopify/app-bridge@0.4.0) (2018-10-09)
|
678 |
|
679 |
|
680 | ### Bug Fixes
|
681 |
|
682 | * fix CHANGELOG ([#412](https://github.com/Shopify/app-bridge/issues/412)) ([adbbd64](https://github.com/Shopify/app-bridge/commit/adbbd64))
|
683 |
|
684 |
|
685 | ### Features
|
686 |
|
687 | * **resource picker:** show variant option ([19e63b7](https://github.com/Shopify/app-bridge/commit/19e63b7))
|
688 |
|
689 |
|
690 |
|
691 |
|
692 | <a name="0.3.0"></a>
|
693 | ## [0.3.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.2.3...@shopify/app-bridge@0.3.0) (2018-10-02)
|
694 |
|
695 |
|
696 | ### Features
|
697 |
|
698 | * add icon to Button to support legacy app print action ([bada251](https://github.com/Shopify/app-bridge/commit/bada251))
|
699 |
|
700 |
|
701 |
|
702 |
|
703 | <a name="0.2.3"></a>
|
704 | ## [0.2.3](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.2.2...@shopify/app-bridge@0.2.3) (2018-09-26)
|
705 |
|
706 |
|
707 | ### Features
|
708 |
|
709 | * add detailed collection interface ([d0eefed](https://github.com/Shopify/app-bridge/commit/d0eefed))
|
710 |
|
711 |
|
712 |
|
713 |
|
714 | <a name="0.2.2"></a>
|
715 | ## [0.2.2](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.2.1...@shopify/app-bridge@0.2.2) (2018-09-26)
|
716 |
|
717 |
|
718 | ### Bug Fixes
|
719 |
|
720 | * allow linting of publish commits ([9cc6a00](https://github.com/Shopify/app-bridge/commit/9cc6a00))
|
721 | * enhance product picker playground ([c3f7a0d](https://github.com/Shopify/app-bridge/commit/c3f7a0d))
|
722 | * fix cart actions and tests ([#395](https://github.com/Shopify/app-bridge/issues/395)) ([d570be1](https://github.com/Shopify/app-bridge/commit/d570be1))
|
723 |
|
724 |
|
725 |
|
726 |
|
727 | <a name="0.2.1"></a>
|
728 | # [0.2.1](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.2.0...@shopify/app-bridge@0.2.1) (2018-09-26)
|
729 |
|
730 | ### Bug Fixes
|
731 |
|
732 | * publish script ([f4d7cb7](https://github.com/Shopify/app-bridge/commit/f4d7cb7))
|
733 |
|
734 |
|
735 | <a name="0.2.0"></a>
|
736 | # [0.2.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.1.5...@shopify/app-bridge@0.2.0) (2018-09-26)
|
737 |
|
738 |
|
739 | ### Bug Fixes
|
740 |
|
741 | * test cases ([a6a1597](https://github.com/Shopify/app-bridge/commit/a6a1597))
|
742 |
|
743 |
|
744 | ### Features
|
745 |
|
746 | * change POS cart actions to follow new dispatch pattern ([32a0c03](https://github.com/Shopify/app-bridge/commit/32a0c03))
|
747 | * add commitlint ([d3325cf](https://github.com/Shopify/app-bridge/commit/d3325cf))
|
748 |
|
749 |
|
750 |
|
751 |
|
752 | <a name="0.1.5"></a>
|
753 | ## [0.1.5](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.1.4...@shopify/app-bridge@0.1.5) (2018-09-21)
|
754 |
|
755 |
|
756 | ### Bug Fixes
|
757 |
|
758 | * Stop using alias to import client types to fix `actions` module ([09053f3](https://github.com/Shopify/app-bridge/commit/09053f3))
|
759 |
|
760 | -----
|
761 |
|
762 | ## [v0.1.4]
|
763 |
|
764 | ### Fixed
|
765 |
|
766 | * Stop using alias to import client types to fix `actions` module
|
767 |
|
768 | ### Added
|
769 |
|
770 | * Added docs and examples for breadcrumbs in the Title Bar
|
771 | * Added more detailed types for selected resources [ResourcePicker]
|
772 | * Added new discrete variant picker [ResourcePicker]
|
773 | * Added `initialQuery` to resource picker options [ResourcePicker]
|
774 |
|
775 | ### Changed
|
776 |
|
777 | * Ensure resource picker payload includes options [ResourcePicker]
|
778 |
|
779 | * Rename all instances of `TwoWay` to `ActionSet` to better clarify the difference between single actions and action sets.
|
780 | * Convert `Redirect`, `History` and `Loading` to actions sets for consistency with other actions groups
|
781 |
|
782 | ### Fixed
|
783 |
|
784 | * Fixed spelling for Flash option `isDismissible`
|
785 |
|
786 | ### Removed
|
787 |
|
788 | ## [v0.1.3]
|
789 |
|
790 | ### Added
|
791 |
|
792 | * Added ability to specify `SECRET` via environment variable
|
793 | * Added CODEOWNERS
|
794 | * Added Cart.updateById action
|
795 | * Export host API client load action
|
796 | * Export POS error actions
|
797 |
|
798 | ### Changed
|
799 |
|
800 | * Clean up READMEs
|
801 | * Introduce more functionality for secondary actions in test app
|
802 | * Ignore `TEST.md` et al for npm
|
803 |
|
804 | ### Fixed
|
805 |
|
806 | * Client now handles redirection correctly when `forceRedirect` is set
|
807 | * Fixed optional fields for cart payload
|
808 |
|
809 | ### Removed
|
810 |
|
811 | * Removed `start:prodShop` task
|
812 | * Removed docs referencing internal setup instructions
|
813 |
|
814 | ## [v0.1.1]
|
815 |
|
816 | ### Changed
|
817 |
|
818 | * Downgraded lerna to `2.9.1`
|
819 |
|
820 | ## [v0.1.0]
|
821 |
|
822 | ### Changed
|
823 |
|
824 | * Rename the package to `app-bridge`
|
825 |
|
826 | ### Fixed
|
827 |
|
828 | * Local dev EASDK Playground app install URL
|
829 |
|
830 | ## [v0.0.18]
|
831 |
|
832 | ### Changed
|
833 |
|
834 | * Use TravisCI instead of CircleCI
|
835 |
|
836 | ## [v0.0.17]
|
837 |
|
838 | ### Added
|
839 |
|
840 | * Perform validation for `apiKey` when an action is dispatched or when the app state is requested
|
841 | * Added client helpers `getUrlParams` and `getShopOrigin`
|
842 |
|
843 | ### Changed
|
844 |
|
845 | * Rename the `apiClientId` in the client config to `apiKey`
|
846 | * Remove dependency on Redux for `actions` and `client` modules
|
847 | * Export a union type for all available actions for each action group
|
848 | * The default export for the client module will now point to a method that automatically calls to create the transport between the app and the top window.
|
849 |
|
850 | _Old_
|
851 |
|
852 | ```js
|
853 | import createAppWrapper, {getShopOrigin} from '@shopify/easdk';
|
854 | const config = {apiKey: '123', shopOrigin: getShopOrigin()};
|
855 | const app = createAppWrapper(window.top)(config);
|
856 | ```
|
857 |
|
858 | _New_
|
859 |
|
860 | ```js
|
861 | import createApp, {getShopOrigin} from '@shopify/easdk';
|
862 | const config = {apiKey: '123', shopOrigin: getShopOrigin()};
|
863 | const app = createApp(config);
|
864 | ```
|
865 |
|
866 | ### Fixed
|
867 |
|
868 | * Correct `type` for Resource Picker's `UpdateAction` interface to `typeof ActionType.UPDATE` instead of `typeof ActionType.SELECT`
|
869 |
|
870 | ## [v0.0.16]
|
871 |
|
872 | ### Added
|
873 |
|
874 | * Make `APICLIENT::LOAD` a constant that Web can consume
|
875 | * Add apiClientId to ApiClientConfig in the host module
|
876 | * Handle app printing
|
877 |
|
878 | ### Changed
|
879 |
|
880 | * Simplify the fake host and delete unused apiClientLoad action
|
881 | * Make the fake host handle iframe urls consistent with how Web is handling them for embedded app and modals
|
882 |
|
883 | ### Fixed
|
884 |
|
885 | * Fix the Title Bar to not throw an error if both primary and secondary buttons are undefined
|
886 |
|
887 | ## [v0.0.15]
|
888 |
|
889 | ### Added
|
890 |
|
891 | * Add client id to `APICLIENT::LOAD` action
|
892 |
|
893 | ### Changed
|
894 |
|
895 | * Update the README for modals to reflect the expected `url` and `path` properties in the payload
|
896 | * Update the demo app to include a button to open a iframe modal with a relative path
|
897 | * Fix the webpack config so that the test modal page is nested under `app` like the other pages
|
898 | * Change type for `lineItem.price` and `discount.amount` from string to number
|
899 |
|
900 | ## [v0.0.14]
|
901 |
|
902 | ### Changed
|
903 |
|
904 | * Fixed MessageTransport for AppMessage when calling app.getState().
|
905 | * Changed update cart action from `APP::CART::UPDATED` to `APP::CART::UPDATE`.
|
906 |
|
907 | ## [v0.0.13]
|
908 |
|
909 | ### Changed
|
910 |
|
911 | * Added a fix for the `fromWindow` to not add a message handler if the contentWindow is the same as the current window.
|
912 | This prevents messages from being sent twice.
|
913 | * Correct the check for EASDK actions in `fromWindow`, previously it was assuming an incorrect shape for the data.
|
914 |
|
915 | ## [v0.0.12]
|
916 |
|
917 | ### Changed
|
918 |
|
919 | * Allow parent message transport to handle all messages that have a type of `dispatch` or `getState`
|
920 | * Modify `fromWindow` to accept an origin as a string
|
921 | * Correct the default export for easdk/client to resolve the `Cannot invoke an expression whose type lacks a call signature` error
|
922 | * Add Cart actions for POS.
|
923 | * Add example to get POS user and location from redux store in test app
|
924 |
|
925 | ## [v0.0.11]
|
926 |
|
927 | ### Changed
|
928 |
|
929 | * Changed ids in ResourcePicker selection payload from strings to numbers to maintain backwards compatibility with current JSON.
|
930 |
|
931 | ## [v0.0.10]
|
932 |
|
933 | ### Added
|
934 |
|
935 | * Client now handles redirection to web host if `forceRedirect` flag is set
|
936 | * Tests for ResourcePicker actions and validator.
|
937 |
|
938 | ### Changed
|
939 |
|
940 | * Add a new `path` option for iframe modals which accepts relative urls. Rename the `srcUrl` to `url` for consistency.
|
941 | Absolute urls for modals must be in the same origin as the app otherwise an error will be thrown.
|
942 |
|
943 | ## [v0.0.9]
|
944 |
|
945 | ### Added
|
946 |
|
947 | * `Resource Picker` actions are now available with [documentation](src/actions/ResourcePicker).
|
948 |
|
949 | ### Fixed
|
950 |
|
951 | * Remove default props for `Modal`, `Button` and `ButtonGroup` so that errors are thrown when invalid options are set.
|
952 |
|
953 | ## [v0.0.8]
|
954 |
|
955 | ### Changed
|
956 |
|
957 | * Change `app.dispatch` type to `Dispatch<AnyAction>`
|
958 |
|
959 | ## [v0.0.7]
|
960 |
|
961 | ### Added
|
962 |
|
963 | * shopify-express middleware to enable installing project as an embedded app locally
|
964 |
|
965 | ### Changed
|
966 |
|
967 | * Host is now required to pass in a reducer when calling buildMiddleware
|
968 | * withApp decorator now provides a store prop to the wrapped component
|
969 | * Make title property optional for `TitleBar` to be more consistent with the older `EASDK` implementation
|
970 | * Make `TitleBar` buttons validator reject empty and malformed objects
|
971 | * Shorten names of exported types for Actions to be more consistent and less verbose. Ex. `Button.ButtonOptions` is now `Button.Options`
|
972 | * Use the prefix `APP` for actions instead of `EASDK` to avoid conflicts with Shopify Web
|
973 | * Allow modal footer to accept a primary button and secondary buttons to be more aligned with Polaris modals
|
974 | * Pass arbitrary props from `Frame` to child `iframe`
|
975 |
|
976 | ### Fixed
|
977 |
|
978 | * Make custom `isModalMessage` type check return the correct `ModalMessage` type
|
979 |
|
980 | [unreleased]: https://github.com/shopify/easdk/compare/v0.1.4...HEAD
|
981 | [v0.1.4]: https://github.com/shopify/easdk/compare/v0.1.3...v0.1.4
|
982 | [v0.1.3]: https://github.com/shopify/easdk/compare/v0.1.1...v0.1.3
|
983 | [v0.1.1]: https://github.com/shopify/easdk/compare/v0.1.0...v0.1.1
|
984 | [v0.1.0]: https://github.com/shopify/easdk/compare/v0.0.18...v0.1.0
|
985 | [v0.0.18]: https://github.com/shopify/easdk/compare/v0.0.17...v0.0.18
|
986 | [v0.0.17]: https://github.com/shopify/easdk/compare/v0.0.16...v0.0.17
|
987 | [v0.0.16]: https://github.com/shopify/easdk/compare/v0.0.15...v0.0.16
|
988 | [v0.0.15]: https://github.com/shopify/easdk/compare/v0.0.14...v0.0.15
|
989 | [v0.0.14]: https://github.com/shopify/easdk/compare/v0.0.13...v0.0.14
|
990 | [v0.0.13]: https://github.com/shopify/easdk/compare/v0.0.12...v0.0.13
|
991 | [v0.0.12]: https://github.com/shopify/easdk/compare/v0.0.11...v0.0.12
|
992 | [v0.0.11]: https://github.com/shopify/easdk/compare/v0.0.10...v0.0.11
|
993 | [v0.0.10]: https://github.com/shopify/easdk/compare/v0.0.9...v0.0.10
|
994 | [v0.0.9]: https://github.com/shopify/easdk/compare/v0.0.8...v0.0.9
|
995 | [v0.0.8]: https://github.com/shopify/easdk/compare/v0.0.7...v0.0.8
|
996 | [v0.0.7]: https://github.com/shopify/easdk/compare/0f328b35a5a4ac06202e768e46a153c1df922593...v0.0.7
|