@forge/bridge 4.0.0-next.9 → 4.0.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 +23 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @forge/bridge
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- a27f856: Ensure locale returned from getContext() is in the correct format and confirms the Forge Supported Locale Codes.
|
|
8
|
+
|
|
9
|
+
Additionally, add new APIs for Forge i18n support.
|
|
10
|
+
|
|
11
|
+
- `i18n.getTranslations` - Add i18n.getTranslations api to fetch i18n resources from Forge apps
|
|
12
|
+
- `i18n.createTranslationFunction` - Creates a translation function (i.e. `t`) to support content translation for Forge apps
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 0c7960f: Add @forge/i18n dependency to bridge
|
|
17
|
+
- 27249cd: Make i18n fallback syntax confirm to industry convention. That is, `en-US: en-GB` indicate `en-GB` is fallback to `en-US`
|
|
18
|
+
- Updated dependencies [c74ca63]
|
|
19
|
+
- Updated dependencies [d51b7be]
|
|
20
|
+
- Updated dependencies [23f6675]
|
|
21
|
+
- Updated dependencies [c81fa57]
|
|
22
|
+
- Updated dependencies [27249cd]
|
|
23
|
+
- Updated dependencies [fdaaeab]
|
|
24
|
+
- @forge/i18n@0.0.1
|
|
25
|
+
|
|
3
26
|
## 4.0.0-next.9
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bridge",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Forge bridge API for custom UI apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@types/history": "^4.7.11",
|
|
17
|
-
"@forge/i18n": "0.0.1
|
|
17
|
+
"@forge/i18n": "0.0.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"history": "5.3.0",
|