@atlaskit/embedded-confluence 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -11
- package/dist/embedded-confluence-bundle.js +3 -3
- package/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +0 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/embedded-confluence
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
8
|
+
|
|
9
|
+
## 2.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`a1691c43c75`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a1691c43c75) - Add a new prop for navigationPolicy to include A list of domain names that should be replaced with the current base URL for EP before applying any URL shimming.
|
|
14
|
+
|
|
3
15
|
## 2.0.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -10,23 +22,24 @@
|
|
|
10
22
|
|
|
11
23
|
### Major Changes
|
|
12
24
|
|
|
13
|
-
- [`2f6fdbc8560`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f6fdbc8560) -
|
|
25
|
+
- [`2f6fdbc8560`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f6fdbc8560) - Login Flow for cross-domain parent products
|
|
14
26
|
|
|
15
|
-
|
|
16
|
-
Embedded Pages now allow users to authenticate within it and also request for its first-party storage.
|
|
27
|
+
### Enabling the Login/Authentication flow for EP:
|
|
17
28
|
|
|
18
|
-
|
|
29
|
+
1. **What's changed:**
|
|
19
30
|
|
|
20
|
-
|
|
31
|
+
- Embedded Pages now allow users to authenticate within it and also request for its first-party storage.
|
|
32
|
+
- Embedded Pages is using `Document.hasStorageAccess()` to check if it has access to its first-party storage and it will prompt users to `“Allow”` access by calling `Document.requestStorageAccess()`. Depending on the user agent implementation, the user agent might show user prompts (More details can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API)).
|
|
21
33
|
- Once the first-party storage access is granted, users can login or sign up. The Login/Sign Up page is opened in a new window which will take users through the Login/Sign up flow.
|
|
22
34
|
|
|
23
|
-
|
|
24
|
-
|
|
35
|
+
2. **Why it's changed:**
|
|
36
|
+
|
|
37
|
+
- With the Login flow the end user is taken through an authentication process within EP which doesn't require them to navigate out of the parent products to Login to Confluence. This also mitigates the problem of having to enable 3rd party cookies in the browser settings before loading EP for a cross-domain context (3rd party parent products).
|
|
25
38
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
39
|
+
3. **Upgrade guide:**
|
|
40
|
+
- Partner products that have subscribed to `"Unable to display page content"` `taskAbort` event to display their own login page should also subscribe to the `embedded-confluence/login-page` `taskStart` experience tracker event.
|
|
41
|
+
- No upgrade changes required for partner products that have not subscribed to `"Unable to display page content"` `taskAbort`.
|
|
42
|
+
- For partner products who wish to display their own authentication flow, please subscribe to `embedded-confluence/login-page` `taskStart` and `"Unable to display page content"` `taskAbort` event (Refer the [Atlaskit documentation](https://atlaskit.atlassian.com/packages/confluence/embedded-confluence-public/docs/Experience-Tracker) for more information on these events).
|
|
30
43
|
|
|
31
44
|
## 1.9.0
|
|
32
45
|
|