UNPKG

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