Commit graph

375 commits

Author SHA1 Message Date
Krzysztof Żuraw
d7ccde30ee
feat: add getLayout to return type of withAuthorization (#82) 2022-10-13 09:22:49 +02:00
Krzysztof Wolski
e11b8f956b Release 0.14.1 2022-10-12 16:00:03 +02:00
Krzysztof Wolski
7d9688aa79
Release 0.14.0 (#81) 2022-10-12 15:54:56 +02:00
Lukasz Ostrowski
ed9c94299e
Add isReady and isConfigured docs to APL section (#80) 2022-10-12 15:16:36 +02:00
Krzysztof Wolski
bec148e696
Add Upstash APL (#78) 2022-10-12 15:13:57 +02:00
Krzysztof Wolski
be79af2d63
Add metadata manager (#73)
* Add metadata manager
2022-10-12 13:28:00 +02:00
Lukasz Ostrowski
dee16cea40 Release 0.13.2 2022-10-12 10:09:37 +02:00
Lukasz Ostrowski
bb0786a544
Fix checking APL configuration state (#79) 2022-10-12 10:08:32 +02:00
Lukasz Ostrowski
d81e61d3f6
Update apl.md (#77) 2022-10-11 19:12:46 +02:00
Lukasz Ostrowski
658e7f0a23 Release 0.13.1 2022-10-11 16:10:56 +02:00
Lukasz Ostrowski
aa4d55b83d
Disable token iss validation (#75)
* Disable token iss validation

* Disable VercelApl constructor validation
2022-10-11 16:09:29 +02:00
Lukasz Ostrowski
9dbb6cfceb Release 0.13.0 2022-10-11 09:41:35 +02:00
Lukasz Ostrowski
a839314f08
Add central SaleorApp instance (#71)
* Add SaleorApp class

* Add middleware and tests

* Move APL validation to APL

* Fix test

* Add prepush hook

* Add better error for missing vercel envs

* Add test
2022-10-11 09:40:08 +02:00
Lukasz Ostrowski
61f5ab6c3a Release 0.12.2 2022-10-10 11:59:38 +02:00
Lukasz Ostrowski
ff0e25f8dd
Fix importing graphQL printer which failed inferWebhooks (#72) 2022-10-10 11:56:23 +02:00
Lukasz Ostrowski
390143db17
Update api-handlers.md (#68) 2022-10-05 15:41:27 +02:00
Lukasz Ostrowski
13776c65c1 Release 0.12.1 2022-10-05 15:09:06 +02:00
Lukasz Ostrowski
1504036698
Fix export. Add async manifest factory (#67) 2022-10-05 15:07:07 +02:00
Lukasz Ostrowski
9b5ed6471d
Add doc about protected views (#66) 2022-10-05 14:56:22 +02:00
Lukasz Ostrowski
3730dbaa67 Release 0.12.0 2022-10-05 13:13:22 +02:00
Lukasz Ostrowski
864ca16f78
Auth features (#64)
* Add useDashboardToken to app bridge module

* Add authorization HOC

* Fixes
2022-10-05 13:12:19 +02:00
Lukasz Ostrowski
0352356fd3
Add Handler factories (#61)
* Add createManifestHandler

* Add register handler factory

* Add docs to handlers factory

* Improve tsup configuration (select entry points)

* Reexport symbols from index

* Improve tests
2022-09-21 11:25:01 +02:00
Lukasz Ostrowski
df504ecd29
Setup code coverage report to github action (#62) 2022-09-16 11:01:02 +02:00
Lukasz Ostrowski
117b1e6068 Release 0.11.0 2022-09-14 14:56:09 +02:00
Lukasz Ostrowski
126e949366
Detect locale param from URL in AppBridge (#58)
* Detect locale param from URL in AppBridge

* Add docs
2022-09-14 14:21:53 +02:00
Lukasz Ostrowski
910b50a18a Release 0.11.0-0 2022-09-13 15:20:09 +02:00
Lukasz Ostrowski
d4670b048c
Fix tests and strong-type locales (#57)
* Add new event type

* Add state handling for locale change

* Add strongly typed language codes

* fix tests
2022-09-13 15:15:52 +02:00
Lukasz Ostrowski
cc18c3deac
Add AppBridgeProvider and events factory (#51)
* Add events factory

* Add AppBridgeProvider

* Rewrite useAppBridge, add tests
2022-09-13 12:00:02 +02:00
Lukasz Ostrowski
ac6900f35f
Add support for locale change (#55)
* Add new event type

* Add state handling for locale change
2022-09-13 11:59:30 +02:00
Jakub Neander
aaab88b9ae
Update dependencies (#48)
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2022-09-12 14:58:47 +02:00
Krzysztof Wolski
70d3a17c7c Release 0.10.0 2022-09-12 11:32:06 +02:00
Krzysztof Wolski
fdff68802b Release 0.10.0-2 2022-09-07 17:35:24 +02:00
Krzysztof Wolski
a50b055c7c
Fix Vercel APL set method + add tests for it (#52)
* Fix Vercel APL set method + add tests for it
2022-09-07 17:33:48 +02:00
Lukasz Ostrowski
88119aa515
Merge pull request #50 from saleor/extra-test-and-debug
Add additional test and fix debug message
2022-09-06 16:06:37 +02:00
Lukasz Ostrowski
423495970b Add additional test and fix debug message 2022-09-06 16:02:24 +02:00
Krzysztof Wolski
3757f9abaa Release 0.10.0-1 2022-09-05 16:40:03 +02:00
Krzysztof Wolski
74e4df4bbe Add clean script 2022-09-05 16:38:57 +02:00
Krzysztof Wolski
ab4ba4c5c4 Fix paths to dist package 2022-09-05 16:27:14 +02:00
Krzysztof Wolski
1ae448e0f9 Update release path 2022-09-05 15:11:18 +02:00
Lukasz Ostrowski
e2d4f02c5b
Merge pull request #47 from saleor/lkostrowski-patch-1
Update AppBridge readme
2022-09-05 14:34:42 +02:00
Lukasz Ostrowski
cac668adb2
Update app-bridge.md 2022-09-05 14:03:45 +02:00
Krzysztof Wolski
3651797c10 Release 0.10.0-0 2022-09-05 13:07:31 +02:00
Krzysztof Wolski
c3dece633f Ignore vscode workspace settings 2022-09-05 13:05:36 +02:00
Krzysztof Wolski
cbaa2335b4
Merge pull request #35 from saleor/env-var-apl
Introduce new APLs: fileAPL and vercelAPL
2022-09-05 11:46:48 +02:00
Krzysztof Wolski
027b239114 Use APL debug util 2022-09-05 11:09:06 +02:00
Krzysztof Wolski
668b96ac4c Update names to kebab case 2022-09-05 10:31:31 +02:00
Krzysztof Wolski
2fc57718a6 Code review changes 2022-09-05 10:18:12 +02:00
Krzysztof Wolski
01cd1dc525 Update APL documentation 2022-09-05 10:18:12 +02:00
Krzysztof Wolski
3b81151cca Rename helper function 2022-09-05 10:18:12 +02:00
Krzysztof Wolski
ace6efbdba Change default file name for FileAPL 2022-09-05 10:18:12 +02:00