UNPKG

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