UNPKG

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